1
0
Fork
You've already forked JackSharp
0

MIDI-In not working correctly. #1

Open
opened 2016年11月09日 00:19:25 +01:00 by Residuum · 1 comment

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

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).
Author
Owner
Copy link

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

Works on my system(TM). Still trying to reproduce the error.
Sign in to join this conversation.
No Branch/Tag specified
master
dotnetcore
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Residuum/JackSharp#1
Reference in a new issue
Residuum/JackSharp
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?