ArrayArrayArrayArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2008-07-06T22:10:52+02:00 https://brainmodular.fr/forums/app.php/feed/topic/902 2008-07-06T22:10:52+02:00 2008-07-06T22:10:52+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4699#p4699 <![CDATA[about XY Morph example (to bsork )]]> Statistics: Posted by senso — 06 Jul 2008, 22:10


]]>
2008-07-06T09:16:26+02:00 2008-07-06T09:16:26+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4691#p4691 <![CDATA[about XY Morph example (to bsork )]]>
many thanks bsork !

Statistics: Posted by nay-seven — 06 Jul 2008, 09:16


]]>
2008-07-06T01:43:49+02:00 2008-07-06T01:43:49+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4688#p4688 <![CDATA[about XY Morph example (to bsork )]]>
The difference is that now the parameters/array elements are always read and updated sequentially one at the time instead of just when something had changed in the XY module. In the old script, the whole program only did something every nth execution block (I had chosen every 10th block, but that could easily be changed), and if the XY values had changed, all 16 parameters were updated at once. This lead to a "spikey" CPU usage, whereas the new variety might draw some more CPU power as long as the user doesn't update anything, but will also not use significantly more power when some of the data change.

Statistics: Posted by bsork — 06 Jul 2008, 01:43


]]>
2008-07-05T11:10:05+02:00 2008-07-05T11:10:05+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4686#p4686 <![CDATA[about XY Morph example (to bsork )]]>

Statistics: Posted by nay-seven — 05 Jul 2008, 11:10


]]>
2008-07-04T00:18:03+02:00 2008-07-04T00:18:03+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4675#p4675 <![CDATA[about XY Morph example (to bsork )]]>
I suspect that the changes done to the arrays in 3.66 is reponsible for the trouble. Any comments, Olivier?

Anyway, I exchanged the array modules with step modules which works as expected, with the added bonus of extra colours and lines in the interface. You can find the updated patch "XY Morph 2" in Add-ons/data tools. I removed the old patch.

[EDIT]:
I think that the script could be a bit better too, "spreading" the CPU load better to avoid some of the rather spikey behaviour it has. I'll upload another version within the weekend or something like that.
[/EDIT]

Statistics: Posted by bsork — 04 Jul 2008, 00:18


]]>
2008-07-03T16:49:15+02:00 2008-07-03T16:49:15+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4671#p4671 <![CDATA[about XY Morph example (to bsork )]]>
hope all will be better soon for you , sometimes life is more a square osc than a sinus one.....

gone to see deeper myself too..;-)

Statistics: Posted by nay-seven — 03 Jul 2008, 16:49


]]>
2008-07-03T16:00:22+02:00 2008-07-03T16:00:22+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4670#p4670 <![CDATA[about XY Morph example (to bsork )]]>

The last version had some changes done to the handling of arrays, so that might be the cause(?). Anyway - although I don't remember much of the patch - I've learnt a lot about arrays in Usine since I created it, so I figure that finding a solution won't be a big problem.

Statistics: Posted by bsork — 03 Jul 2008, 16:00


]]>
2008-07-03T12:32:57+02:00 2008-07-03T12:32:57+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4669#p4669 <![CDATA[about XY Morph example (to bsork )]]>
but i've found a little bug :

when i reload a project with it inside , i've to move a little a line in an array to
" reinitialize " it , if not , only the value 1 of the array "out " is working...

an idea...?

Statistics: Posted by nay-seven — 03 Jul 2008, 12:32


]]>
BrainModular BrainModular Users Forum 2008-07-06T22:10:52+02:00 https://brainmodular.fr/forums/app.php/feed/topic/902 2008-07-06T22:10:52+02:00 2008-07-06T22:10:52+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4699#p4699 <![CDATA[about XY Morph example (to bsork )]]> Statistics: Posted by senso — 06 Jul 2008, 22:10


]]>
2008-07-06T09:16:26+02:00 2008-07-06T09:16:26+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4691#p4691 <![CDATA[about XY Morph example (to bsork )]]>
many thanks bsork !

Statistics: Posted by nay-seven — 06 Jul 2008, 09:16


]]>
2008-07-06T01:43:49+02:00 2008-07-06T01:43:49+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4688#p4688 <![CDATA[about XY Morph example (to bsork )]]>
The difference is that now the parameters/array elements are always read and updated sequentially one at the time instead of just when something had changed in the XY module. In the old script, the whole program only did something every nth execution block (I had chosen every 10th block, but that could easily be changed), and if the XY values had changed, all 16 parameters were updated at once. This lead to a "spikey" CPU usage, whereas the new variety might draw some more CPU power as long as the user doesn't update anything, but will also not use significantly more power when some of the data change.

Statistics: Posted by bsork — 06 Jul 2008, 01:43


]]>
2008-07-05T11:10:05+02:00 2008-07-05T11:10:05+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4686#p4686 <![CDATA[about XY Morph example (to bsork )]]>

Statistics: Posted by nay-seven — 05 Jul 2008, 11:10


]]>
2008-07-04T00:18:03+02:00 2008-07-04T00:18:03+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4675#p4675 <![CDATA[about XY Morph example (to bsork )]]>
I suspect that the changes done to the arrays in 3.66 is reponsible for the trouble. Any comments, Olivier?

Anyway, I exchanged the array modules with step modules which works as expected, with the added bonus of extra colours and lines in the interface. You can find the updated patch "XY Morph 2" in Add-ons/data tools. I removed the old patch.

[EDIT]:
I think that the script could be a bit better too, "spreading" the CPU load better to avoid some of the rather spikey behaviour it has. I'll upload another version within the weekend or something like that.
[/EDIT]

Statistics: Posted by bsork — 04 Jul 2008, 00:18


]]>
2008-07-03T16:49:15+02:00 2008-07-03T16:49:15+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4671#p4671 <![CDATA[about XY Morph example (to bsork )]]>
hope all will be better soon for you , sometimes life is more a square osc than a sinus one.....

gone to see deeper myself too..;-)

Statistics: Posted by nay-seven — 03 Jul 2008, 16:49


]]>
2008-07-03T16:00:22+02:00 2008-07-03T16:00:22+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4670#p4670 <![CDATA[about XY Morph example (to bsork )]]>

The last version had some changes done to the handling of arrays, so that might be the cause(?). Anyway - although I don't remember much of the patch - I've learnt a lot about arrays in Usine since I created it, so I figure that finding a solution won't be a big problem.

Statistics: Posted by bsork — 03 Jul 2008, 16:00


]]>
2008-07-03T12:32:57+02:00 2008-07-03T12:32:57+02:00 https://brainmodular.fr/forums/viewtopic.php?t=902&p=4669#p4669 <![CDATA[about XY Morph example (to bsork )]]>
but i've found a little bug :

when i reload a project with it inside , i've to move a little a line in an array to
" reinitialize " it , if not , only the value 1 of the array "out " is working...

an idea...?

Statistics: Posted by nay-seven — 03 Jul 2008, 12:32


]]>