I’m working on a scene where pattern 0 is populated by random values selected from either pattern 1, 2, or 3. (Just now it’s mainly an exercise - I’ll let you know how musically useful it is once I get it to work.
)
First I tried stepping through patterns 1,2,3 using the O variable to specify the pattern, and that worked. Then I thought that it might be an idea to use the parameter knob to choose the pattern.
The best way I can find to do this (and bear with me because four hours ago, I didn’t know what bit-shifting was) is this:
Y ADD 1 RSH PARAM 12
This works, providing a value for Y that can then be used here:
L 0 7: PN 0 I PN Y RAND 16
the issue I have with this, though, is that possible values of Y, are 1,2,3 or 4. 4 is not a valid option, though, and so is (presumably?) simply ignored. This seems kind of clumsy. Is there a better way around this?