• 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: .mid files through CoreMidi
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .mid files through CoreMidi


  • Subject: Re: .mid files through CoreMidi
  • From: phil c <email@hidden>
  • Date: Wed, 23 Jul 2003 13:49:47 -0700

On Wednesday, July 23, 2003, at 01:19 PM, Roy Lovejoy wrote:

Hiya Audio People-

I'm looking for some sample code that takes a '.mid' file contents and pumps it through a MIDIEndpointRef.

A few questions regarding my efforts to do this myself:
Is it up to me to populate the MIDIPackets?

yes.. as you parse the midi file.

Do I slice & dice the .mid file up into command chunklettes, and timestamp them?

yes. see the coreMIDI docs for the rules regarding how packets are made.

Do I do some funky thing with the packet timestamps in relationship to the .mid file timestamps,
or are _those_ timestamps sufficient?

you'll have to resolve the timestamps in the midi file to the system clix.


Or, is there a nice CoreMIDI API somewhere that takes in raw midi data, and parses them into MIDIPackets?


ha!

_______________________________________________
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.
_______________________________________________
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: 
 >.mid files through CoreMidi (From: Roy Lovejoy <email@hidden>)

  • Prev by Date: .mid files through CoreMidi
  • Next by Date: SUPPORT_AU_VERSION_1
  • Previous by thread: .mid files through CoreMidi
  • Next by thread: Re: .mid files through CoreMidi
  • Index(es):
    • Date
    • Thread