stretch audio input stream in realtime - perhaps via buffer?

Learn about building and using Max for Live devices.
Post Reply
wooly
Posts: 33
Joined: Sun Jan 15, 2006 2:01 pm
Location: London

stretch audio input stream in realtime - perhaps via buffer?

Post by wooly » Fri Apr 02, 2010 2:00 pm

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
Mobile setup = mac laptop OSx 10.5, Live 7 Tacscam US2400, Motu 828mk11

Gregory Taylor
Posts: 268
Joined: Tue Sep 01, 2009 3:11 pm

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

Post by Gregory Taylor » Fri Apr 02, 2010 2:14 pm

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.

wooly
Posts: 33
Joined: Sun Jan 15, 2006 2:01 pm
Location: London

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

Post by wooly » Fri Apr 02, 2010 3:30 pm

Hi Gregory

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

W
Mobile setup = mac laptop OSx 10.5, Live 7 Tacscam US2400, Motu 828mk11

bencodec
Posts: 330
Joined: Fri Jun 11, 2004 5:14 pm
Location: Brooklyn

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

Post by bencodec » Fri Apr 02, 2010 8:45 pm

Might also be able to do something clever with tapin~ and tapout~.
Macbook Pro unibody 2.2 Ghz Quad i7, 16GB RAM, 512MB graphics, 500 GB SSD, 500 GB HD, Mac OS 10.8
http://www.bangbang-nyc.com

wooly
Posts: 33
Joined: Sun Jan 15, 2006 2:01 pm
Location: London

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

Post by wooly » Wed Apr 07, 2010 3:32 pm

Hi Bencodec

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

Thanks in advance

W
Mobile setup = mac laptop OSx 10.5, Live 7 Tacscam US2400, Motu 828mk11

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

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

Post by Tone Deft » Wed Apr 07, 2010 9:18 pm

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
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

Post Reply