In physics and engineering, the envelope of an oscillating signal is a smooth curve outlining its extremes.[1] The envelope thus generalizes the concept of a constant amplitude into an instantaneous amplitude. The figure illustrates a modulated sine wave varying between an upper envelope and a lower envelope. The envelope function may be a function of time, space, angle, or indeed of any variable.