Forums > MaxMSP

Changing Speed and Pitch in a real-time recording

June 15, 2014 | 11:59 am

Hi,

I’ve been trying numerous ways of changing pitch and speed of my real-time voice recording – i.e time-stretch, but nothing seems to be working. I’ve found patches that can do this but only with a sample via buffer~. I’d be forever grateful for any help!

If anyone knows how to stop playing a sample that is being triggered via togedge by arduino that would be awesome too.

Thanks,
Agnes


June 15, 2014 | 12:45 pm

I use this lil guy:

http://cycling74.com/toolbox/grainstretch/

Your other question can be answered in many ways, you’ll need to clarify it or post your patch (use "copy compressed" in Max).


June 15, 2014 | 1:25 pm

Thanks! I will give this a try right away..

As for the togedge patch it looks something like this: (it’s a part of a larger patch but this will hopefully be enough for this specific problem.

Thanks again!

– Pasted Max Patch, click to expand. –

June 15, 2014 | 1:53 pm

Although this patch seems perfect for what I need, I can’t figure out how to connect my microphone rather than using a sample. Any ideas?

Thanks for any feedback!


June 15, 2014 | 7:58 pm

To use your mic, simply use [ezadc~] (or [adc~], though it’s probably more complicated than you need). The outlets will provide the signal coming in form your audio input device (go to >Audio>Audio Status… in the menu bar to configure this).

With [sfplay~], you send it a 0 (zero) to stop playback. Other integers will play preloaded audio… you should read the reference file for it (e.g. right click the object..). So you could, for example, have the toggle boxes go right into them to start/stop playback.
You might also check out [groove~]. BTW it requires a [buffer~] object (which stores the audio in RAM) – [sfplay~] does not (it reads directly from hard disk.)


June 16, 2014 | 2:31 am

Do you happen to have a patch on how the mic is connected – I think the ezadc~ will work well although I can’t figure out how to connect everything.. I’m very much a visual learner. Thanks!!


June 16, 2014 | 7:57 am

Ah I figured it out the mic situation, just a simple mistake.


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