Re: Real-time Pitchshifting
Re: Real-time Pitchshifting
- Subject: Re: Real-time Pitchshifting
- From: Peter Rebholz <email@hidden>
- Date: Thu, 3 Apr 2008 13:51:11 -0500
On Apr 3, 2008, at 12:07 PM, Brian Whitman wrote: Which you can also do with the AUTimePitch unit (it doesn't have to operate in real time.)
On Apr 3, 2008, at 12:41 PM, Jens Alfke wrote: Not that I know the details of the math, but it's more than just a function applied to a buffer of input data. It needs to keep a fair amount of state in between calls. So an object of some sort, with an input and an output stream, is the appropriate model. That's what an AudioUnit is. If you want to, you can just instantiate one and feed it buffers by hand; it's just that an AUGraph is usually more convenient.
—Jens
Thanks for the clarification on this guys. I took the request a little too literally, it did occur to me after I responded that you could set the input callback on a AudioUnit and manually tell it to render.
Always learning, Peter
|
_______________________________________________
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