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? -DSOn Sep 27, 2013, at 1:10 PM, Pat Garner <email@hidden> wrote: 1) Yes2) Yes3) 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 Follow-Ups: Re: Looping audio latency From: Pat Garner <email@hidden> References: >Looping audio latency (From: Pat Garner <email@hidden>) >Re: Looping audio latency (From: Douglas Scott <email@hidden>) >Re: Looping audio latency (From: Pat Garner <email@hidden>) >Re: Looping audio latency (From: Douglas Scott <email@hidden>) >Re: Looping audio latency (From: Pat Garner <email@hidden>) Prev by Date: Re: Looping audio latency Next by Date: Re: Looping audio latency Previous by thread: Re: Looping audio latency Next by thread: Re: Looping audio latency Index(es): Date Thread
"DefaultOutput" does not know anything about either audio files or looping, so there must be something else involved? -DSOn Sep 27, 2013, at 1:10 PM, Pat Garner <email@hidden> wrote: 1) Yes2) Yes3) 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
1) Yes2) Yes3) 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
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