You are not logged in.

#1 2007-10-29 20:53:15

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

crank it up to 11?

hey guys, is there a way to increase the maximum volume output of alsa?

I've tried the method of increasing the ttable gain, but that only seems to distort the sound itself as opposed to making it louder.

Here is my .asoundrc if you're curious

pcm.!default {
   type plug
   slave.pcm "duplex"
}

pcm.dmixer  {
   type dmix
   ipc_key 1024
   ipc_perm 0666
   slave {
      pcm "hw:0,0"
      format S32_LE
      period_time 0
      period_size 1024
      buffer_time 0
      buffer_size 11264
      rate 96000
   }
   bindings {
      0 0
      1 1
   }
}

pcm.gain{
    type route
    slave.pcm dmixer
    ttable.0.0 1.5
    ttable.1.1 1.5
}

pcm.duplex{
    type asym
    playback.pcm "gain" #add the gain
    capture.pcm "hw:0"
}

ctl.dmixer {
   type hw
   card 0
   device 0
}
pcm.dsp {
    type plug
    slave.pcm "duplex"     # use our new PCM here
}
ctl.mixer {
    type hw
    card 0
}

Offline

#2 2007-10-29 22:23:34

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

Re: crank it up to 11?

nevermind, I got it

here is my new asoundrc if anyone is curious

pcm.!default {
   type plug
   slave.pcm "softvol"
#   slave.pcm "duplex"
}

pcm.softvol{
    type softvol
    
    slave.pcm "gain"
#    playback.pcm "gain"

    control.name "Softmaster"
    control.card 0

    min_dB -30.0
    max_dB 20.0
}

pcm.dmixer  {
   type dmix
   ipc_key 1024
   ipc_perm 0666
   slave {
      pcm "hw:0,0"
      format S32_LE
      period_time 0
      period_size 1024
      buffer_time 0
      buffer_size 11264
      rate 96000
   }
   bindings {
      0 0
      1 1
   }
}

pcm.gain{
    type route
    slave.pcm dmixer
    ttable.0.0 5
    ttable.1.1 5
}

pcm.duplex{
    type asym
    playback.pcm "gain" #add the gain
    capture.pcm "hw:0"
}

ctl.dmixer {
   type hw
   card 0
   device 0
}
pcm.dsp {
    type plug
    slave.pcm "duplex"     # use our new PCM here
}
ctl.mixer {
    type hw
    card 0
}

Last edited by NoOneImportant (2007-10-29 22:33:05)

Offline

Board footer

Powered by FluxBB