Forums > MaxMSP

timestretching


lem
November 9, 2012 | 11:30 am

hi what’s the best way to timestretch an audio source as it is made? it’ll be from a synth to max/msp via firewire.

thanks?


November 9, 2012 | 7:45 pm

Hi
obviously it will only be possible to timestretch retrospectively; that is immediately after recording. The simplest setup would make use of three key objects: [record~], [buffer~] and [groove~], the latter will allow you to playback the buffer contents at variable speeds. If you wish to decouple pitch and time (independent pitch and speed), then you’re probably talking about granular playback, which is a little more involved, but eminently do-able with MSP. Just search the forum for "time stretching", "granulator" etc. And look inside the Cycling74/examples folder for the Max granulator; the grain engine in that patch is called "rgrano.maxpat" and you could plug that into your recording patch. And there’s some old granulator tutorial vidz of mine here:

https://www.youtube.com/user/ronnie9253

Brendan


November 9, 2012 | 8:11 pm

And for more advanced live processing, search for J F Charles and spectral processing



lem
November 9, 2012 | 8:33 pm

and i could bang so that it jumps to and starts to stretch what i’m currently playing?

just checking that i understand you…


November 9, 2012 | 9:03 pm

Yes, but not what you’re "currently" playing, only what was recently played. Depending on the setup, you could timestretch as recently as maybe 200ms, but this isn’t set in stone.

How instant is instant??



lem
November 10, 2012 | 12:02 am

ah, yes.


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