Random Loop Points

May 12, 2009 at 3:38pm

Random Loop Points


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 at 8:04pm

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


May 14, 2009 at 12:57am

Another method w/ slightly less objects:

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

why not zl sort?

– Pasted Max Patch, click to expand. –


May 16, 2009 at 2:01pm

Nice one Stefan, zl sort is most fluid.



You must be logged in to reply to this topic.