Open rafagan opened 2 years ago
I think there's something related with MIDIInputPortCreate
. This code works well and it uses MIDIInputPortCreateWithProtocol
with MIDIProtocolID._1_0
.
The function MIDIInputPortCreate is deprecated:
https://developer.apple.com/documentation/coremidi/1495225-midiinputportcreate
Hi, haven't used this project in a really long time, but I will take a look at this today
Ah, I get it. The way my MIDIPacket parser thing works, it is only capable of parsing one message.
https://github.com/dclelland/Gong/blob/master/Sources/Gong/Core/MIDIPacket.swift#L246
Looking at moving everything over to the new methods (MIDIEventPacket et. al.)
Working on this on a branch.
@dclelland Hi! I got the same issue. Is this already fixed in update branch?
@dclelland Hi! I got the same issue. Is this already fixed in update branch?
Eh, I'm pretty busy these days, I'd say it's unlikely I am going to do this
When I press two keyboard keys at the same time, the
receive(_ packet: MIDIPacket, from source: MIDISource)
is called once for.noteOn
, and the same behavior not happen with.noteOff
forpacket.message
.Any help?