This is the circuit of the Attack-Release Envelope Generator of the Noise Toaster MFOS by Ray Wilson, the rate of the attack and release are controlled by the two pots next to diodes; push up the button and then release it to generate the envelope. The SPDT switch is manual, change to the right to repeat the envelope.