ArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
BrainModularBrainModular Users Forum2009-05-09T17:14:06+02:00https://brainmodular.com/forums/app.php/feed/topic/15322009-05-09T17:14:06+02:002009-05-09T17:14:06+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8657#p8657 basically it shifts the original array and creates two other clones virtually one the left and one the right (one shifted of the array lengh and one negatively) that also shifts, so summing the three get the rolled array. the previous version might be lighter on cpu if array lengh is less than 170, have to check not sure.
]]>2009-05-09T16:57:56+02:002009-05-09T16:57:56+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8655#p8655now have to study this ... thanks
Statistics: Posted by nay-seven — 09 May 2009, 16:57
]]>2009-05-09T16:02:04+02:002009-05-09T16:02:04+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8654#p8654 yes if anyone wants to try with sdk (not enough skills fo me now, I hope one day).
]]>2009-05-09T15:08:57+02:002009-05-09T15:08:57+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8653#p8653 very clever patch
a user module souhn't be to difficult, inspired from bmoussay script. Could be a good practice for someone who want to begin with the SDK :rolleyes:
I can help if needed
Statistics: Posted by martignasse — 09 May 2009, 15:08
]]>2009-05-09T14:02:16+02:002009-05-09T14:02:16+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8652#p8652martignasse: I also need to check all shift/ctrl exising functions! time to buy a new ink cartridge
...to be a little boring I ideally dlike to access the same kind of roll at a pach level, for example if it receives an event it shift(sorry roll) any sequence of 2, 3 ect.. in fact a module version of bmoussay script would be very modular to apply to any array type. but for now it do the job for me, just a bit hitting cpu if using to much instances/ a module version would do maybe...
and I maybe found a workaround if I concat the same array 2x and use the shift module, can fake a roll if using AmodB. just a maybe later when modules will be rewritten suggest then..but most modular/less boring i guess instead of reimplementing to all might be a new friend for the shift array module called roll array
edit ok, another solution i found: limitations: max array lenght become 170 (512/3) but might be enough for many cases. advantages: 50percent Cpu load of the script version. quite sure there is a better version possible keeping 512 limit, working on, if anyone has ideas welcome!
]]>2009-05-09T12:22:07+02:002009-05-09T12:22:07+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8651#p8651 good to know... should re-read the manual sometimes
Statistics: Posted by martignasse — 09 May 2009, 12:22
]]>2009-05-09T10:23:19+02:002009-05-09T10:23:19+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8650#p8650try to keep it pressed when editing lines,step,seqswitch modules...
Statistics: Posted by nay-seven — 09 May 2009, 10:23
Statistics: Posted by martignasse — 09 May 2009, 09:40
]]>2009-05-09T09:36:28+02:002009-05-09T09:36:28+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8646#p8646Statistics: Posted by senso — 09 May 2009, 09:36
]]>
2009-05-08T17:55:09+02:002009-05-08T17:55:09+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8638#p8638 aslo native roll function for those modules (not that i don't like bmoussay script but would be lighter on Cpu)
]]>BrainModularBrainModular Users Forum2009-05-09T17:14:06+02:00https://brainmodular.com/forums/app.php/feed/topic/15322009-05-09T17:14:06+02:002009-05-09T17:14:06+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8657#p8657 basically it shifts the original array and creates two other clones virtually one the left and one the right (one shifted of the array lengh and one negatively) that also shifts, so summing the three get the rolled array. the previous version might be lighter on cpu if array lengh is less than 170, have to check not sure.
]]>2009-05-09T16:57:56+02:002009-05-09T16:57:56+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8655#p8655now have to study this ... thanks
Statistics: Posted by nay-seven — 09 May 2009, 16:57
]]>2009-05-09T16:02:04+02:002009-05-09T16:02:04+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8654#p8654 yes if anyone wants to try with sdk (not enough skills fo me now, I hope one day).
]]>2009-05-09T15:08:57+02:002009-05-09T15:08:57+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8653#p8653 very clever patch
a user module souhn't be to difficult, inspired from bmoussay script. Could be a good practice for someone who want to begin with the SDK :rolleyes:
I can help if needed
Statistics: Posted by martignasse — 09 May 2009, 15:08
]]>2009-05-09T14:02:16+02:002009-05-09T14:02:16+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8652#p8652martignasse: I also need to check all shift/ctrl exising functions! time to buy a new ink cartridge
...to be a little boring I ideally dlike to access the same kind of roll at a pach level, for example if it receives an event it shift(sorry roll) any sequence of 2, 3 ect.. in fact a module version of bmoussay script would be very modular to apply to any array type. but for now it do the job for me, just a bit hitting cpu if using to much instances/ a module version would do maybe...
and I maybe found a workaround if I concat the same array 2x and use the shift module, can fake a roll if using AmodB. just a maybe later when modules will be rewritten suggest then..but most modular/less boring i guess instead of reimplementing to all might be a new friend for the shift array module called roll array
edit ok, another solution i found: limitations: max array lenght become 170 (512/3) but might be enough for many cases. advantages: 50percent Cpu load of the script version. quite sure there is a better version possible keeping 512 limit, working on, if anyone has ideas welcome!
]]>2009-05-09T12:22:07+02:002009-05-09T12:22:07+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8651#p8651 good to know... should re-read the manual sometimes
Statistics: Posted by martignasse — 09 May 2009, 12:22
]]>2009-05-09T10:23:19+02:002009-05-09T10:23:19+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8650#p8650try to keep it pressed when editing lines,step,seqswitch modules...
Statistics: Posted by nay-seven — 09 May 2009, 10:23
Statistics: Posted by martignasse — 09 May 2009, 09:40
]]>2009-05-09T09:36:28+02:002009-05-09T09:36:28+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8646#p8646Statistics: Posted by senso — 09 May 2009, 09:36
]]>2009-05-08T17:55:09+02:002009-05-08T17:55:09+02:00https://brainmodular.com/forums/viewtopic.php?t=1532&p=8638#p8638 aslo native roll function for those modules (not that i don't like bmoussay script but would be lighter on Cpu)