This project has moved and is read-only. For the latest updates, please go here.

MIDI IN only works the first time

Jan 25, 2011 at 5:57 PM

Whenever I use an NAudio.Midi.MidiIn object, it works perfectly the first time. However, after terminating the program I need to restart my computer to get it to work again. Other programs that support Midi In still work normally. It seems like I don't dispose of the objects correctly, but I don't see how I can do better than calling MidiIn.Stop() and MidiIn.Dispose(). Any ideas?

Jan 26, 2011 at 9:24 AM

that's strange. Is the app definitely terminated (checked in process explorer?).

also, what OS and MIDI card drivers do you have. Years ago I used to have the same issue whenever Cakewalk crashed my MIDI would be unusable until a reboot of the system