Skip to content
This repository was archived by the owner on Nov 18, 2023. It is now read-only.
This repository was archived by the owner on Nov 18, 2023. It is now read-only.

MIDI-In not working correctly. #1

@residuum

Description

@residuum

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions