• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: playing audio files separated by specified time intervals
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:39:15 +0100

On second thought, even if your RenderProc is running in another
thread, NSNotificationCenter should be the class to use (no need for
distributed notifications).

--th

2008/12/22 tahome izwah <email@hidden>:
> 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

References: 
 >playing audio files separated by specified time intervals (From: Maissam Barkeshli <email@hidden>)
 >Re: playing audio files separated by specified time intervals (From: Brian Willoughby <email@hidden>)
 >Re: playing audio files separated by specified time intervals (From: Maissam Barkeshli <email@hidden>)
 >Re: playing audio files separated by specified time intervals (From: Brian Willoughby <email@hidden>)
 >Re: playing audio files separated by specified time intervals (From: "tahome izwah" <email@hidden>)

  • Prev by Date: Re: playing audio files separated by specified time intervals
  • Next by Date: Re: 10.5.6: Aggregate Device Anomalies
  • Previous by thread: Re: playing audio files separated by specified time intervals
  • Next by thread: custom midi sounds
  • Index(es):
    • Date
    • Thread