Sampler and sequencer with varying steplengths.

Elling Svee's icon

I am making a sample looper where I want to be able to select varying starting points, loop lengths and number of repeats, and then sequence through the different steps (with their own unique starting points, loop lengths and repeats).

F.ex. if one loop has loop length=250ms and repeats=6 (+ a defined starting point), the sequencer will continue on to the next loop after the current loop has been played 6 times (a total step length of 6*250ms).

My problem is that I am unsure about how to create this sequencer, since it does not have a single "steady" clock. Instead the time spent on each step is determined by the loop length and number of repeats.

Any ideas/suggestions about how this could be achieved? It would be much appreciated!

Roman Thilenius's icon


build some extensive test setups play around with controlling [play~] with [phasor~], this is the way to go.

you might want to program that looping part yourself, too.

Source Audio's icon

build a steps list with parameters, could be a coll too...
loop start point, end point, number of repeats
for example
1, 0 400 5;
2, 800 2895.5 3;
3, 4000 5678 1;

etc
when a step ges executed, bang on each loop end to count repeats,
at max count reached, trigger next step.

This all is easy part.
Then you need to avoid clicks and pops when jumping arround with play position.