What should the Release Gate be connected to?
It depends on your application. One typical use would be to connect both the Gate In of the 1st segment and the Release Gates of any segments that require Release Gate control directly to the Gate output of a Midi to CV module. When a note is played, the Midi to CV Gate goes positive, triggering the beginning of the envelope, and when the note is released, it falls to 0, triggering the Release Gates of the connected segments. The Release Gates could also be set up so that retriggering interrupts the generation of the previous note’s envelope, as in the AHD envelope generator below: Here, the Monostable’s output, which is -5 in the absence of a pulse, is subtracted from the constant 5 (5-(-5)=10), sending a 10 to the Hold and Decay segments’ Release Gates. If a new note is triggered, the Gate signal fires the Monostable pulse (pulse width set to a very short value so it will be shorter than the duration of the Attack segment). The subtraction becomes (5-(5)=0) , and a 0 is sent to the R