Forums > MaxMSP

Random Loop Points

May 12, 2009 | 3:38 pm


I have built a loop crossfader utilizing two groove~ objects. I am now attempting to randomize the loop points without the start point exceeding the end point, and the end point exceeding the loop/buffer length for smooth playback.

I have made a start but am hoping somebody can help me solve this, your support is much appreciated.

Many thanks,


My patch is posted below, I have tried to isolate the problem as best possible whilst retaining a working example.

– Pasted Max Patch, click to expand. –

May 12, 2009 | 8:04 pm

Thanks a lot Raja. This is a great starting point for me to work from.


May 14, 2009 | 12:57 am

Another method w/ slightly less objects:

– Pasted Max Patch, click to expand. –
May 15, 2009 | 2:41 pm

why not zl sort?

– Pasted Max Patch, click to expand. –


May 16, 2009 | 2:01 pm

Nice one Stefan, zl sort is most fluid.


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