1st Project.

theassemblyworker's icon

Hello world!

I need to design a patch as follows....

I have 3 microphones set up on a source. I need a patch that plays the live microphones for 5 minutes. After 5 minutes live audio, they mute for 5 minutes.

Whilst the microphones are live, Max records the live audio, then reverses it. For 5 minutes the reversed audio is heard and the live audio is muted.

After 10 minutes when both forward and backward versions are heard, the system clears and starts again, going live for 5 minutes, then reverse. The process repeats ad-infinitum until told to stop.

My initial idea was two parallel processes. The first a simple timed On/Off on a 5 minute loop, the second being the buffered/reversed signal, with then some toggle between the two processes.

I hope I explain this ok?

This is my first real project on Max and I only have v7 (I bought Max many years ago thinking it might be useful for installations etc. but I've always got by with Ableton for jobs since!)

Fresh Looper.maxpat
Max Patch

I've attached what I have so far but I'm rather stuck and overwhelmed at the amount of information I'm trying to take in. Any help greatly appreciated!

TFL's icon

Hey,

First please when sharing a patch use the copy compressed feature instead of sharing a file.

Here is a simple example doing just that. I use a [metro] to get a bang every 5 seconds (you'll need to change that to 5 minutes), then a [toggle] to convert bangs to a succession of 1 and 0 which will drive which phase we're in (recording and reverse playback).

When it's 1, we record in the buffer, and when it's 0 we play the buffer.

Turning off the big, main toggle stops the metronome and also the recording and playing.

Max Patch
Copy patch and select New From Clipboard in Max.

theassemblyworker's icon

Sorry for the delays response! Been getting my arse kicked this week...

Thank you for the explanation and the help! Very cool of you and much appreciated, gonna to have a play around now and thanks for letting me know about compressing stuff.

theassemblyworker's icon

That's very cool! One question though, how would I go about muting the live input when the reversed audio is playing back? At the moment both are playing.

Any addition help very much appreciated. You. Are. A . Star!

TFL's icon

how would I go about muting the live input when the reversed audio is playing back?

I would make use of the live.gain~ on the input: send it a -70 to mute it, and a 0 to open it.

It's a very simple patch so I let you find how to connect these messages so they can be sent automatically.

theassemblyworker's icon

Thank you, will tinker this afternoon. Once again many thanks!

theassemblyworker's icon

One of question, sorry... What are you using to reverse the audio? I was previously using Groove but I don't see this here.

Roman Thilenius's icon

if you do not need to change the speed, count~ and index~ are the way to go for a recorder/player , and it could not be simpler to play from a buffer back backwards.

TFL's icon

What are you using to reverse the audio?

The answer lies in the start message. The doc explains how it works with 3 arguments (and you have examples in the [play~] help patcher).

theassemblyworker's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Ok so I'm trying to get the patch to switch the middle live.gain between 0 and -70dB using a toggle and whilst I know this isn't right, sometimes it works perfectly?! Feels like I'm very close but no cigar. Appreciate this is such a n00b effort!

How to I make the toggle flip between the two states per single bang/toggle?

Ps. The device is supposed to be stereo so I've double up objects. Is this the best way to do this?

Roman Thilenius's icon

a non-GUI toggle object can be made with a counter which counts from 0 to 1, then loops.

TFL's icon

Toggle sends a 0 or a 1. You want to get a -70 or a 0. Lot of ways to achieve this. Most obvious is maybe using [select] in-between the toggle and your -70 and 0 messages.

theassemblyworker's icon

Ok I get that but how would I make 1 = -70?

TFL's icon

Learn what a bang is, and how the [select] object work (right click on the object and "Open select Help), and you should be good. If not, I would suggest you to (re)go through the Basics tutorials.

theassemblyworker's icon

Ok I THINK I've got it.... This seems to work (and makes more sense than the previous attempt.

Does this look ok or is something gonna kick me in the butt?! Once again I really appreciate your time.