I want to have something similar to this device and believe should be fairly simple.
This is how I would explain this (simplified) device: Audio is only passed through if it's above the given threshold. Amplitude is dependent on an AHD envelope.
I know how to do the envelope part but failed to find a way to get a trigger for the threshold.