Just use AUNewTimePitch (or whatever it’s called) by itself. That’ll change 
rate without changing pitch. And it can go more than double-speed (I think the 
limits are 1/32x to 32x)

Note that this unit is of type format converter, not effect, because you of the 
differing counts of input and output frames.

—Chris

> On Aug 18, 2017, at 8:41 AM, Waverly Edwards <[email protected]> wrote:
> 
> Would someone provide some guidance on how you can take an audio file and 
> speed it up without changing the pitch.
> I was working yesterday and I added AVAudioUnitVarispeed unit to my engine 
> and increased the speed by 2.  It worked, however I found output to have the 
> chipmunk sound. 
> Would you use a AVAudioUnitTimePitch unit to lower the pitch to compensate or 
> is there a better way to achieve this outcome?
>  
> I would like to increase the speed by more than a rate of 2.  Is there a 
> reason why I couldn’t daisy chain two AVAudioUnitVarispeed units together?
>  
> Lastly, is there a way to know how many audio frames were produced after the 
> effect completed.  Since I have a change in time, the number of frames coming 
> in are not the same number going out.
>  
> Thank you,
>  
>  
> W.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      ([email protected] 
> <mailto:[email protected]>)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/coreaudio-api/invalidname%40gmail.com 
> <https://lists.apple.com/mailman/options/coreaudio-api/invalidname%40gmail.com>
> 
> This email sent to [email protected] <mailto:[email protected]>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to