Name
Fade -- apply a fade-in and/or fade-out to the audio
Synopsis
fade [type] fade-in-length [stop-position(=) [fade-out-length]]
Function
Apply a fade effect to the beginning, end, or both of the audio.

An optional type can be specified to select the shape of the fade curve: q for quarter of a sine wave, h for half a sine wave, t for linear ("triangular") slope, l for logarithmic, and p for inverted parabola. The default is logarithmic.

A fade-in starts from the first sample and ramps the signal level from 0 to full volume over the time given as fade-inlength. Specify 0 if no fade-in is wanted.

For fade-outs, the audio will be truncated at stop-position and the signal level will be ramped from full volume down to 0 over an interval of fade-out-length before the stop-position. If fade-out-length is not specified, it defaults to the same value as fade-in-length. No fade-out is performed if stop-position is not specified. If the audio length can be determined from the input file header and any previous effects, then -0 (or, for historical reasons, 0) may be specified for stop-position to indicate the usual case of a fade-out that ends at the end of the input audio stream.

Any time specification may be used for fade-in-length and fade-out-length.

See also the splice effect.


Show TOC