• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Questions on data in MIDIPackets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Questions on data in MIDIPackets
      • From: Herbie Robinson <email@hidden>
    • Re: Questions on data in MIDIPackets
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Re: issues with MIDI driver on dual-cpu machines ?
  • Next by Date: Re: Questions on data in MIDIPackets
  • Previous by thread: Re: MIDI read proc and screen update
  • Next by thread: Re: Questions on data in MIDIPackets
  • Index(es):
    • Date
    • Thread