Re: Polling a Clock
Re: Polling a Clock
- Subject: Re: Polling a Clock
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 12 May 2010 22:51:58 +0200
Le 12 mai 2010 à 21:30, Maximilian Marcoll a écrit :
> Hi Jeff, hi all!
>
> Thank you very much for your response!
>
> Indeed, I didn't make it clear why I think I need to do this:
> I'm writing an audio sequencer, with lots of sound-objects (events) to be played at specific points in time.
> Currently, events are placed on a millisecond-grid.
> When playing the sequence of events, I need to trigger them (actually that is: play them) at their respective start time, which is given with millisecond precision.
> I thought a CAClock would be the best choice for such an undertaking.
> But maybe there is some other mechanism for playing back audio-samples at specific time-points?
>
Have you consider using a AUScheduledSoundPlayer Audio Unit.
It is well documented, but only in the AudioUnit/AudioUnitProperties.h header file.
“The AUScheduledSoundPlayer audio unit lets a client schedule audio buffers for future playback, with sample-accurate timing.”
-- Jean-Daniel
> Thank you!
>
> Max
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden