ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
BrainModularBrainModular Users Forum2008-08-08T21:53:27+02:00https://brainmodular.com/forums/app.php/feed/topic/7832008-08-08T21:53:27+02:002008-08-08T21:53:27+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4976#p4976send me your patch and I'll tell you how to proceed to fix it.
]]>2008-08-08T20:32:12+02:002008-08-08T20:32:12+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4975#p4975 I just updated from version 3.63 up to 3.68f. I'm happy I did, it's packed with great new features. ... But, I had to dig up this thread because what I solved here, doesn't work anymore. Senso - or some other kind soul - any idea what's changed in event processing since 3.63 to cause that this patch doesn't work anymore?
]]>2008-04-14T20:16:13+02:002008-04-14T20:16:13+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4124#p4124 ok I hacked it. So for those interested, here's the solution for the last problem. I still have only 16 switches but i connected them to every second inlet - all the same, this is how to set it up for 32-step SeqSwitches:
thanks for all the help. now im happy
antwan
EDIT:
I forgot to specify these details for the solution to be complete: - The two SetArraySize modules are set to 16 - The one ShiftArray module is set to -16 and - The two Arrays - that took the place of 'master' SeqSwitches - are set to 16
]]>2008-04-14T09:21:35+02:002008-04-14T09:21:35+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4119#p4119 yes I know, that was the plan. The question was how to distribute the incoming 32Array (coming from the left, from the 4 x SeqSwitches, the slaves) into those two master 16-step SeqSwitches...
]]>2008-04-13T11:31:07+02:002008-04-13T11:31:07+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4117#p4117 in a way you're correct... The only problem is where to connect the (in this case, 32) switches? This is the reason why I was inclined to use two 16step SeqSwitches as masters, so i would have a place to connect all 32 midi learnt switches. If I have a Array (set or display) module it will only have 16 inlets as do the SeqSwitch modules. Any other ideas to try?
]]>2008-04-13T05:15:51+02:002008-04-13T05:15:51+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4115#p4115Statistics: Posted by runagate — 13 Apr 2008, 05:15
]]>
2008-04-12T12:37:01+02:002008-04-12T12:37:01+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4114#p4114 Thanks a lot Olivier for the new release. It indeed did solve the remaining problem. Now that it works I'm again interested in making this work with SeqSwitches of 32 steps. I can see how to use the concat array module to join two 16 step "master" SeqSwitches but how do I get it to work on the input side. I.e. inputting the array from thefour "slave" SeqSwitches. The array (of 32 values) should somehow be split and rerouted to these two 16 step masters?
]]>2008-04-09T10:32:49+02:002008-04-09T10:32:49+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4058#p4058 And sure, you may post an example. Of course!
as there is a feedback loop, you're right the order of the scheduling is very important. In Usine, some events are handled immediately and some of them are queued, depending on a internal priority. This point is very dark in Usine, and not so well documented... I know, but sometime I have to sleep a little..
We could find a lots of different ways to solve your problem: rewrite the patch in a new style, use scripts, etc... but I found that it was easier to rewrite a part of the Usine code to change the priority off events in the Sequencer Switch module.
So You'll find a new version of your patch, joined to this mail, but it doesn't work properly with the actual version of Usine 3.62. You have to wait for the next release, which will come out very soon.
An example of the patch will be posted as add-on soon, with the authorization of Antwan of course!
]]>2008-04-05T14:05:08+02:002008-04-05T14:05:08+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4040#p4040I too find it a very interesting puzzle. Yet to solve it myself. If you come up with anything, let me know...
]]>2008-04-05T10:51:34+02:002008-04-05T10:51:34+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4039#p4039 has i have the same kind of probleme, i think i'll make some workspace to illustrate the probleme.
but not at home for now.... a+
Statistics: Posted by martignasse — 05 Apr 2008, 10:51
]]>2008-04-04T21:29:05+02:002008-04-04T21:29:05+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4037#p4037send me your patch by mail contact@sensomusic.com If I have a couple of minutes I'll take a look.
]]>2008-04-04T19:43:56+02:002008-04-04T19:43:56+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4035#p4035did you try to insert "pass only if has changed" in red wire feedback?
]]>2008-04-04T19:21:24+02:002008-04-04T19:21:24+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4034#p4034 Yes. I still have the same problem even if I add a "pass only if has changed" module everywhere where there wasn't one in the previous image i posted. I.e.: A) 4 x between the SeqSwitch modules and the Selector B) 1 x between the SeqSwitch "master" module and the Dispatch module
So still a problem...
It's quite complicated because one might do adjustments to the SeqSwitches by mouse or by the set of switches - and - one controls all 4 SeqSwitches with the same set of switches... So there's many moving parts.
]]>2008-04-04T18:52:17+02:002008-04-04T18:52:17+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4033#p4033did you try to insert "pass only if has changed" in red wire feedback?
]]>2008-04-04T17:28:15+02:002008-04-04T17:28:15+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4032#p4032 Ok, so whether I would use a master / invisible SeqSwitch or some Array modules I think my problem still remains this:
Here's my current setup (you can't see it all but you can imagine the rest of SeqSwitch modules):
The problem is: when I use the select-fader to change which SeqSwitch I control with the set of 16 switches - there's some problem of values "bleeding" from SeqSwitch to another. You will see what I mean if you set this up like in the image. Some event flow order problem. I would very much appreciate it if you could have a look. I'm already very confused!
]]>2008-04-04T16:58:32+02:002008-04-04T16:58:32+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4030#p4030Add any "master" you want and use the module "array/concat array" to increase the size. (concatenation of each "master" values) something like that...
]]>2008-04-04T16:14:31+02:002008-04-04T16:14:31+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4029#p4029 yes I got this to work. With Oliviers tip - plus the addition that I had also a Selector connected to the same Select as the dispatch with inputs coming from all SeqSwitches. A few Pass If Changed in between and the thing works fine.
The main reason that I'm interested why I can't use Array modules instead of this invisible master SeqSwitch is the fact that now I'm limited to doing this on maximum 16 steps SeqSwitches. If I could use Array modules (set array element value etc...) together with the values inlets and outlets of the SeqSwitch I could work with buttons controlling more than 16 steps.
Thanks,
antwan
EDIT:
In fact it's not quite perfectly working as I described. Because: The moment when the Select (connected to both Selector and Dispatch) is changed, there is some "bleeding" of values from one SeqSwitch to the other. There something I don't quite get in the event flow ordering that causes this even though the target of both the Selector and Dispatch is changed simultaneously. Don't get it...
]]>2008-04-04T15:49:37+02:002008-04-04T15:49:37+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4028#p4028 yes, your first reply didn't quite catch what I'm trying to do but your second post seems to be on track. If you have anything related to this at home I'm very interested.
My feeling would be to use some Array (display or set) -modules in conjuction with the "values" inlets and outlets of the SeqSwitch modules - together with some Events Control. But it seems that the values outlet connected to in inlet of the Array module doesn't really seem to transfer the values of the SeqSwitch to the Array. Maybe Olivier can clarify some of this...?
Cheers,
antwan
EDIT:
Seems like Olivier posted at the same time as I:) Thanks, I'll give that a shot. Just to add... I need to add to that the functionality that each slave updates the master when switched to.
Eventhough I might get this to work according to your suggestion I'm still interested to know why the Array (display or set) module doesn't receive from the SeqSwitch's red values outlet eventhough the array size is the same.
]]>2008-04-04T15:44:34+02:002008-04-04T15:44:34+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4027#p4027In the sequenced Switch there is a "value" inlet/outlet (in red). It contain an array of value which represent the values of the each switches.
On your patch - add another seq switch module, we call 'master' and make it invisible. on your patch there is now a master seqswitches and 3 "slaves" - add a data/dispatch module - create a ctrl (ctrl+drag) on the dispatch - select; this control will select witch "slave" is active.
- connect your 8 learned switch on master - val1, master - val2 ...master- val 8 - connect the master - values (in red) to dispatch - in - connect dispatch - out 1 to slave1 - values (in red) - connect dispatch - out 2 to slave2 - values (in red) - connect dispatch - out 3 to slave3 - values (in red)
]]>2008-04-04T10:13:15+02:002008-04-04T10:13:15+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4026#p4026 to resume, you have to make some logic to route the switch to the appropriate SeqSwitch from the list entry number, with a counter and some pass module.
i have some related patch at home, i'll have to look into tonight.
Statistics: Posted by martignasse — 04 Apr 2008, 10:13
]]>2008-04-03T19:13:40+02:002008-04-03T19:13:40+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4025#p4025 I think i see what you want, is it something like this ? here you can see the logic for controling three SeqQwitch modules by a ComboList.
- notice that i use preset module to store the config for each track sel value of the data in module (on the left) plugged directly on the ComboList module.
- has the list is about 20 entry, i have to use three Preset module, on the middle, and the logic to control them (maybe simplified with next usine version).
- you can add Switch controls to the sequencers if you need, they will be stored in the presets.
hope it help.
Statistics: Posted by martignasse — 03 Apr 2008, 19:13
]]>BrainModularBrainModular Users Forum2008-08-08T21:53:27+02:00https://brainmodular.com/forums/app.php/feed/topic/7832008-08-08T21:53:27+02:002008-08-08T21:53:27+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4976#p4976send me your patch and I'll tell you how to proceed to fix it.
]]>2008-08-08T20:32:12+02:002008-08-08T20:32:12+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4975#p4975 I just updated from version 3.63 up to 3.68f. I'm happy I did, it's packed with great new features. ... But, I had to dig up this thread because what I solved here, doesn't work anymore. Senso - or some other kind soul - any idea what's changed in event processing since 3.63 to cause that this patch doesn't work anymore?
]]>2008-04-14T20:16:13+02:002008-04-14T20:16:13+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4124#p4124 ok I hacked it. So for those interested, here's the solution for the last problem. I still have only 16 switches but i connected them to every second inlet - all the same, this is how to set it up for 32-step SeqSwitches:
thanks for all the help. now im happy
antwan
EDIT:
I forgot to specify these details for the solution to be complete: - The two SetArraySize modules are set to 16 - The one ShiftArray module is set to -16 and - The two Arrays - that took the place of 'master' SeqSwitches - are set to 16
]]>2008-04-14T09:21:35+02:002008-04-14T09:21:35+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4119#p4119 yes I know, that was the plan. The question was how to distribute the incoming 32Array (coming from the left, from the 4 x SeqSwitches, the slaves) into those two master 16-step SeqSwitches...
]]>2008-04-13T11:31:07+02:002008-04-13T11:31:07+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4117#p4117 in a way you're correct... The only problem is where to connect the (in this case, 32) switches? This is the reason why I was inclined to use two 16step SeqSwitches as masters, so i would have a place to connect all 32 midi learnt switches. If I have a Array (set or display) module it will only have 16 inlets as do the SeqSwitch modules. Any other ideas to try?
]]>2008-04-13T05:15:51+02:002008-04-13T05:15:51+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4115#p4115Statistics: Posted by runagate — 13 Apr 2008, 05:15
]]>2008-04-12T12:37:01+02:002008-04-12T12:37:01+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4114#p4114 Thanks a lot Olivier for the new release. It indeed did solve the remaining problem. Now that it works I'm again interested in making this work with SeqSwitches of 32 steps. I can see how to use the concat array module to join two 16 step "master" SeqSwitches but how do I get it to work on the input side. I.e. inputting the array from thefour "slave" SeqSwitches. The array (of 32 values) should somehow be split and rerouted to these two 16 step masters?
]]>2008-04-09T10:32:49+02:002008-04-09T10:32:49+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4058#p4058 And sure, you may post an example. Of course!
as there is a feedback loop, you're right the order of the scheduling is very important. In Usine, some events are handled immediately and some of them are queued, depending on a internal priority. This point is very dark in Usine, and not so well documented... I know, but sometime I have to sleep a little..
We could find a lots of different ways to solve your problem: rewrite the patch in a new style, use scripts, etc... but I found that it was easier to rewrite a part of the Usine code to change the priority off events in the Sequencer Switch module.
So You'll find a new version of your patch, joined to this mail, but it doesn't work properly with the actual version of Usine 3.62. You have to wait for the next release, which will come out very soon.
An example of the patch will be posted as add-on soon, with the authorization of Antwan of course!
]]>2008-04-05T14:05:08+02:002008-04-05T14:05:08+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4040#p4040I too find it a very interesting puzzle. Yet to solve it myself. If you come up with anything, let me know...
]]>2008-04-05T10:51:34+02:002008-04-05T10:51:34+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4039#p4039 has i have the same kind of probleme, i think i'll make some workspace to illustrate the probleme.
but not at home for now.... a+
Statistics: Posted by martignasse — 05 Apr 2008, 10:51
]]>2008-04-04T21:29:05+02:002008-04-04T21:29:05+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4037#p4037send me your patch by mail contact@sensomusic.com If I have a couple of minutes I'll take a look.
]]>2008-04-04T19:43:56+02:002008-04-04T19:43:56+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4035#p4035did you try to insert "pass only if has changed" in red wire feedback?
]]>2008-04-04T19:21:24+02:002008-04-04T19:21:24+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4034#p4034 Yes. I still have the same problem even if I add a "pass only if has changed" module everywhere where there wasn't one in the previous image i posted. I.e.: A) 4 x between the SeqSwitch modules and the Selector B) 1 x between the SeqSwitch "master" module and the Dispatch module
So still a problem...
It's quite complicated because one might do adjustments to the SeqSwitches by mouse or by the set of switches - and - one controls all 4 SeqSwitches with the same set of switches... So there's many moving parts.
]]>2008-04-04T18:52:17+02:002008-04-04T18:52:17+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4033#p4033did you try to insert "pass only if has changed" in red wire feedback?
]]>2008-04-04T17:28:15+02:002008-04-04T17:28:15+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4032#p4032 Ok, so whether I would use a master / invisible SeqSwitch or some Array modules I think my problem still remains this:
Here's my current setup (you can't see it all but you can imagine the rest of SeqSwitch modules):
The problem is: when I use the select-fader to change which SeqSwitch I control with the set of 16 switches - there's some problem of values "bleeding" from SeqSwitch to another. You will see what I mean if you set this up like in the image. Some event flow order problem. I would very much appreciate it if you could have a look. I'm already very confused!
]]>2008-04-04T16:58:32+02:002008-04-04T16:58:32+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4030#p4030Add any "master" you want and use the module "array/concat array" to increase the size. (concatenation of each "master" values) something like that...
]]>2008-04-04T16:14:31+02:002008-04-04T16:14:31+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4029#p4029 yes I got this to work. With Oliviers tip - plus the addition that I had also a Selector connected to the same Select as the dispatch with inputs coming from all SeqSwitches. A few Pass If Changed in between and the thing works fine.
The main reason that I'm interested why I can't use Array modules instead of this invisible master SeqSwitch is the fact that now I'm limited to doing this on maximum 16 steps SeqSwitches. If I could use Array modules (set array element value etc...) together with the values inlets and outlets of the SeqSwitch I could work with buttons controlling more than 16 steps.
Thanks,
antwan
EDIT:
In fact it's not quite perfectly working as I described. Because: The moment when the Select (connected to both Selector and Dispatch) is changed, there is some "bleeding" of values from one SeqSwitch to the other. There something I don't quite get in the event flow ordering that causes this even though the target of both the Selector and Dispatch is changed simultaneously. Don't get it...
]]>2008-04-04T15:49:37+02:002008-04-04T15:49:37+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4028#p4028 yes, your first reply didn't quite catch what I'm trying to do but your second post seems to be on track. If you have anything related to this at home I'm very interested.
My feeling would be to use some Array (display or set) -modules in conjuction with the "values" inlets and outlets of the SeqSwitch modules - together with some Events Control. But it seems that the values outlet connected to in inlet of the Array module doesn't really seem to transfer the values of the SeqSwitch to the Array. Maybe Olivier can clarify some of this...?
Cheers,
antwan
EDIT:
Seems like Olivier posted at the same time as I:) Thanks, I'll give that a shot. Just to add... I need to add to that the functionality that each slave updates the master when switched to.
Eventhough I might get this to work according to your suggestion I'm still interested to know why the Array (display or set) module doesn't receive from the SeqSwitch's red values outlet eventhough the array size is the same.
]]>2008-04-04T15:44:34+02:002008-04-04T15:44:34+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4027#p4027In the sequenced Switch there is a "value" inlet/outlet (in red). It contain an array of value which represent the values of the each switches.
On your patch - add another seq switch module, we call 'master' and make it invisible. on your patch there is now a master seqswitches and 3 "slaves" - add a data/dispatch module - create a ctrl (ctrl+drag) on the dispatch - select; this control will select witch "slave" is active.
- connect your 8 learned switch on master - val1, master - val2 ...master- val 8 - connect the master - values (in red) to dispatch - in - connect dispatch - out 1 to slave1 - values (in red) - connect dispatch - out 2 to slave2 - values (in red) - connect dispatch - out 3 to slave3 - values (in red)
]]>2008-04-04T10:13:15+02:002008-04-04T10:13:15+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4026#p4026 to resume, you have to make some logic to route the switch to the appropriate SeqSwitch from the list entry number, with a counter and some pass module.
i have some related patch at home, i'll have to look into tonight.
Statistics: Posted by martignasse — 04 Apr 2008, 10:13
]]>2008-04-03T19:13:40+02:002008-04-03T19:13:40+02:00https://brainmodular.com/forums/viewtopic.php?t=783&p=4025#p4025 I think i see what you want, is it something like this ? here you can see the logic for controling three SeqQwitch modules by a ComboList.
- notice that i use preset module to store the config for each track sel value of the data in module (on the left) plugged directly on the ComboList module.
- has the list is about 20 entry, i have to use three Preset module, on the middle, and the logic to control them (maybe simplified with next usine version).
- you can add Switch controls to the sequencers if you need, they will be stored in the presets.
hope it help.
Statistics: Posted by martignasse — 03 Apr 2008, 19:13