开发者

Reading a MIDI file without going byte by byte

开发者 https://www.devze.com 2023-02-19 23:34 出处:网络
I need to read simple multi-track MIDI files using C#/F#. I began writing a binary reader, but it seems to be an overki开发者_高级运维ll for this purpose. I tried several things I\'ve found on Google,

I need to read simple multi-track MIDI files using C#/F#. I began writing a binary reader, but it seems to be an overki开发者_高级运维ll for this purpose. I tried several things I've found on Google, none worked (each with its own problem). The files are really simple (Bach's chorales - only chords, nothing fast, always 4 instruments).

Thanks!


NAudio can read and write MIDI files. I'm not sure what your problem was. Have a look at MIDI file mapper as an example of a project using NAudio to map drum beats.

0

精彩评论

暂无评论...
验证码 换一张
取 消