• 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: RemoteIO AU callback interval can not be changed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RemoteIO AU callback interval can not be changed?


  • Subject: Re: RemoteIO AU callback interval can not be changed?
  • From: Gregory Wieber <email@hidden>
  • Date: Mon, 16 Aug 2010 12:50:15 -0700

Could I use the AudioInputQueue concurrently with an AUGraph?  

My goal is to count time / send obj-c messages at an interval of 16 ticks per 'beat', at a sample rate of 44100.  So,  at 60 beats per minute,  that would mean 1 beat = 1 second,  and one 'tick' of my clock = 1 second divided by 16.  

At the moment I'm putting my counting code into the render callback of a multichannel mixer ( a hack, I realize).  I'm going to look into AudioInputQueue like you suggest.  


Thanks

On Mon, Aug 16, 2010 at 12:39 PM, William Stewart <email@hidden> wrote:
So, this is not the way to do this.

If you need a particular I/O cycle size, then you MUST use the AudioSession property.

MaxFrames has no affect.


If you are wanting to get buffers of a particular duration and have no need to do low-latency I/O processing, then I would use an AudioInputQueue and create buffers of the duration that you would like to operate at.

Perhaps a short description of the basic parameters of your objectives would help...

Bill

On Aug 11, 2010, at 10:14 AM, Gregory Wieber wrote:

> I have a similar question related to counting samples (for a metronome) that was addressed here a while ago.it was suggested that a metronome could be implemented by counting samples using the time stamp in a render callback. However, the render callback deals with chunks of frames (let's say 512). So, this doesn't seem like the right approach.  If I'm dealing with a sample rate of 44100, where should I be sticking my sample counting code?
>
> _______________________________________________
> 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


 _______________________________________________
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

  • Follow-Ups:
    • Re: RemoteIO AU callback interval can not be changed?
      • From: William Stewart <email@hidden>
References: 
 >Re: RemoteIO AU callback interval can not be changed? (From: email@hidden)
 >Re: RemoteIO AU callback interval can not be changed? (From: Gregory Wieber <email@hidden>)
 >Re: RemoteIO AU callback interval can not be changed? (From: William Stewart <email@hidden>)

  • Prev by Date: Re: RemoteIO AU callback interval can not be changed?
  • Next by Date: Re: MP3 decoder bug on iPod touch 2G
  • Previous by thread: Re: RemoteIO AU callback interval can not be changed?
  • Next by thread: Re: RemoteIO AU callback interval can not be changed?
  • Index(es):
    • Date
    • Thread