Page 1 of 1

Distributed control with Busses & Decluttering

Posted: Sun Jul 07, 2013 1:48 pm
by steph_tsf
I went reading the wiki tutorial about busses, by troggludite, located here http://www.synthmaker.co.uk/dokuwiki/doku.php?id=tutorials:busses:busses

Buses like this look perfect for 1-to-n schemes.

I have tried Busses in a n-to-1 scheme. I wanted to grab parameters from everywhere in the schematic. There are several controllers.
Controller_ 1 can modify a parameter, like multiplying its value by two.
Controller_2 can also modify the same parameter, like dividing its value by two.

I cant't get this thing working.
1- Merging busses in a candid way doesn't work, as such merge adds old data with new data, instead of replacing old data by new data. When dealing with strings, the add is a concatenation.
2- How can a Controller read the data on the bus, before doing his job (like multiplying the value by two), then place the updated value on the bus, without ending up into an infinite loop?

See attached .fsm and .jpg.

Any advice welcome.

Re: Distributed control with Busses & Decluttering

Posted: Sun Jul 07, 2013 3:35 pm
by MyCo
In the attached schematic I've two solutions for you. They work nearly the same, but the outer schematics have a different structures. My preferred way would be "Version TWO", because it's much cleaner and you only have one single bus line, that is running in circle.

I've commented in the schematic.

Re: Distributed control with Busses & Decluttering

Posted: Sun Jul 07, 2013 5:41 pm
by Nubeat7
@myco: your schematic was made by a newer version of flowstone! do you know something i don`t know? :D

Re: Distributed control with Busses & Decluttering

Posted: Sun Jul 07, 2013 6:35 pm
by MyCo
Ups! Yeah I've got a beta version of the next update from Malc, so I can test if my reported bugs were fixed.

Re: Distributed control with Busses & Decluttering

Posted: Sun Jul 07, 2013 6:51 pm
by Nubeat7
:) great, sounds like the next update is close..

Re: Distributed control with Busses & Decluttering

Posted: Mon Jul 08, 2013 2:45 am
by steph_tsf
MyCo wrote:In the attached schematic I've two solutions for you.
Many thanks. I've applied solution #2 in the FFT-based Audio Analyzer. You can see the ring Bus in action here : http://www.dsprobotics.com/support/viewtopic.php?f=3&t=1524&p=6697#p6697

Re: Distributed control with Busses & Decluttering

Posted: Wed Jul 01, 2015 5:30 pm
by blatantleesly
Could this technique be applied to Knob controls, as in on a master control that when turned outputs to control the output values and position off other knobs. Kind regards

Re: Distributed control with Busses & Decluttering

Posted: Wed Jul 01, 2015 8:46 pm
by MyCo
blatantleesly wrote:Could this technique be applied to Knob controls, as in on a master control that when turned outputs to control the output values and position off other knobs. Kind regards


I wouldn't use busses for that. Wires/Wireless connections should do it.