Page 1 of 1
Posted: 09 Aug 2011, 16:03
by protofuse
hi mates,
I want to make a loop. (like the max objects uzi + counter)
I cannot find the right object.
anyone?
Posted: 09 Aug 2011, 16:16
by nay-seven
a ramp module..?
Posted: 09 Aug 2011, 16:28
by protofuse
I only want to create a loop in my patch.
Example:
I push a button, a process is triggered N times which results in... feeling an array with special values, for instance.
Would you advice me to use pascal/script ?
Posted: 09 Aug 2011, 16:47
by nay-seven
yes there's also the script solution, in the example you can find the count millisecondes you can maybe tweak
there's also some counter patch examples..
Posted: 09 Aug 2011, 22:50
by CleverConQueso
Maybe you can use the counter module (with max). Edit the contents of the counter patch so that you can set the minimum. Also, sometimes I add logic inside of it that stops it from cycling when it gets to the max. (Put 'a=b' on the output and connect that to a 'stop' on the input.
To feed values into arrays, you can use the set array value module but I've been using a different trick. I load the value directly into one of the array fader positions (fader out + new value + fader in - pass if changed) and use the 'roll array' module to push it down one. Then take the output (in my case a MIDI note value) on the next fader position. This gives me a loop with immediate feedback.
Is this like what you're looking for or do I misunderstand?
- CCQ -
Posted: 10 Aug 2011, 20:50
by Floego
or maybe the equation module? as far as I remember, it has the if...then...else instruction built in?