• 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: Looping audio latency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looping audio latency


  • Subject: Re: Looping audio latency
  • From: Pat Garner <email@hidden>
  • Date: Fri, 27 Sep 2013 15:39:46 -0700 (PDT)

I'm using a synchronous call to retrieve the audio data.  I'll check on 1) when I get back home.  Thanks so much for the assistance thus far!

-Pat


On Fri, 27 Sep 2013 14:46:07 -0700, Douglas Scott wrote:

Are you using synchronous or asynchronous calls on the ExtAudioFile object?  If the latter, that is why you are not getting sample-accuracy.  You will need to verify that 1) your callback is expecting sample numbers X through Y and that your call to read the audio from the file is returning the identical range.

Just a guess.

-DS

On Sep 27, 2013, at 1:58 PM, Pat Garner <email@hidden> wrote:

I'm loading the audio from an ExtAudioFile in the render callback for the AU.  Looping is accomplished by seeking the beginning of the file when the end has been reached in that callback.

- Pat


On Fri, Sep 27, 2013 at 1:50 PM, Douglas Scott <email@hidden> wrote:
"DefaultOutput" does not know anything about either audio files or looping, so there must be something else involved?

-DS

On Sep 27, 2013, at 1:10 PM, Pat Garner <email@hidden> wrote:

1) Yes
2) Yes
3) DefaultOutput 

- Pat


On Fri, Sep 27, 2013 at 12:26 PM, Douglas Scott <email@hidden> wrote:
1) Are the file lengths exactly 2 to 1, sample-count-wise?
2) Do the two files have the same sampling rate?
3) What AU are you using to loop them?

On Sep 27, 2013, at 10:16 AM, Pat Garner <email@hidden> wrote:

> Hi everyone,
>
> I'm writing a sample looping application using AudioUnits that loops multiple samples simultaneously and I've run into a little problem.
>
> When I loop two samples together, one of 4 seconds duration and one of 2 seconds duration, they they drift out of phase upon each subsequent loop. It works fine when I am looping samples of the same duration.
>
> I've tried multiple things to fix it, but so far to no avail as I'm think I'm too much of a novice at this point to know what to change to solve the issue.
>
> Does anyone have any advice on how I might resolve this issue?
>
> Thanks in advance!
>
> - Pat
> _______________________________________________
> 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

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)

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


 _______________________________________________
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: 
 >Re: Looping audio latency (From: Douglas Scott <email@hidden>)

  • Prev by Date: Re: Looping audio latency
  • Previous by thread: Re: Looping audio latency
  • Index(es):
    • Date
    • Thread