[CM] nested loop question
Tue, 11 May 2004 15:42:41 -0400
I am trying to do a basic loop within a loop, but using the "process" function instead of "loop" because of
all the extra features that "process" has.
The only hitch is that I want the "now" and "wait" clauses of the process to apply to the inner loop, not the outer one.
I am able to create nested loops but I can only get the "now" and "wait" to apply to the outer one. So
if I am outputing midi events in the inner loop they all end up with the same time (i.e. a chord).
I suspect that I won't be able to use "process" at all for this and just stick to "loop" constructs
Is this true?
I tried many configurations: process within process, loop within process, the "each" clause, the "do" clause
etc but no luck.
While we're at it, how does recursion work with processes and loops? Are there any samples floating around?
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.