Amplify

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
 
m (1 revision)

Revision as of 17:02, 9 May 2013

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