Page 1 of 1

stretch audio input stream in realtime - perhaps via buffer?

Posted: Fri Apr 02, 2010 2:00 pm
by wooly
Hi

Ive searched the forums but couldn't find an appropriate discussion on this so here goes...

I dont have M4l yet but im thinking about getting it as I have a requirement:

To stretch and pitch shift one or more audio input streams in realtime - perhaps via one or more audio buffers? Is this possible with M4L?

If so could anyone point to the devices or externals that would be necessary and a few tips on using so I could demo it in a M4L demo before it times out?

Thanks in advance

W

Re: stretch audio input stream in realtime - perhaps via buffer?

Posted: Fri Apr 02, 2010 2:14 pm
by Gregory Taylor
It's certainly possible, although not a trivial matter.

I would suggest that you take a look at Robert Henke's grain freeze as an example of such a device.

http://www.monolake.de/technology/m4l.html

In the collection of pluggo plug-ins ported to Max for Live, there's a trio of granular plug-ins that might provide reasonable starting points: Granular to Go, Rye, and Wheat. They're all a bit different and do different things.

There are any number of granular patching approaches in Maxland that would be applicable to what you've described. The granular example that comes with Max would be good to look at, for example (see examples/sampline/granular in the Max application folder).

There's an intriguing phase-vocoder patch that comes with Jitter that does wonderful things to the contents of a buffer (see examples/jitter-examples/audio/jitter_pvoc in the Max application folder)

Those certainly come immediately to mind, and I hope they'll point you in some direction.

Re: stretch audio input stream in realtime - perhaps via buffer?

Posted: Fri Apr 02, 2010 3:30 pm
by wooly
Hi Gregory

Thanks for the reply
I will look at the references you supplied and will come back if I have questions

W

Re: stretch audio input stream in realtime - perhaps via buffer?

Posted: Fri Apr 02, 2010 8:45 pm
by bencodec
Might also be able to do something clever with tapin~ and tapout~.

Re: stretch audio input stream in realtime - perhaps via buffer?

Posted: Wed Apr 07, 2010 3:32 pm
by wooly
Hi Bencodec

Thanks for the suggestion - it would be great if you could eleborate on the use of these

Thanks in advance

W

Re: stretch audio input stream in realtime - perhaps via buffer?

Posted: Wed Apr 07, 2010 9:18 pm
by Tone Deft
wooly wrote:Hi Bencodec

Thanks for the suggestion - it would be great if you could elaborate on the use of these

Thanks in advance

W
http://www.cycling74.com/docs/max5/refp ... apin~.html