JackSharp icon indicating copy to clipboard operation
JackSharp copied to clipboard

MIDI-In not working correctly.

Open residuum opened this issue 9 years ago • 1 comments

Bug reported via email:

Hi,

is MIDI-in working with JackSharp? I'm trying to just receive MIDI from my controller. I receive events, but they don't contain any data. Here is what I do:

 foreach (MidiEventCollection<MidiInEvent> eventCollection in items.MidiIn)
 {
     foreach (MidiInEvent midiEvent in eventCollection)
     {
         if (midiEvent.MidiData.Length > 0)
         {
             Console.WriteLine ("Hurray!");
         }
         Console.WriteLine( BitConverter.ToString (midiEvent.MidiData) );
     }
 }

midiEvent.MidiData is always empty (and 0 bytes long).

residuum avatar Nov 08 '16 23:11 residuum

Works on my system(TM). Still trying to reproduce the error.

residuum avatar Nov 11 '16 00:11 residuum