Re: MIDIPacketList numPackets Question
Re: MIDIPacketList numPackets Question
- Subject: Re: MIDIPacketList numPackets Question
- From: Thomas Strathmann <email@hidden>
- Date: Wed, 19 May 2010 14:06:48 +0200
Am 5/19/10 05:12 , schrieb Justin Phillips:
In my callback function (MIDIReadProc used in a call to
MIDIInputPortCreate) I print out how many packets long the list is (the
numPackets field). It is never greater than 1 packet long. Is this a
problem with my controller? I have no idea how to handle chords
otherwise... Any help is greatly appreciated.
Usually in MIDI applications you have to maintain a buffer of incoming
notes which have not yet received a corresponding Note off event (some
note number with velocity 0). The contents of this buffer being your
chord in this particular instance.
Thomas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden