Welcome to %s forums

BrainModular Users Forum

Login Register

how to make a loop ?

I need help on a Patch
Post Reply
protofuse
Member
Posts: 78
Contact:

Unread post by protofuse » 09 Aug 2011, 16:03

hi mates,

I want to make a loop. (like the max objects uzi + counter)

I cannot find the right object.

anyone?

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 09 Aug 2011, 16:16

a ramp module..?

protofuse
Member
Posts: 78
Contact:

Unread post by protofuse » 09 Aug 2011, 16:28

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 ?

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 09 Aug 2011, 16:47

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..

CleverConQueso
Member
Posts: 190
Contact:

Unread post by CleverConQueso » 09 Aug 2011, 22:50

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 -

Floego
Member
Posts: 319
Location: Venezuela
Contact:

Unread post by Floego » 10 Aug 2011, 20:50

or maybe the equation module? as far as I remember, it has the if...then...else instruction built in?

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests