2010-04-23, 23:10
I've found this article that explain how-to normalize audio on the fly with an alsa plugin.
Can be adapted to work with nvidia hdmi interface?
http://www.miscfits.com/2009/09/normaliz...audio.html
content of .asoundrc
Can be adapted to work with nvidia hdmi interface?
http://www.miscfits.com/2009/09/normaliz...audio.html
content of .asoundrc
Code:
pcm.ladcomp {
type plug
slave.pcm "ladcomp_compressor";
}
pcm.ladcomp_compressor {
type ladspa
slave.pcm "ladcomp_limiter";
path "/usr/lib/ladspa";
plugins [
{
label dysonCompress
input {
#peak limit, release time, fast ratio, ratio
controls [0 1 0.5 0.99]
}
}
]
}
pcm.ladcomp_limiter {
type ladspa
slave.pcm "plughw:0,0";
path "/usr/lib/ladspa";
plugins [
{
label fastLookaheadLimiter
input {
#InputGain(Db) -20 -> +20 ; Limit (db) -20 -> 0 ; Release time (s) 0.01 -> 2
controls [ 20 0 0.8 ]
}
}
]
}