ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2011-09-21T10:22:20+02:00 https://www.brainmodular.com/forums/app.php/feed/topic/2502 2011-09-21T10:22:20+02:00 2011-09-21T10:22:20+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21346#p21346 <![CDATA[Equation user module]]>

Statistics: Posted by ethnix73 — 21 Sep 2011, 10:22


]]>
2011-09-21T09:35:12+02:00 2011-09-21T09:35:12+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21345#p21345 <![CDATA[Equation user module]]>

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.

Statistics: Posted by caco — 21 Sep 2011, 09:35


]]>
2011-09-20T21:59:01+02:00 2011-09-20T21:59:01+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21337#p21337 <![CDATA[Equation user module]]> .

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.

Statistics: Posted by bsork — 20 Sep 2011, 21:59


]]>
2011-09-13T15:08:07+02:00 2011-09-13T15:08:07+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21238#p21238 <![CDATA[Equation user module]]> 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! :cool: 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?

Statistics: Posted by Floego — 13 Sep 2011, 15:08


]]>
2011-09-13T09:29:28+02:00 2011-09-13T09:29:28+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21230#p21230 <![CDATA[Equation user module]]> Statistics: Posted by nay-seven — 13 Sep 2011, 09:29


]]>
2011-09-13T09:27:46+02:00 2011-09-13T09:27:46+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21229#p21229 <![CDATA[Equation user module]]>

Statistics: Posted by caco — 13 Sep 2011, 09:27


]]>
2011-09-13T05:15:44+02:00 2011-09-13T05:15:44+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21225#p21225 <![CDATA[Equation user module]]> Iteration with equation module

Image

if anyone can enhance the basic idea, please do so. :)

Statistics: Posted by Floego — 13 Sep 2011, 05:15


]]>
2011-09-12T18:33:15+02:00 2011-09-12T18:33:15+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21209#p21209 <![CDATA[Equation user module]]> Statistics: Posted by senso — 12 Sep 2011, 18:33


]]>
2011-09-12T18:24:06+02:00 2011-09-12T18:24:06+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21208#p21208 <![CDATA[Equation user module]]>
@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 !

Statistics: Posted by kloz — 12 Sep 2011, 18:24


]]>
2011-09-12T11:02:56+02:00 2011-09-12T11:02:56+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21202#p21202 <![CDATA[Equation user module]]>

download

Statistics: Posted by caco — 12 Sep 2011, 11:02


]]>
2011-09-12T08:54:43+02:00 2011-09-12T08:54:43+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21199#p21199 <![CDATA[Equation user module]]> Statistics: Posted by nay-seven — 12 Sep 2011, 08:54


]]>
2011-09-12T03:28:46+02:00 2011-09-12T03:28:46+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21198#p21198 <![CDATA[Equation user module]]>
A good idea Floego, post your examples here everybody and lets see what cool ideas we can come up with :)

ethnix73 - I am so sorry, I completely forgot about your requests to be able to process arrays, I will dig out my code and take a look at it soon!
Ok, I'll post it tomorrow, thanks caco! :)

Statistics: Posted by Floego — 12 Sep 2011, 03:28


]]>
2011-09-12T03:27:30+02:00 2011-09-12T03:27:30+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21197#p21197 <![CDATA[Equation user module]]>
can't download... :s

says the link is wrong or outdated !

...peace
Try to download directly from the Usine browser add-ons :)

Statistics: Posted by Floego — 12 Sep 2011, 03:27


]]>
2011-09-12T02:07:38+02:00 2011-09-12T02:07:38+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21195#p21195 <![CDATA[Equation user module]]>
says the link is wrong or outdated !

...peace

Statistics: Posted by kloz — 12 Sep 2011, 02:07


]]>
2011-09-11T23:00:13+02:00 2011-09-11T23:00:13+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21193#p21193 <![CDATA[Equation user module]]>

ethnix73 - I am so sorry, I completely forgot about your requests to be able to process arrays, I will dig out my code and take a look at it soon!

Statistics: Posted by caco — 11 Sep 2011, 23:00


]]>
2011-09-11T17:37:16+02:00 2011-09-11T17:37:16+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21176#p21176 <![CDATA[Equation user module]]>
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 :cool:

