[mythtv-users] 0.24RC1 and audio

Greg Oliver oliver.greg at gmail.com
Sat Oct 23 09:56:01 UTC 2010


On Sat, Oct 23, 2010 at 2:30 AM, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
> Hi
>
> On 23 October 2010 02:29, John H <arizonamythtv at gmail.com> wrote:
>> Thanks for the help. Here's the rest of my .asoundrc file.
>
> Can you provide the entire .asoundrc ?
>
> Thanks
> JY

I was playing a bit more last night since this audio normalization was
interesting to me as well.  Here is what I found on the net.  It works
from all of the command line players I tried.  The simplest:

aplay -D normalize <file>

.asoundrc  ...

pcm.normalize {
	type plug
	slave.pcm "ladcomp_compressor";
}

pcm.ladcomp_compressor {
    type ladspa
    slave.pcm "ladcomp_limiter";
    path "/usr/lib/ladspa";
    plugins [{
        label dysonCompress
        input {
            controls [ 0 1 0.5 0.99 ]
        }
    }]
}

pcm.ladcomp_limiter {
      type ladspa
      slave.pcm "plughw:0,7";
      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  ]
              }
          }
     ]
}

pcm.51to2 {
  type route
  slave {
    pcm "plughw:0,3"
    channels 2
  }
  ttable {
    0.0= 1
    2.0= 1
    4.0= 1
    5.0= 1
    1.1= 1
    3.1= 1
    4.1= 1
    5.1= 1
  }
}


More information about the mythtv-users mailing list