Basically, I want to be able to have a time-varying sequencer that steps through 3 or 4 values, then goes back to the beginning of the sequence. A pot would control the amount of time between steps, and the values to step through would be predetermined in the program. I figured it would go something like this
1 load a register with -1
2 add .0001 every sample
3 when the number goes positive, add x [x= the parameter value of step 1]
4 write to parameter
5 SOF back to -1
6 repeat 1-5
The problem is (even if this worked), it would never repeat, it would just add to the parameter over and over which would quickly clip to 1.999...
So I don't think this is the right approach. Any thoughts?