Statistics: Posted by Floego — 11 Sep 2011, 17:37


]]>
2010-11-18T10:32:49+02:00 2010-11-18T10:32:49+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=17011#p17011 <![CDATA[Equation user module]]>
Hi caco,

A little request:

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 caco — 18 Nov 2010, 09:32


]]>
2010-11-17T21:16:49+02:00 2010-11-17T21:16:49+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=17001#p17001 <![CDATA[Equation user module]]>
A little request:

Don't know if it would be a lot of work, but could your module be compatible with arrays, like math modules are?

Statistics: Posted by ethnix73 — 17 Nov 2010, 20:16


]]>
2010-11-01T23:46:34+02:00 2010-11-01T23:46:34+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16697#p16697 <![CDATA[Equation user module]]>

Thanks a lot caco...

A really usefull one!

Statistics: Posted by ethnix73 — 01 Nov 2010, 22:46


]]>
2010-10-31T12:51:12+02:00 2010-10-31T12:51:12+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16684#p16684 <![CDATA[Equation user module]]> Statistics: Posted by ethnix73 — 31 Oct 2010, 11:51


]]>
2010-10-26T13:56:09+02:00 2010-10-26T13:56:09+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16596#p16596 <![CDATA[Equation user module]]>
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'.

Statistics: Posted by caco — 26 Oct 2010, 13:56


]]>
2010-10-26T13:13:14+02:00 2010-10-26T13:13:14+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16595#p16595 <![CDATA[Equation user module]]> Statistics: Posted by senso — 26 Oct 2010, 13:13


]]>
2010-10-26T12:56:20+02:00 2010-10-26T12:56:20+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16594#p16594 <![CDATA[Equation user module]]>
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


]]>
2010-10-24T21:56:47+02:00 2010-10-24T21:56:47+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16541#p16541 <![CDATA[Equation user module]]>

Statistics: Posted by caco — 24 Oct 2010, 21:56


]]>
2010-10-23T18:38:36+02:00 2010-10-23T18:38:36+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16511#p16511 <![CDATA[Equation user module]]>

Statistics: Posted by Floego — 23 Oct 2010, 18:38


]]>
BrainModular BrainModular Users Forum 2011-09-21T10:22:20+02:00 https://www.brainmodular.com/forums/app.php/feed/topic/2502 2011-09-21T10:22:20+02:00 2011-09-21T10:22:20+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21346#p21346 <![CDATA[Equation user module]]>

Statistics: Posted by ethnix73 — 21 Sep 2011, 10:22


]]>
2011-09-21T09:35:12+02:00 2011-09-21T09:35:12+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21345#p21345 <![CDATA[Equation user module]]>

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.

Statistics: Posted by caco — 21 Sep 2011, 09:35


]]>
2011-09-20T21:59:01+02:00 2011-09-20T21:59:01+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21337#p21337 <![CDATA[Equation user module]]> .

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.

Statistics: Posted by bsork — 20 Sep 2011, 21:59


]]>
2011-09-13T15:08:07+02:00 2011-09-13T15:08:07+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21238#p21238 <![CDATA[Equation user module]]> 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! :cool: 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?

Statistics: Posted by Floego — 13 Sep 2011, 15:08


]]>
2011-09-13T09:29:28+02:00 2011-09-13T09:29:28+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21230#p21230 <![CDATA[Equation user module]]> Statistics: Posted by nay-seven — 13 Sep 2011, 09:29


]]>
2011-09-13T09:27:46+02:00 2011-09-13T09:27:46+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21229#p21229 <![CDATA[Equation user module]]>

Statistics: Posted by caco — 13 Sep 2011, 09:27


]]>
2011-09-13T05:15:44+02:00 2011-09-13T05:15:44+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21225#p21225 <![CDATA[Equation user module]]> Iteration with equation module

Image

if anyone can enhance the basic idea, please do so. :)

Statistics: Posted by Floego — 13 Sep 2011, 05:15


]]>
2011-09-12T18:33:15+02:00 2011-09-12T18:33:15+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21209#p21209 <![CDATA[Equation user module]]> Statistics: Posted by senso — 12 Sep 2011, 18:33


]]>
2011-09-12T18:24:06+02:00 2011-09-12T18:24:06+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21208#p21208 <![CDATA[Equation user module]]>
@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 !

