Re: playing audio files separated by specified time intervals
Re: playing audio files separated by specified time intervals
- Subject: Re: playing audio files separated by specified time intervals
- From: "tahome izwah" <email@hidden>
- Date: Mon, 22 Dec 2008 21:32:20 +0100
You need to communicate the beat to your UI. You could either do this
via a global variable (= dirty, but may be ok in your app if it's
small and readable, or just a homework problem) or through some other
means, like the NSDistributedNotificationCenter.
See the documentation on NSDistributedNotificationCenter for more details.
--th
>> <Metronome.zip>
> So for getting the display to be in-sync with the audio, at least somewhat accurately, how can I check the output
> device's clock? Is there some method to do that?
> thanks again guys, this is very helpful for me,
> Maissam
2007/12/22 Maissam Barkeshli <email@hidden>:
> thanks th, this really helpful.
>
> On Dec 22, 2008, at 6:55 AM, tahome izwah wrote:
>
>> They don't allow this to be posted to the list, I hope it's ok to
>> email it to you.
>>
>> --th
>>
>>
>> ---------- Forwarded message ----------
>> From: tahome izwah <email@hidden>
>> Date: 2008/12/22
>> Subject: Re: playing audio files separated by specified time intervals
>> To: email@hidden
>>
>>
>> Hi Maissam,
>>
>> I had a few minutes to wait for a PT session to be exported (I
>> *really* hate the fact that this program can't export faster than
>> realtime). Anyway, here's a quick hack that should get you started
>> (it's only a few kB so I am attaching it). It doesn't have any visual
>> feedback but that is real easy to add.
>>
>> Cheers,
>> --th
>> <Metronome.zip>
>
>
_______________________________________________
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