Apologies, I can’t find this in the documentation or in the tutorials on patterns and I’m sure this is a really basic question.
Which Pbind allows you to take a random sequence and have it repeat x times without choosing new values on repeat? I want it to choose random values at the beginning and then keep them. I have:
~dur = Pseq([
Prand([
Pseq([1/2, 1/2]),
Pseq([1/4, 1/4, 1/2]),
Pseq([1/2, 1/4, 1/4]),
Pseq([1/2, Rest(1/2)]),
]),
Pseq([Rest(1/2), 1/4, 1/4]),
Prand([
Pseq([1/2, 1/2]),
Pseq([1/2, Rest(1/2)]),
]),
Prand([
Pseq([1/4], 4),
Pseq([1/3], 3),
]),
]).asStream;
and I want that outer Pseq to repeat itself as it was originally so only choose random values the first time.
I swear I remember a pattern being able to do this but I can’t find it on the forum or in the help files.
Or do I need to use a routine for this?