AudioLimiter

From Avisynth wiki
Jump to: navigation, search
Abstract
Author dimzon
Version 2006-03-14
Download AudioLimiter-2006-03-14.zip
Category Audio filters
License Closed source
Discussion Doom9 Forum

Contents

Description

Pupose: To increase volume for silent sounds a lot, to increase volume for middle-volume sounds a little and to keep hi-volume sounds untouched.
This must help to increase volume for speech/dialog without increasing volume for shoots, etc.


Math explained:

 for exponential:
        output = (input<0?-1:1)*(pow(10.0f, tanh( factor * log10(1 + abs(input)*9))/tanh(factor) ) - 1)/9
 for linear:
        output = tanh( factor * input) / tanh(factor)


Requirements


Syntax and Parameters

ExpotencialLimiter(clip, float "factor")
LinearLimiter (clip, float "factor")
WavGainLimiter(clip, float "factor")


clip   =
Input clip; audio must be float, use ConvertAudioToFloat if needed.


float  factor = 1.0
factor - proposed values are 1.0...5.0, default is 1.0
! Higher factor values increases the effect but can produce artifacts.



ExpotencialLimiter(clip, float "curve")


clip   =
Input clip; audio must be float, use ConvertAudioToFloat if needed.


float  curve = 0.7
curve - proposed values are 0.0...1.0, default is 0.7


Examples

WavSource(...)
ConvertAudioTofloat()
Normalize()
LinearLimiter(2.0)


Changelog

Version      Date            Changes
2006/03/14 - latest release


Archived Downloads

Version Download Mirror
2006-03-14 AudioLimiter-2006-03-14.zip AudioLimiter-2006-03-14.zip


External Links




Back to External Filters

Personal tools