Amplify

From Avisynth wiki
Revision as of 21:29, 29 March 2006 by Wilbert (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Amplify(clip, float amount1 [, ...])
Amplify(clip, float left, float right)
AmplifydB(clip, float amount1 [, ...])
AmplifydB(clip, float left, float right)

Amplify multiplies the audio samples by amount. You can specify different factors for each channel. If there are more volumes than there are channels, they are ignored. If there are fewer volumes than channels, the last volume is applied to the rest of the channels.

AmplifydB is the same except values are in decibels (dB). You can use negative dB values (or scale factors between 0 and 1) for reducing volume. Negative scale factors will shift the phase by 180 degrees (i.e. invert the samples).

Audio samples are converted to 16 bits in the process.

Personal tools