Statistics: Posted by kloz — 12 Sep 2011, 18:24


]]>
2011-09-12T11:02:56+02:00 2011-09-12T11:02:56+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21202#p21202 <![CDATA[Equation user module]]>

download

Statistics: Posted by caco — 12 Sep 2011, 11:02


]]>
2011-09-12T08:54:43+02:00 2011-09-12T08:54:43+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21199#p21199 <![CDATA[Equation user module]]> Statistics: Posted by nay-seven — 12 Sep 2011, 08:54


]]>
2011-09-12T03:28:46+02:00 2011-09-12T03:28:46+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21198#p21198 <![CDATA[Equation user module]]>
A good idea Floego, post your examples here everybody and lets see what cool ideas we can come up with :)

ethnix73 - I am so sorry, I completely forgot about your requests to be able to process arrays, I will dig out my code and take a look at it soon!
Ok, I'll post it tomorrow, thanks caco! :)

Statistics: Posted by Floego — 12 Sep 2011, 03:28


]]>
2011-09-12T03:27:30+02:00 2011-09-12T03:27:30+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21197#p21197 <![CDATA[Equation user module]]>
can't download... :s

says the link is wrong or outdated !

...peace
Try to download directly from the Usine browser add-ons :)

Statistics: Posted by Floego — 12 Sep 2011, 03:27


]]>
2011-09-12T02:07:38+02:00 2011-09-12T02:07:38+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21195#p21195 <![CDATA[Equation user module]]>
says the link is wrong or outdated !

...peace

Statistics: Posted by kloz — 12 Sep 2011, 02:07


]]>
2011-09-11T23:00:13+02:00 2011-09-11T23:00:13+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21193#p21193 <![CDATA[Equation user module]]>

ethnix73 - I am so sorry, I completely forgot about your requests to be able to process arrays, I will dig out my code and take a look at it soon!

Statistics: Posted by caco — 11 Sep 2011, 23:00


]]>
2011-09-11T17:37:16+02:00 2011-09-11T17:37:16+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=21176#p21176 <![CDATA[Equation user module]]>
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 :cool:

Statistics: Posted by Floego — 11 Sep 2011, 17:37


]]>
2010-11-18T10:32:49+02:00 2010-11-18T10:32:49+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=17011#p17011 <![CDATA[Equation user module]]>
Hi caco,

A little request:

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 caco — 18 Nov 2010, 09:32


]]>
2010-11-17T21:16:49+02:00 2010-11-17T21:16:49+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=17001#p17001 <![CDATA[Equation user module]]>
A little request:

Don't know if it would be a lot of work, but could your module be compatible with arrays, like math modules are?

Statistics: Posted by ethnix73 — 17 Nov 2010, 20:16


]]>
2010-11-01T23:46:34+02:00 2010-11-01T23:46:34+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16697#p16697 <![CDATA[Equation user module]]>

Thanks a lot caco...

A really usefull one!

Statistics: Posted by ethnix73 — 01 Nov 2010, 22:46


]]>
2010-10-31T12:51:12+02:00 2010-10-31T12:51:12+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16684#p16684 <![CDATA[Equation user module]]> Statistics: Posted by ethnix73 — 31 Oct 2010, 11:51


]]>
2010-10-26T13:56:09+02:00 2010-10-26T13:56:09+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16596#p16596 <![CDATA[Equation user module]]>
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'.

Statistics: Posted by caco — 26 Oct 2010, 13:56


]]>
2010-10-26T13:13:14+02:00 2010-10-26T13:13:14+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16595#p16595 <![CDATA[Equation user module]]> Statistics: Posted by senso — 26 Oct 2010, 13:13


]]>
2010-10-26T12:56:20+02:00 2010-10-26T12:56:20+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16594#p16594 <![CDATA[Equation user module]]>
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


]]>
2010-10-24T21:56:47+02:00 2010-10-24T21:56:47+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16541#p16541 <![CDATA[Equation user module]]>

Statistics: Posted by caco — 24 Oct 2010, 21:56


]]>
2010-10-23T18:38:36+02:00 2010-10-23T18:38:36+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=2502&p=16511#p16511 <![CDATA[Equation user module]]>

Statistics: Posted by Floego — 23 Oct 2010, 18:38


]]>