• 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
Re: Stuck MIDI notes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stuck MIDI notes


  • Subject: Re: Stuck MIDI notes
  • From: Kurt Revis <email@hidden>
  • Date: Thu, 31 Oct 2002 18:10:44 -0800

On Thursday, October 31, 2002, at 03:42 PM, Herbie Robinson wrote:

(Unless CoreMIDI rewrites MIDI data to move realtime messages out of other messages... but that's pretty unlikely. I sure don't think it did when I wrote my parser more than a year ago.)

Providers of messages (drivers, etc) are required to create packets with no intermingling.

Is this documented someplace? I haven't seen this requirement before.

The comment for MIDIPacket in MIDIServices.h says "the MIDI messages in the packet must always be complete, except for system-exclusive", but that doesn't rule out one-byte realtime messages in the middle of other messages. To me "complete" means "all the bytes are present".

I agree that this should be an unlikely case, but I'd rather be robust when dealing with other people's code, which may not pay attention to details like this.

--
Kurt Revis
email@hidden
_______________________________________________
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.

References: 
 >Re: Stuck MIDI notes (From: Herbie Robinson <email@hidden>)

  • Prev by Date: Re: [Q] - QuickTime Music Synthesizer
  • Next by Date: Re: [Q] - QuickTime Music Synthesizer
  • Previous by thread: Re: Stuck MIDI notes
  • Next by thread: Re: Stuck MIDI notes
  • Index(es):
    • Date
    • Thread