Forums > MaxMSP

Noob trying to loop using groove

Mar 28 2010 | 3:57 pm

I’ve gone through the tutorials and now I’m trying to build my own looper as my first project. I figured I would start simple and only try to loop one layer. Eventually I would like sound on sound looping and be able to choose different channel strips (with different effects and eq settings) to direct my audio input into the looper, and all controlled by midi. So here’s my attempt at step 1.

1. Record into buffer
2. Once I stop recording play back buffer in continuous loop

With this patcher I got it to record into the buffer and once I hit stop groove played the buffer back but it didn’t loop. I added a couple loop messages and now it doesn’t work anymore. It is still recording audio into a buffer but groove is not playing back anymore.

-- Pasted Max Patch, click to expand. --

Thank you for any help,


Mar 28 2010 | 5:50 pm

looks like you are missing a way to tell groove~ where to start playback from. you might want to add the "startloop" message so groove~ starts playing the selected loop. you can also send it a number to start playing from a specific location.

hope this helps

Mar 28 2010 | 7:53 pm

Thank you! It works perfectly now.

Here is the new patch in case it helps anybody trying to do something similar. I also cleaned it up a bit.

-- Pasted Max Patch, click to expand. --

Now I’ll try to work on a solution to overdub sound into the buffer.

Mar 28 2010 | 11:41 pm

The tutorials are excellent, particularly for task-specific stuff, but the help files are very object-specific (r/alt click on a newly named object), and also provide suggested common usage. To overwrite into a live [buffer~] see the help file for the [poke~] and [count~] MSP objects.

Apr 08 2010 | 1:34 pm

Thanks for the heads up about poke~ and count~. I read the help and references files on both of them and I thought I understand the concepts but I can’t seem to get the functionality to work in my patch.

-- Pasted Max Patch, click to expand. --

Apr 08 2010 | 2:13 pm

here’s a quick and easy way to overwrite a buffer in realtime, using [poke~] and [count~]:

-- Pasted Max Patch, click to expand. --

Apr 10 2010 | 11:10 am

Thank you very much for your patch and crystal clear documentation included inside it. It really helped solidify my understanding of the patches. It seems that in the selector section only the cycle~ will overwrite the buffer and not the audio in. That must be why it wasn’t working for me in my patch since I was just trying to feed poke with external audio to write the buffer.

Apr 10 2010 | 11:33 am

I only included the [selector~] for a test-tone; [poke~] should write anything into your buffer, including audio-in via [adc~]. You should verify that whatever is going to your soundcard, is enabled under Options/DSP Settings/IO. This is a common rookie mistake; you have to let MSP know what input you are using. Check the helpfile for [adc~]; and send [adc~] direct to [poke~].

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

Forums > MaxMSP