I have a triky Problem.
I’m need to have something like a recursive Routine.
My Problem is, that I have a Árray of Arrays of Pitches. Which should be played.
To do this, I have a Function which iterates over this Array.
Then it see the items of the Array is this is a Number it plays this Number, is it a Array it would recursively call his self, with the remainder Array.
So this will work Wonderful.
The Problems begin when this recursive Levels are interpreted as different Rhythmical Structures. So that on each Level the Duration to the next Pitch is given by respect on this Levels.
I try doing it by wait and yield. Which gives me the Idea to convert this Function to a Routine.
New this working as there is no recursive call. But is it it will broke the Process.
Any Ideas how to handle this
In hope of Solution