Re: MIDI packet processing
Re: MIDI packet processing
- Subject: Re: MIDI packet processing
- From: "X. J. Scott" <email@hidden>
- Date: Mon, 13 Sep 2004 17:12:37 -0400
>> For example, if I slide my finger from one held key across to another
>> key, the accompanying MIDI data might be a note off, a note on, and an
>> updated channel pressure. Should those each be their own call to
>> MIDIPacketListAdd or can they be combined?
>
> I think they can be combined since there is one time associated with them,
> HOWEVER you may not want to do this since they can theoretically get reordered
> by the MIDI driver if they happen at the same time and you may want to prevent
> the note-on from being sent before the note-on in order to avoid special
> legato processing on the synth. Better to have the note on sent a tick or two
> later.
Actually, I think and hope I am wrong on this one since I never parse
MIDIPackets to have more than one MIDI event and if they do I'm just tossing
out info. I assume one event per packet, multiple events per PacketList.
Multiple events per Packet is probably asking for trouble. Try it and see
what happens though and let us know. Myself, I only even put one event per
packet.
- Jeff
_______________________________________________
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