Variable Step length sequencer
Greetings,
I'm trying to create a variable step length sequencer, where each step can be a certain number of beats/bangs long.
i.e.
1st step = blue - 2beats long
2nd step = green - 3 beats long
3rd step = red - 2 beats long
4th step = yellow - 4 beats long

(what it would look like on a xox style sequencer)
Total of 11 steps here.
I'm struggling to implement this. Here's my attempt so far. Any help?
Thx
it can be done very simple,
set your steps in absolute units
for example
2 3 5 4 1 2 6 4 5 2 4
add each length to become start points
0 2 5 10 14 15 17 23 27 32 34 38
38 is total length
The easiest way to do this is to have each step schedule the next one. I talk about this in the context of Scheme for Max here: https://iainctduncan.github.io/s4m-stk/step-sequencer-tut-1.html#step-1-clocking-options
But you can definitely to do it in a pure patcher too. You need a workflow that runs the work for each step and at the end of it, you schedule the next one with a call to delay or pipe. (which can be in quantized ticks)
you dont even need to create the loop yourself with delay, you can also build it around metro.