Re: MusicSequence problems
Re: MusicSequence problems
- Subject: Re: MusicSequence problems
- From: Chris Rogers <email@hidden>
- Date: Wed, 3 Jul 2002 11:27:43 -0700
There were a number of problems with the MusicSequence APIs as shipped
in Mac OS 10.1. All known problems have been fixed and will be available
in our 10.2 (Jaguar) release. Sorry for the inconvenience in the meantime.
Please give it another try when you get your hands on 10.2.
Chris Rogers
Core Audio Engineer
Apple Computer
I've started playing with the MusicSequence APIs and am running into
some problems.
I'm trying to load up a MIDI file and then play it through a MIDI endpoint.
The code looks like this:
MIDIEndpointRef endpoint = ...; // Code to get my MIDI
destination in here
MusicPlayer player;
MusicSequence sequence;
NewMusicPlayer (&player);
NewMusicSequence (&sequence);
MusicPlayerSetSequence (player, sequence);
MusicSequenceLoadSMF (sequence, &fileSpec); // fileSpec,
of course, points to my MIDI file
MusicSequenceSetMIDIEndpoint (sequence, endpoint);
MusicPlayerStart (player);
That all works well, except that only the first 18 MIDI events show
up at my endpoint! This happens whether I point the endpoint at my
soft synth (SimpleSynth) or at MIDI Monitor.
If I remove the MusicSequenceSetMIDIEndpoint line, everything plays just fine.
Is there something obvious that I'm missing, or is this an Apple bug?
Pete Yandell
http://pete.yandell.com/
_______________________________________________
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.