Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
10th March 2006, 15:28 | #1 | Link |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
AudioLimiter - new alpha (2006-03-14)
Download it here
Code:
Warning! This is ALPHA version! Syntax: WavGainLimiter( Clip c, Float factor) LinearLimiter( Clip c, Float factor) ExpotencialLimiter( Clip c, Float factor) factor - proposed values are 1.0...5.0, default is 1.0 ! Higher factor values increases the effect but can produce atrifacts SoftClipperFromAudX( Clip c, Float curve) curve - proposed values are 0.0...1.0, default is 0.7 Pupose: To increase volume for silent sounds a lot, to increase volume for middle-volume sounds a little and to keep hi-volume sounds untoched. This must help to increase volume for speech/dialog without increasing volume for shoots etc Higher factor values increases the effect but can produce atrifacts. Recomended value between 1.0 and 5.0 This filter reques Normalized Float audio at input. Math explained for expotential: 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) ############################################ Sample: wavSource(...) convertAudiotofloat() normalize() LinearLimiter(2) output = tahh(input*factor) / tanh(factor) factor = 1 factor = 1.5 factor = 2 factor = 3 factor = 4 Please, provide your feedback This filter will be included into NicAudio later.
__________________
BeHappy - AviSynth-based audio transcoding tool Audio encoding via AviSynth On2 VP7 is great in quality but it is unusable for long-term video backup puposes! Sincerely Yours, MCPD/MCTS Last edited by dimzon; 14th March 2006 at 12:35. Reason: new version is out |
|
|