Questions on data in MIDIPackets
Questions on data in MIDIPackets
- Subject: Questions on data in MIDIPackets
- From: Pete Yandell <email@hidden>
- Date: Sat, 9 Feb 2002 23:27:58 +1100
OK, I'm getting down inside MIDI data as it passes through my code, and
I've got a couple of questions which the docs don't seem to answer
clearly. (My favourite line in the docs so far: "The MIDIPacket
contains one or more simultaneous MIDI events. The exception is a
system-exclusive events." :-)
1. Can I assume that an event will never be spread across multiple
MIDIPackets? Or, putting it the other way around, will I ever get an
event that has a status byte in one packet and some or all of its data
in the following packet? If not, what happens with really big SysEx
dumps and the like?
2. Given that all the data in a single MIDIPacket is supposedly
"simultaneous", does the positioning of real-time events (status codes
0xf8 through 0xff) within the packet matter? Specifically, if a
real-time event occurs within the data of a normal MIDI event, would it
make any difference if the real-time event got moved to elsewhere in the
packet (presuming, of course, that multiple real-time events in the
packet would be kept in order)?
Cheers,
Pete Yandell
http://pete.yandell.com/
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.