AudioLimiter

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(AudioLimiter: add documentation)
(add author link)
 
Line 1: Line 1:
 
{{FilterCat|External_filters|Plugins|Audio_filters}}
 
{{FilterCat|External_filters|Plugins|Audio_filters}}
 
{{Filter3
 
{{Filter3
| dimzon
+
|1=[https://github.com/dimzon dimzon]
| 2006-03-14
+
|2=2006-03-14
| 3=[https://forum.doom9.org/attachment.php?attachmentid=6586&d=1167241138 AudioLimiter-2006-03-14.zip]
+
|3=[https://forum.doom9.org/attachment.php?attachmentid=6586&d=1167241138 AudioLimiter-2006-03-14.zip]
| 4=Audio filters
+
|4=Audio filters
| 5=Closed source
+
|5=Closed source
| 6=[https://forum.doom9.org/showthread.php?t=108470 Doom9 Forum]}}
+
|6=[https://forum.doom9.org/showthread.php?t=108470 Doom9 Forum]}}
  
 
== Description ==
 
== Description ==

Latest revision as of 19:34, 25 February 2023

Abstract
Author dimzon
Version 2006-03-14
Download AudioLimiter-2006-03-14.zip
Category Audio filters
License Closed source
Discussion Doom9 Forum

Contents

[edit] 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)


[edit] Requirements


[edit] 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


[edit] Examples

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


[edit] Changelog

Version      Date            Changes
2006/03/14 - latest release


[edit] Archived Downloads

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


[edit] External Links




Back to External Filters

Personal tools