Page 1 of 1

Posted: 20 Mar 2011, 05:23
by tpresto
Does anyone know how I could use multiple "0 to 1" module to advance a single listbutton selection. the 0 to 1 modules are in separate subpatches -- well, actually sub-sub-sub patches -- and, under the condition that switch values change from 0 to 1, I want usine to select the next option in a single listbutton. I want to make this possible from multiple 0 to 1 modules. I have been able to make this work from one 0 to 1 as follows:

switch 1 --> 0 to 1 --> Sendbus (i.e. NEXTBUTTON4DRUMS) ... Getbus (i.e. NEXTBUTTON4DRUMS) --> "Next" of listbutton
and then in another subpatch, i have the below.

switch 2 --> 0 to 1 --> Sendbus (i.e. NEXTBUTTON4DRUMS) ... Getbus (i.e. NEXTBUTTON4DRUMS) --> "Next" of the same listbutton

The problem is that only the first instance will works, but not the second -- even when they are identical, other than location.

I think that maybe the problem is that since I'm sending both instances to the same data bus, the contradictory data keeps it from working in both cases.

Does anyone have any suggestions?

Posted: 20 Mar 2011, 09:26
by nay-seven
yes, cause it's not a good idea to have several sendbus with the same name, just rename your bus NEXTBUTTON4DRUMSa and NEXTBUTTON4DRUMSb for example

Posted: 20 Mar 2011, 16:27
by tpresto
I figured that the name was creating the problem. Thank you! For what i'm using this for, I will need to create large numbers of buses if they must all be named differently. Is there a more efficient or more organized way to accomplish this. As it is now, I would have about 50 data buses coming into the "next" of a single list button!

Posted: 20 Mar 2011, 16:35
by gthibert
You can use the same bus name if you connect an ''has changed'' module to the on/off of the bus. Look at this example :
http://sensomusic.com/forums/uploads.ph ... olybus.pat

Posted: 20 Mar 2011, 17:12
by nay-seven
well done gthibert !

Posted: 21 Mar 2011, 23:21
by tpresto
That works amazingly. At first, I couldn't tell what you were talking about, as I had version 5.17, and there are no "on/off" options for buses. I upgraded, and works like a charm. THANK YOU!

Posted: 21 Mar 2011, 23:49
by 23fx23
yeah, i skiped the bus on-off thing too, it's hot trick :)