From the original SynthMaker forum (2004–2014), with its members’ names and dates.
rocko ·
Hi,
I'd like to open this thread as a continuation of another thread, discussing how to trigger a code calculation.
The idea is to use all the goodies of code (done at sampling rate, calculations are synched) while keeping the CPU low.
This is done by running the calculation only when needed, i.e.when one of the control inputs has changed.
This can be done by 'assenbley' only.
Here is a bare (not triggered sample) based on the RBJ coefficeint calculator, for the general case.
If any assembley wizard can help here by completing the trick itself - please do !
Thanks,
Rocko
Old post:
Avoiding uneeded calculations
Warmonger ·
[Empty schematic] 😉
rocko ·
I've reuploded.
trogluddite ·
There are some commented examples of various assembly bypassing methods inside my Trogz Toolz toolkit.
Look inside the module Stream,Code and ASM -> Assembly Toolkits -> Assembly Bypassing.
rocko ·
What an amazing tool kit, so much to learn 😉
I've tried to play with the "assembley trigger" one but failed.
I'm just transferring the input into output, hoping it would happen only when a changing output is connected to "value input'.
Unfortunately it happens all the time (music plays even if nothing is connected to 'value input'):
josephcloud ·
insert a Contact in your test class, then update one. It should hit both the after insert and before update
rocko ·
Hi,
Could you please give an example in the attached module?
rocko ·
Hi,
So - thanks to all comments and Forum help I got it working.
The issue was a bit stupid... The operating command should come after 'jnz Bypass;' and prior to 'Bypass:' .
Thanks all !
Jennie ·
Triggering a code info was just what I was interested in)
Thank you so much for your tips given here and for opening the thread!
This post was really helpful for me.
rocko ·
Good to know that I helped someone in this Forum !
Usually it is I who requests for help...
Wrote something here? To have a post removed or your name hidden, write to [email protected].