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

Is there a way to emulate a MIDI controller that can be detected by NAudio?

Nov 30, 2009 at 9:23 PM

I'm trying to use NAudio to respond to events from a MIDI hardware controller. However, I do not actually have a physical controller yet. Is there some way to emulate a controller through software in a way that NAudio will see the software controller as a hardware device?

I tried installing the virtual keyboard controller ViMidi and routed it to an input of Midi Yoke. I was able to view my input into ViMidi through Midi-Ox, but NAudio.Midi.MidiIn.NumberOfDevices still returned 0.

 

 

Dec 11, 2009 at 4:52 PM

if NumberOfDevices returns 0, then there is not much you can do. What are you actually doing with the MIDI events once you receive them though? Is there any need for them to come through the MIDI in APIs?