Sorry, newbie Patterns question here.
In a Pbind, if I use an array as the value for the \degree
key, it plays a chord, but using Pseq(~myArray)
it plays the notes sequentially.
If I write an iterative function that returns an array and use the key-value pair \degree, Pfunc(~myFunc)
, it will iteratively re-evaluate the function, but it will play the array contents simultaneously.
What I’d like is to play the pitches in the array returned by the function sequentially, then re-evaluate the function, play those pitches etc. Intuitively, I would suppose that would be something like:
\degree, Pseq(Pfunc(~myFunc))
, but I get the error: ListPattern (Pseq) requires a non-empty collection; received a Pfunc
How can I sequence the array values that my iterative function returns?
Thanks.