Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: exception {"NoDriver calling midiOutShortMsg"}

$
0
0

Hello, I discover a problem today, I sending midi trough MIDI loopbe1 free apzz, a virtual wire.  Have this error:


NAudio.MmException was unhandled
  HResult=-2146233088
  Message=NoDriver calling midiOutShortMsg
  Source=NAudio
  StackTrace:
       at NAudio.MmException.Try(MmResult result, String function)
       at NAudio.Midi.MidiOut.Send(Int32 message)

This happen only when I run my code, and then lock windows , after unlock MS windows when  send MIDI NOTES, this error happen, but no if send CC, only with MIDI NOTES, I repeat not when send midi CC.
Hoppe can help to me Mark, 100% stuck on this, if window sis locked when my software is running then when unlock the software cash due that NAudio.MmException.

midiOut.Send(

MidiMessage.StartNote(1, 127, 1).RawData);


Why this happen after lock windows and unlock windows?

Some idea?

 


Viewing all articles
Browse latest Browse all 5831

Latest Images

Trending Articles



Latest Images