Welcome to %s forums

BrainModular Users Forum

Login Register

Enable rack based on clock

I need help on a Patch
Post Reply
kurtjoy
Member
Posts: 10
Contact:

Unread post by kurtjoy » 24 May 2017, 09:42

Hi all,
im trying to work on a patch that mimics the ableton live "start clip on bar" behaviour.
Basically what I would like to do is trigger racks on and off, that will automatically start and end on a master cycle start/end.

Ive been playing about with it, with varying amount of success, but cant seem to get it working exactly how I would like.
Image

As the screenshot shows, Ive used the cycle position output (1 or 2 in a two bar loop) combined with a switch as conditions into A and B boolean. Then route the output into a toggle object that triggers the rack object on and off.

This works but as the bar count returns to 1, the rack will be disabled, that is unless the switch is manually reset before.
Is there anything I can do to either a) only allow the first 0-1 change from the toggle or b) reset the switch back to its 0 state?

Have been trying various combinations of teh flow control objects, but with no luck. Any suggestions would be great.

Cheers

Kurt

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 24 May 2017, 16:37

Hi
Instead of a toggle, use a switch .
The And gate output should be connected to the set
Input of the switch.
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

kurtjoy
Member
Posts: 10
Contact:

Unread post by kurtjoy » 25 May 2017, 04:18

Hi Oli, thanks for that.
Ive tried, as you suggested, replacing the toggle with a switch, and connecting the And gate to both set on and also toggle.

The "toggle" input on the switch works exactly as before, with the rack starting on the beat, but iof the switch is left on, the rack will be disabled on the next cycle start.

If the gate output is patched to the switch "set on" input, the rack is locked "on" and cant be switched on or off.

Cheers
Kurt

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 25 May 2017, 13:14

connect the adn output to the SET input only, not the toggle.
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

kurtjoy
Member
Posts: 10
Contact:

Unread post by kurtjoy » 26 May 2017, 13:33

Hi Oli,
thanks for that. In the end this worked perfectly
Image

Thanks for all your help.

K

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 26 May 2017, 17:29

well done !
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests