[Csnd] Looping with schedkwhen
Date | 2013-05-12 14:09 |
From | Mark Brophy |
Subject | [Csnd] Looping with schedkwhen |
I want to make the loop below do the same action as the two statements below the loop but no event is being scheduled. What am I doing wrong?
index = 0
loop: imidinote table index, 30 icps = cpsmidinn(imidinote) itime = index * 15 / itempo schedkwhen ktrigger, kmintim, kmaxnum, kp1, itime, kp3, 100, icps loop_lt index, 1, 2, loop schedkwhen ktrigger, kmintim, kmaxnum, kp1, 0.00, kp3, 100, icps1 schedkwhen ktrigger, kmintim, kmaxnum, kp1, 15 / itempo, kp3, 100, icps2 |