SynthMaker

Triggering Code

Archive · 2012 10 old posts

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].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.