Help Reverse Engineering a Patch

Eamon O'Connor's icon

Hello,

Very new to Max MSP so pls forgive n00bitude and apologies if this question has already been asked and answered on another thread (I couldn't find it.)

I'm trying to make a patch that records live audio into a buffer and then grabs random snippets from the buffer and repeats them/pitch shifts according to certain parameters (the 'Johnny Greenwood stutter effect' I've seen it called.)

The closest thing I've been able to find online to what I'm thinking of is this: https://www.youtube.com/watch?v=bQEk4qJTOEs

If I could reverse-engineer this patch I'm confident that I would be able to tweak it to my specifications (it's to be used as part of an interactive installation so the snippets won't be generated by 'random' objects - they will be data from an Arduino/Processing.)

I've attached my attempt (which is pretty much ripped off entirely from this patch: https://www.youtube.com/watch?v=qruCD1K8qmo)

Any help thinking about the best way to do this would be greatly appreciated!

loopAttempt2.maxpat
Max Patch
brendan mccloskey's icon

Heya
have a tinker with the helpfiles for [chucker~], [stutter~] and [gizmo~]; the last one belongs inside a [pfft~], but don't be put off, it's all right there in the helpfile.

If you're on Max7 there's new algorithms for pitchshifting and timestretching (within the groove object I believe).

And never apologise for perceived n00bosity.

Brendan

Eamon O'Connor's icon

Thanks! Will do! ;)

brendan mccloskey's icon

Hi
my first reply was a bit lazy; here's a very rough example patch that demonstrates what you can achieve in 20 minutes. It's close to what Jonny does, but control is a bit randomised. Add your Arduino data to suit your own needs.

Good luck

greenie.zip
zip
brendan mccloskey's icon

Oh. . . .

and 2d.wave~, of course. But, having glanced at your patch, tapin/out is pretty good at this stuff too, and probably a bit more intuitive for your needs maybe?

Wetterberg's icon

What about using buffler shuffler? It pretty much does all this out of the box? that amxd is either part of the basic Max install, or a quick install from the Ableton website, right?