• 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: Where did my event, part I
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where did my event, part I


  • Subject: Re: Where did my event, part I
  • From: Doug Wyatt <email@hidden>
  • Date: Mon, 12 Sep 2005 17:11:58 -0700

On Sep 12, 2005, at 17:00, Tom White wrote:
Doug said:

MusicPlayer's user events don't get written or read from MIDI Files.

You can however use a sequencer-specific meta event:

FF 7F <var-len> <data>

By convention the first four bytes of the event's data should be a
"unique" identifier for your app.

There's more to this than "convention". The SMF Specification says "the first byte (or bytes) of data is a manufacturers ID (these are one byte, or if the first byte is 00, three bytes)". Such an ID can be obtained from the MMA (www.midi.org). I assume the "4th" byte Doug refers to is either the customary <device_ID> byte, or else maybe a manufacturer <model id>, but Doug would know best <g>.

Tom: Thanks for the correction, I was relying on (either ancient and outdating or imaginary) memory instead of the spec.


(My recollection was that it was a 4-character Macintosh creator code ... but of course an MMA manufacturer code is more appropriate here.)

Doug

--
Doug Wyatt
Core Audio, Apple

_______________________________________________
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


References: 
 >RE: Where did my event, part I (From: "Tom White" <email@hidden>)

  • Prev by Date: Re: AudioFileComponents
  • Next by Date: Re: Where did my event, part I
  • Previous by thread: RE: Where did my event, part I
  • Next by thread: Where did my event, part III
  • Index(es):
    • Date
    • Thread