Noob trying to loop using groove

Mar 28, 2010 at 3:57pm

Noob trying to loop using groove

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,

Todd

#49391
Mar 28, 2010 at 5:50pm

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

#177454
Mar 28, 2010 at 7:53pm

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.

#177455
Mar 28, 2010 at 11:41pm

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.
Brendan

#177456
Apr 8, 2010 at 1:34pm

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. –
#177457
Apr 8, 2010 at 2:13pm

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

– Pasted Max Patch, click to expand. –
#177458
Apr 10, 2010 at 11:10am

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.

#177459
Apr 10, 2010 at 11:33am

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~].

#177460

You must be logged in to reply to this topic.