Best way to play MIDI sounds using C#

后端 未结 11 735
后悔当初
后悔当初 2020-12-09 10:03

I\'m trying to rebuild an old metronome application that was originally written using MFC in C++ to be written in .NET using C#. One o

11条回答
  •  一个人的身影
    2020-12-09 10:23

    I'm working on a C# MIDI application at the moment, and the others are right - you need to use p/invoke for this. I'm rolling my own as that seemed more appropriate for the application (I only need a small subset of MIDI functionality), but for your purposes the C# MIDI Toolkit might be a better fit. It is at least the best .NET MIDI library I found, and I searched extensively before starting the project.

提交回复
热议问题