Re: AUTimePitch
Re: AUTimePitch
- Subject: Re: AUTimePitch
- From: William Stewart <email@hidden>
- Date: Fri, 13 Jun 2008 19:30:25 -0700
You have to take into account the latency (which accumulates from
effect to effect)...
Lets say you have two effects - effect 1 has 1024 samples of latency,
effect 2 has 2048 samples. If these two effects are in series (the
output of effect 1 is the input of effect 2), then it will take 3072
samples for an input sample at effect 1 to get through to the output
of effect 2.
So, yes, you have to adjust for this, particularly as some processing
will introduce a significant amount of latency.
Bill
On Jun 10, 2008, at 1:28 PM, Ashley Allen wrote:
Hi,
I have an AUGraph with a stereo mixer connected to 1 or more
subgraphs as follows: StereoMixer->[Effects Chain]->AUFilePlayer.
An AUFilePlayer plays back sampled regions at scheduled times.
Everything plays back perfectly when no effects sit between the
AUFilePlayer and the StereoMixer. Regardless of how man samples, the
AuFilePlayer units play in time. When I add an AUTimePitch unit to
synchronize different samples with different beats per minute the
timing is off. I believe the AUTimePitch unit is working correctly,
but I think the processing delay introduced by the unit is throwing
things off which leads me to my question. Should I pre-process
samples that have different beats per minute to normalize my samples
and then program the AUFilePlayer units? Or, should I expect that I
can synchronize samples on the fly by programming an AUTimePitch
unit, determining the latency it introduces to the chain, and adding
that latency to the start-time of other AUFilePlayer units in other
sub graphs connected to the AUStereoMixer? How does Garage Band
synchronize beats and compensate for latency introduced by effect
units?
Ashley
_______________________________________________
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: | |
| >AUTimePitch (From: Ashley Allen <email@hidden>) |