H and V divisions
-
23fx23
- Member
- Posts: 2545
- senso
- Site Admin
- Posts: 4427
- Location: France
- Contact:
the roll function already exists : shift key!!!!
Olivier Sens
www.brainmodular.com
www.brainmodular.com
-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
you mean 'Browser->modules->Array->Shift Array' ?senso wrote:the roll function already exists : shift key!!!!
Martin FLEURENT - Usine Developer - SDK maintainer
- nay-seven
- Site Admin
- Posts: 5684
- Location: rennes France
- Contact:
no, senso refer to the shift on your pc/mac keyboard
try to keep it pressed when editing lines,step,seqswitch modules...
try to keep it pressed when editing lines,step,seqswitch modules...
-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
ha, ok
good to know... should re-read the manual sometimes
good to know... should re-read the manual sometimes
Martin FLEURENT - Usine Developer - SDK maintainer
-
23fx23
- Member
- Posts: 2545
oooh yes I tried very cool! and the ctrl reset to default values, nice didn't knew!
martignasse: 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!
martignasse: 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!
-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
hey 23fx23,
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
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
Martin FLEURENT - Usine Developer - SDK maintainer
- nay-seven
- Site Admin
- Posts: 5684
- Location: rennes France
- Contact:
cool , shift_array_23fx23.pat added to my patch dir !
now have to study this ...
thanks
now have to study this ...
thanks
-
23fx23
- Member
- Posts: 2545
uploaded the patch in addons/data
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.
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.

