View Full Version : AudioLimiter - new alpha (2006-03-14)
dimzon
10th March 2006, 15:28
Download it here (http://www.mytempdir.com/515614)
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)
this is curves for LinearLimiter:
output = tahh(input*factor) / tanh(factor)
http://img64.imageshack.us/img64/3035/tmp1141993187p629f25xl.gif
factor = 1
factor = 1.5
factor = 2
factor = 3
factor = 4
Please, provide your feedback
This filter will be included into NicAudio later.
neuron2
10th March 2006, 15:32
How about telling us in words what it does? Also, what is the usage of the parameters?
You could put that in the help file as well.
Thank you.
dimzon
10th March 2006, 15:37
How about telling us in words what it does? Also, what is the usage of the parameters?
You could put that in the help file as well.
Thank you.
This is yet another way to Dynamic Range Compression
http://www.harmony-central.com/Effects/Articles/Compression/
http://en.wikipedia.org/wiki/Companding
http://www.harmony-central.com/Effects/Articles/Compression/compression-f2.gif
I'm trying to create something equal custom gain modes in BeSweet
neuron2
10th March 2006, 15:56
You've still not answered the questions!
I know from experience that the usefulness of tools is heavily dependent on the quality of the documentation.
Of course, if you don't care if people use your stuff...
Dark-Cracker
10th March 2006, 15:56
why not try to ask DSPguru if he can share some part of besweet ? since it seems he doesn't have much time to work on it.
keep up the good work.
++
dimzon
11th March 2006, 13:34
why not try to ask DSPguru if he can share some part of besweet ? since it seems he doesn't have much time to work on it.
I send him PM but he doesn't answer yet
IanB
12th March 2006, 05:34
Download it here
http://www.mytempdir.com/506307
I wish people would stop using these sites that respondYou have requested the file ID: 506307
Error: JavaVIRUSES must be enabled.:mad: Please just publish a direct link to the file so {right click} "Save target As" or a simple wget works correctly and easily.
There is no excuse especially as Richard has been good enough to provide a good amount of download space for Avisynth users to use.
buzzqw
12th March 2006, 09:18
direct link www.64k.it/andres/audioLimiter-2006-03-10.zip
BHH
dimzon
12th March 2006, 09:56
There is no excuse especially as Richard has been good enough to provide a good amount of download space for Avisynth users to use.
Please tell me more about it...
PS. About JavaScript and Security - just use Firerox if You care about it
IanB
12th March 2006, 11:16
@buzzqw, Thx! :D
@dimzon,
What no source code :(
ftp://tempclips%40avisynth.org:QfJY(86m@avisynth.org/
Find any post by Richard Berg and read his signature.
Consider my complaint a compliment. Normally links that don't work in my restricted policy environment, I just move on. There are many more things of interest for my limited time. This one I took enough interest to stay and fight.
And yes Firefox is a step in the right direction but malicious JavaVirus^H^H^H^H^HScript can still cause even it a level of unconfortable grief. And using these sites just encourages them.
The real problem is the breaking of {right-click} SaveAs. I do it now and save the file. Some time later (maybe days) I look at the contents and am disappointed/annoyed that I got a crappy web page that won't run free standing and no interesting downloaded file.
dimzon
12th March 2006, 12:00
ftp://tempclips%40avisynth.org:QfJY(86m@avisynth.org/
Find any post by Richard Berg and read his signature.
Unfortunally my corporate firewall disallow FTP interaction. In other case I have no VC++ compiler at home
dimzon
13th March 2006, 13:45
new version is out, please test it!
dimzon
14th March 2006, 12:36
new version is out - serious bugfix and new limiter from AudX
PLEASE TEST!
sh0dan
14th March 2006, 18:51
Very interesting!
But I cannot download (Too many downloads, try again later). :(
Edit: ok - got through.
I know documentation isn't easy, when english isn't your primary language, but couldn't you please insert a LOT of examples for us to experiment on, then.
Fizick
15th March 2006, 05:55
This filter will be included into NicAudio later.
IMHO, it is not right idea to put all in one.
Separate is better to maintan.
Dark-Cracker
30th September 2006, 14:47
is there still a working link ?
i couldn't find the filter in the external plugin section on the avisynth siteweb.
Keep up the good work.
Bye.
lid2000
21st October 2006, 06:16
Can someone please upload or send this file to me? I need to do DRC on an audio source *after* it's been downmixed to two channel via AviSynth, and this looks like the only thing that would do it.
Mug Funky
17th November 2006, 05:32
soxfilter("compand attack1,release1,attack2,release2 in_dB1,out_db1,in_db2,out_db2 postgaindb lookahead") should do DRC.
it's really tricky to use though, and you should probably use a limiter after it... all attack/release times are in seconds.
tebasuna51
25th November 2006, 02:07
soxfilter("compand attack1,release1,attack2,release2 in_dB1,out_db1,in_db2,out_db2 postgaindb lookahead") should do DRC.
You can see a first approach (http://forum.doom9.org/showthread.php?p=779165#post779165) at BeHappy thread.
But the Normalize() function don't work after Sox compand, maybe because:
"compand is very hard to control, and doesn't support restarts (crash)"
Mug Funky
28th November 2006, 07:05
that's alright - it's senseless to use normalize after compressing. if you're messing with dynamics and loudness, a peak limit is far more useful than a normalize.
[edit]
i read the document there, and it seems normalize is used because volume is limited to -20dB as per dolby's presets. i think in this case using postgain in compand itself to add 10dB would be enough.
sh0dan
27th December 2006, 18:39
Attached latest version to this post. (AudioLimiter-2006-03-14.zip)
IanB
28th December 2006, 00:06
Still no source :(
Pookie
29th December 2006, 03:11
Thanks, sh0dan - that one was impossible to find....
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.