Re: .mid files through CoreMidi
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.