Page 1 of 1

Key Off Message

Posted: Sat Dec 07, 2024 9:39 pm
by Schville
Does anybody know if there is a module which can detect and forward triggers only if I release a key?

Is there a workaround how one could build that function with several modules?

Re: Key Off Message

Posted: Sat Dec 07, 2024 11:06 pm
by huggermugger
You can do it by inverting the keyboard gate, which will change the closing of the gate to a positive-going signal. You'll need an extra 5 volts to raise the signal back to normal (positive offset). Then sum the two into a TRIG TO GATE module, and set the GATE LENGTH to its shortest value (5msec).

Re: Key Off Message

Posted: Sat Dec 07, 2024 11:26 pm
by utdgrant
I used SMOL RAT as an R-C circuit with short rise time and longer fall time. By taking the Vr output, you get a sort of high-pass response. When the keyboard gate goes high, you get a short positive kick. When the keyboard gate goes low, you get a longer negative kick.

I then take the SMOL RAT output and feed it in to an ACE Compare module. This produces a +5V output on the Overflow jack when the Vx Input goes below -2.5V.

You can vary the duration of the 'Key Off Trigger' pulse by varying the 'Fall Time knob on SMOL RAT. I have this linked to PERFORM KNOB 1 in the patch below:
KeyOffMessage.jpg
KeyOffMessage.jpg (195.71 KiB) Viewed 10732 times
SMOL RAT and ACE Compare are both available free-of-charge in the Dome Music Technologies Freebie Collection.

Re: Key Off Message

Posted: Sat Dec 07, 2024 11:31 pm
by huggermugger
You can also do it very easily with one of Andrew Macaulay's excellent modules, GATE-TRG. It has a Release Trig output from any Gate Input (also an Invert Gate output, which comes in handy sometimes).

Re: Key Off Message

Posted: Sun Dec 08, 2024 12:39 pm
by Schville
You can do it by inverting the keyboard gate, which will change the closing of the gate to a positive-going signal. You'll need an extra 5 volts to raise the signal back to normal (positive offset). Then sum the two into a TRIG TO GATE module, and set the GATE LENGTH to its shortest value (5msec).
That was exactly what I was looking for! Easier than expected, sometimes you're in a dead end in your head and simply can't figure out how to break out :'D



I used SMOL RAT as an R-C circuit with short rise time and longer fall time. By taking the Vr output, you get a sort of high-pass response. When the keyboard gate goes high, you get a short positive kick. When the keyboard gate goes low, you get a longer negative kick.

I then take the SMOL RAT output and feed it in to an ACE Compare module. This produces a +5V output on the Overflow jack when the Vx Input goes below -2.5V.

You can vary the duration of the 'Key Off Trigger' pulse by varying the 'Fall Time knob on SMOL RAT. I have this linked to PERFORM KNOB 1 in the patch below:
That's also a neat solution, I'll use this patch if I need a gate which can get retriggered :D



You can also do it very easily with one of Andrew Macaulay's excellent modules, GATE-TRG. It has a Release Trig output from any Gate Input (also an Invert Gate output, which comes in handy sometimes).
Thanks for that insight, too, didn't noticed this module in my library! Since this patch has a permanent high signal it's not that useful for me because the ADSR phase only completes its cycle when I hold the key pressed.