AUTimePitch Real-time TimeStretch

External for hosting Apple’s AUTimePitch.  This provides a quality real-time time-stretch option for MAX/MSP users.  Slow audio down to a quarter of the original speed without changing the pitch, or raise the pitch without effecting playback rate.  You know the drill.

Now in Stereo!  Requires OSX 10.6

version 1.1- supports up to 4 channels of audio

0.2- adds crossfades between loops and segments for no more clicks.

May 20, 2011 | 6:10 am

It crashes when I try to load the example (osx 10.5.8, max 5.1.8)

Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0
Thread 0 Crashed:
0 ??? 0000000000 0 + 0
1 com.cycling74.AUTimePitch~ 0x185cab1a auconvert_newAU(_auconvert*) + 390
2 com.cycling74.AUTimePitch~ 0x185cac32 auconvert_new(symbol*, long) + 228
3 com.cycling74.MaxMSP 0x0001ca40 typedmess_fun + 1120
4 com.cycling74.MaxMSP 0x000bc5d9 object_new_typed_flags + 637
5 com.cycling74.MaxMSP 0x000bc618 object_new_typed + 46

May 20, 2011 | 7:17 am

I put it on my website but realized that it isn’t in the patch that it is OSX 10.6 compatible only. Apple documentation says they are no longer supporting the old component manager and to use audio components introduced in 10.6 instead. The new function is indeed where it gets the audio component so that would make sense. I might try making it 10.4 + compatible at somepoint, but not within the next month. Sorry.


May 21, 2011 | 12:56 pm

Great Work!

Really excited for the multichannel version!

Just wondering, would it be possible to implement time stretching to slow audio down to more than a quarter of the original speed and a reverse function?

May 21, 2011 | 2:06 pm

Any chance of seeing a signal version as well? (for pitching realtime sound sources)

May 22, 2011 | 7:50 pm

Unfortunately, the engine is Apple’s AU and it doesn’t support slowing down below .25 or going in reverse. Extreme time stretching requires different algorithms or else it just ends up sounding bad.
I’ll look into a version that takes signal input and only supports the pitchshift. Seems like it should be possible for later this summer.

June 23, 2011 | 9:36 am

Excellent stuff! :)

July 18, 2011 | 5:20 am

Great! I too am very interested in a signal input version.

September 23, 2011 | 12:00 pm

Later than I’d hoped, but I’ve added multi-channel so it is no longer just mono. I’ll start work on the signal input version for pitch shifting as requested in the next couple weeks.

August 31, 2012 | 5:49 pm

This crashes on my machine when changing the ‘Rate’. Running on 10.7

Viewing 9 posts - 1 through 9 (of 9 total)

Explore More

Subscribe to the Cycling '74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required