Re: MusicTracks and userData Event Types
Re: MusicTracks and userData Event Types
- Subject: Re: MusicTracks and userData Event Types
- From: William Stewart <email@hidden>
- Date: Mon, 1 Dec 2003 16:52:35 -0800
With 10.3 (or QuickTime 6.4 on Jaguar), you can associate a callback
with a music sequence that will be called by the sequence object when
it is being played for *any* User Data event in your sequence. In the
callback you get timing information (ie. what time is it as far as the
sequence's time base of beats is concerned), as it is being scheduled.
From that callback you can use whatever data you put into the user data
event to determine how you should react to this scheduled event. For
more details see MusicPlayer.h in the AudioToolbox framework
Bill
On 23/11/2003, at 8:52 PM, joel pigdon wrote:
I am creating a sequencer using CoreAudio and
CoreMIDI. I like the idea of using the Music Player,
MusicTrack APIS however as far as I can see to
actually get the events out of the MusicTrack you need
to have an Audio Unit or a MIDI endpoint. I wish to
use the Music Track User Data event to play samples
and such but cannot find anyway to handle the userData
type. I will use a MIDI Endpoint but I dont think the
MIDI endpoint supports the userData Type.
Please e-mail me or post any ideas,
Thanks
Joel Pigdon
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.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.
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.