Re: .mid files through CoreMidi
Re: .mid files through CoreMidi
- Subject: Re: .mid files through CoreMidi
- From: Zico Kolter <email@hidden>
- Date: Wed, 23 Jul 2003 17:46:23 -0400
Will the MusicPlayer APIs do what you need for this? I've just used them a
little bit (and been playing to a MusicDevice rather than a MIDIEndpoint),
but the routines seem to be there for sending the data to an endpoint, and
it's certainly a lot simpler than writing your own MIDI file parser.
Zico
On Wednesday 23 July 2003 4: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?
>
Do I slice & dice the .mid file up into command chunklettes, and
>
timestamp them?
>
Do I do some funky thing with the packet timestamps in relationship to
>
the .mid file timestamps,
>
or are _those_ timestamps sufficient?
>
>
Or, is there a nice CoreMIDI API somewhere that takes in raw midi data,
>
and parses them into MIDIPackets?
_______________________________________________
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.