JackSharp
JackSharp copied to clipboard
MIDI-In not working correctly.
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).
Works on my system(TM). Still trying to reproduce the error.