For smaller equations Usine's modules will be significantly quicker than the equation module but there is a point where more complex formulas then become quicker with the equation module instead and will possibly use less memory too. For example, on my computer one equation module uses around the same amount of memory as four of Usine's A+B modules.
Beside the fact that writing a code snippet is often quicker than adding and connecting modules, it looks like I'm saving a tiny bit of CPU with statements that would otherwise take a handful of modules. My guess is that the fewer callbacks involved is the cause.
And - of course - the patches can look a lot "cleaner" and therefore also easier to maintain.
]]>2011-09-13T15:08:07+02:002011-09-13T15:08:07+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21238#p21238 caco! and yes it could be used for creating rather complex waveforms! As I said before, equation is a great module I have not tested the new version but I will soon.
Thanks nay! there are many things that need improving in this example: the refresh issue is caused for the time used for calculating the iteration, I just let the plot to be drawn only once the iteration is completed, but that could be changed. The shape is not always a sine if it doesn't have enough data to make it (lower resolution, low number of sample points). Or maybe are you talking about an error in the iteration?.
I think this module could be connected to the 23fx23 one "array to wavform oscillator" to get a sound output?
]]>2011-09-13T05:15:44+02:002011-09-13T05:15:44+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21225#p21225Iteration with equation module
if anyone can enhance the basic idea, please do so.
]]>2011-09-12T18:33:15+02:002011-09-12T18:33:15+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21209#p21209Statistics: Posted by senso — 12 Sep 2011, 18:33
]]>2011-09-12T18:24:06+02:002011-09-12T18:24:06+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21208#p21208
@Kloz : just tested, works fine here from here and from Usine ?
got it now.....thanks !!!
don't know what happened before....maybe firefox going crazy !
]]>2011-09-12T02:07:38+02:002011-09-12T02:07:38+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21195#p21195 says the link is wrong or outdated !
]]>2011-09-11T17:37:16+02:002011-09-11T17:37:16+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21176#p21176 I have been using your module for quite a while and found interesting the 'if then else' expression for doing iterations and loops. So for people lazy with scripting (like me), the equation module can save the day.
It would be great to show some examples on how to do loops with the module (and keep the intermediate results from showing), equation really works wonders
Don't know if it would be a lot of work, but could your module be compatible with arrays, like math modules are?
Not sure, presumably if the math modules can do it and the SDK allows it then it should be possible. I will take a look when I next get some free time for coding
Statistics: Posted by ethnix73 — 01 Nov 2010, 22:46
]]>2010-10-31T12:51:12+02:002010-10-31T12:51:12+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16684#p16684Statistics: Posted by ethnix73 — 31 Oct 2010, 11:51
]]>2010-10-26T13:56:09+02:002010-10-26T13:56:09+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16596#p16596
probably the CallBackType should be set to 'immediate' in the user module?
Okay, I have altered the CallBackType to immediate and uploaded the new version, hopefully this should remove the latency as the CallBackType was previously set to 'normal'.
]]>2010-10-26T13:13:14+02:002010-10-26T13:13:14+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16595#p16595Statistics: Posted by senso — 26 Oct 2010, 13:13
]]>2010-10-26T12:56:20+02:002010-10-26T12:56:20+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16594#p16594 it seems that your user module adds some latency in comparison with Usine math modules....
For example, using three different A/B modules is calculated faster than your equation module.
Don't know if this is due to the sdk or your module?
Statistics: Posted by ethnix73 — 26 Oct 2010, 12:56
For smaller equations Usine's modules will be significantly quicker than the equation module but there is a point where more complex formulas then become quicker with the equation module instead and will possibly use less memory too. For example, on my computer one equation module uses around the same amount of memory as four of Usine's A+B modules.
Beside the fact that writing a code snippet is often quicker than adding and connecting modules, it looks like I'm saving a tiny bit of CPU with statements that would otherwise take a handful of modules. My guess is that the fewer callbacks involved is the cause.
And - of course - the patches can look a lot "cleaner" and therefore also easier to maintain.
]]>2011-09-13T15:08:07+02:002011-09-13T15:08:07+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21238#p21238 caco! and yes it could be used for creating rather complex waveforms! As I said before, equation is a great module I have not tested the new version but I will soon.
Thanks nay! there are many things that need improving in this example: the refresh issue is caused for the time used for calculating the iteration, I just let the plot to be drawn only once the iteration is completed, but that could be changed. The shape is not always a sine if it doesn't have enough data to make it (lower resolution, low number of sample points). Or maybe are you talking about an error in the iteration?.
I think this module could be connected to the 23fx23 one "array to wavform oscillator" to get a sound output?
]]>2011-09-13T05:15:44+02:002011-09-13T05:15:44+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21225#p21225Iteration with equation module
if anyone can enhance the basic idea, please do so.
]]>2011-09-12T18:33:15+02:002011-09-12T18:33:15+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21209#p21209Statistics: Posted by senso — 12 Sep 2011, 18:33
]]>2011-09-12T18:24:06+02:002011-09-12T18:24:06+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21208#p21208
@Kloz : just tested, works fine here from here and from Usine ?
got it now.....thanks !!!
don't know what happened before....maybe firefox going crazy !
]]>2011-09-12T02:07:38+02:002011-09-12T02:07:38+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21195#p21195 says the link is wrong or outdated !
]]>2011-09-11T17:37:16+02:002011-09-11T17:37:16+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21176#p21176 I have been using your module for quite a while and found interesting the 'if then else' expression for doing iterations and loops. So for people lazy with scripting (like me), the equation module can save the day.
It would be great to show some examples on how to do loops with the module (and keep the intermediate results from showing), equation really works wonders
Don't know if it would be a lot of work, but could your module be compatible with arrays, like math modules are?
Not sure, presumably if the math modules can do it and the SDK allows it then it should be possible. I will take a look when I next get some free time for coding
Statistics: Posted by ethnix73 — 01 Nov 2010, 22:46
]]>2010-10-31T12:51:12+02:002010-10-31T12:51:12+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16684#p16684Statistics: Posted by ethnix73 — 31 Oct 2010, 11:51
]]>2010-10-26T13:56:09+02:002010-10-26T13:56:09+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16596#p16596
probably the CallBackType should be set to 'immediate' in the user module?
Okay, I have altered the CallBackType to immediate and uploaded the new version, hopefully this should remove the latency as the CallBackType was previously set to 'normal'.
]]>2010-10-26T13:13:14+02:002010-10-26T13:13:14+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16595#p16595Statistics: Posted by senso — 26 Oct 2010, 13:13
]]>2010-10-26T12:56:20+02:002010-10-26T12:56:20+02:00https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16594#p16594 it seems that your user module adds some latency in comparison with Usine math modules....
For example, using three different A/B modules is calculated faster than your equation module.
Don't know if this is due to the sdk or your module?
Statistics: Posted by ethnix73 — 26 Oct 2010, 12:56