asked Jan 22 at 13:34 by former (130)

edited Jan 23 at 21:31


May be a stupid question: but how can I create an „key release“ event? Scenario: i have 2 oscillators with their adsr and obe shall start when the other has finished with its adsr.

I can use the modulator exit of the first osc to lower the volume (on a joint mixer) of the 2nd osc while its active, But this is not the same-as the 1st adsr is in its release phase, the 2nd osc is slowly activated-I need a strict change where osc 2 starts completely and only at the very end of osc1.. Is there a way to create a trigger on a key release event? Here's a visual from the existing "soft aftertouch" Thanks in advance, Former

Key release should be easy; it's just the inverse of the gate signal. When gate goes 0, release goes 1. Run "Gate In" through logical "Not" and you have a trigger signal for key release.

The second paragraph sounds like a different (but related) question. What you need is a bit of logical magic to produce a gate signal that will go high when the first envelope is totally finished (returns to zero). Use the "=" module, which defaults its second operand to 0. Logical-AND this with the inverse gate signal from first paragraph -- voila, you have the trigger for the second phase. Here's a screenshot -- happy hacking!


answered Jan 23 at 06:44 by voidshine (154)

Hi Voidshine,

Thank you soo much! This is great! I checked it out and it really makes a strict distinction between the sound and the aftertouch- great!

This brought me to the next level- what I really want to achieve is the keyboard playing a plugged violin (Staccato) for a short keypressure or a long violin (legato) for a long keypressure..starting with your design, I could finally find something for that- not perfect but on the way, need to fiddle with the gate length (that decides if the plug or the legato is played)..I got away from the logical circuits.. I still struggle to master them..built flip-flops but that all failed..I think my design now is simpler using just comparators. :) Was only possible with our help Thanks again!


answered Jan 23 at 23:04 by former (130)

edited Jan 23 at 23:04

Hi Voidshine; In case you look into here again: based on your logic, I built now an "endless" piano with an attack part (ramp-up), an endless looped middle part and and release part- for the middle part, the new "cycle" mode showed better, smoother result to be integrated than the traditional "looping". I think this opens a broad set of possibilities for instruments with character (strings, brass, etc..). the fiddly point is to have smooth transition points between the 3 samples. Inputs welcome, best regards, Former


answered Jan 29 at 00:08 by former (130)

Glad to see you're getting what you want from the Grid! As for smooth transitions... I find cross-fades to be pretty effective at smoothing out rough edges. Maybe try triggering an envelope on mixer levels instead of hard switching. In any case, looks like good work. Have fun and thanks for sharing. :)

  — (Jan 29 at 06:19) voidshine

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jan 22 at 13:34

Seen: 92 times

Last updated: Jan 29 at 06:19