Random Loop Points

AP's icon

Hi,

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,

Aiden.

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

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

AP's icon

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

Aiden

ComfortableInClouds's icon

Another method w/ slightly less objects:

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

Tj Shredder's icon

why not zl sort?

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

Stefan

AP's icon

Nice one Stefan, zl sort is most fluid.

Aiden