Re: Changing playback speed
Re: Changing playback speed
- Subject: Re: Changing playback speed
- From: Jens Alfke <email@hidden>
- Date: Thu, 5 Mar 2009 14:10:45 -0800
On Mar 5, 2009, at 11:32 AM, Naf Naf wrote: Andy, are you saying that the parameter I mentioned kAudioUnitParameterUnit_Rate is not applicable?
I don't know, but whether or not that's the right parameter to use, it would only work with an AudioUnit that implements pitch/rate shifting. I believe that one's called AUVarispeed or something like that. If that AU isn't provided on the iPhone, you won't be able to use it, whether or not that's the right parameter.
(We're assuming that you want smart time shifting, without affecting the pitch. If you don't care about that, you can simply lie about the sample rate of your input audio when filling out the stream description. Increase the sample rate to raise the speed, lower it to decrease. Of course it'll sound like playing a vinyl record at the wrong speed...)
—Jens |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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