Envelope detector

An envelope (red) outlines a signal (black)

An envelope detector (sometimes called a peak detector) is an electronic circuit that takes a (relatively) high-frequency signal as input and outputs the envelope of the original signal.