looping in MAX

Sorenraaschou's icon

Hi

I´m trying to create a looper in Max using the Waveform~. I have set the length to 100 sec, but need to could record only 5 sec and loop only that. For that I have created a timer, but when I´m loop this it is looping the whole waveform.
Below is my patch. Can anyone see what my mistake is??

I´m pretty new in the MAXworld, and have search the forum for this topic without any luck.

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

Best regards
Soren

tep's icon

Hi,
don't understand what you tried to do with this "timer" but if you want to loop the waveform for 5 seconds, you just need to put your "selection end" to 5000, or 5000 ms later than the selection start.

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

Sorenraaschou's icon

Hi again

Thanks for the reply
I will use the looper to loop my guitar and make 9 different loops and with several different lengths. Thats why I need the timer to tell the looper how long my loop is.
Is there a smarter way to do that?