jump to beginning show previous Showing Logic-users Thread 7805 of 105746 show next jump to end

Forum Index | Read LUG: Policy/Rules Messages Threads Digests | Post New Message | Search!

From: Jim Savage <waldpond@xxxxx.xxxx
Date: Sun, 5 Dec 1999 at 1:04:55 AM
Subject: LA ENV Q: No loops allowed without delays?
Message #9849
Hi all, I'm trying to do a look up in a map to find the first 0 value (for example). Basically implementing: n = 0 while (map(n) /= 0; n += 1) And I use the value n after that. So I write a little loop that puts C 0 0 into the map (which has use map set for the -2- position). I test the map output to see if -2- byte is 0. If not, I increment the control number (-1- byte) and return the control into the map input again. Problem is, LA doesn't seem to let the second control of this loop get processed by the map. I can see it coming out of the increment transformer (now reading C 1 x, where x is non-zero since I set my map this way to test it), but there is no C 1 y control that comes out of the map again. So I try it with banging/incrementing a fader instead, with the /= 0 test resulting in the fader being bang-incremented (and it's value put into the -1- position to effectively increment the control number). Again, the C 1 y is fed into the map, but nothing comes out. No looping allowed it seems. I think such loops can be implemented if I put a delay into the loop which increments the control number. But I don't want to have to run the sequencer, which is required for the delay to work. I also don't want to introduce any more than the minimum delay possible into this - 127 ticks can add up! And this is something that has to finish between the note on and the note off, so I don't want timing problems cropping up because of the delay. Does anybody know why LA won't allow this, and what my best options are? Thanks in advance for any help Len :) Jim Savage
Viewed 403 times, 0 replies, 1 message in thread. Reply to this message.

Forum Index | Read LUG: Policy/Rules Messages Threads Digests | Post New Message | Search!

Forum Index | Read LUG: Policy/Rules Messages Threads Digests | Post New Message | Search!


© 1994-2008, All Rights Reserved.