MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 4 posts ] 
Boost sound output of system overall (add a Pre-Amp slider to mixers) 
Author Message
MEPIS Enthusiast
MEPIS Enthusiast
User avatar

Joined: Fri Dec 15, 2006 8:07 pm
Posts: 7356
Location: Skullcrusher Mountain, Santee, CA USA
Has thanked: 322 times
Have thanks: 1185 times
Post # 198649
Post Boost sound output of system overall (add a Pre-Amp slider to mixers)
Though SMPlayer can overcome this with its software volume control, I just found this page while looking for something else, and the method works on my laptop. This should boost sound levels in KMplayer, Kaffeine, embedded Flash video, and so on. I know we have had posts about low volumes for laptops; the desktop users can just crank up their amplified speakers.

I did not have an /etc/asound.conf file, but just created a new one:

kdesu kwrite /etc/asound.conf

and pasted in the code from the link:

Code:
pcm.!default {
      type plug
      slave.pcm "softvol"
  }

  pcm.softvol {
      type softvol
      slave {
          pcm "dmix"
      }
      control {
          name "Pre-Amp"
          card 0
      }
      min_dB -5.0
      max_dB 20.0
      resolution 6
  }
then saved the file, and rebooted. Now I have a new slider
in the Kmix mixer labled 'Pre-Amp." (Tip: in Kmix settings,
turn on the labels for the sliders) Pushing it to the top
will boost the sound over the previous levels for the entire
system.

_________________
Lenovo ThinkPad Edge 14 inch:
4 GB RAM, Intel i5-480 processor, Intel HD graphics and sound, Intel 1000 "n" WiFi,
Acer CrystalEye webcam, Hot Keys, suspend, hibernate, KDE openGL effects:
all work out of the box with 64-bit MEPIS 11!


Thu Oct 22, 2009 3:41 am
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Wed Jul 12, 2006 1:31 am
Posts: 1451
Has thanked: 44 times
Have thanks: 73 times
Post # 198661
Post 
Just tried this in 'bongo 9.10 - works with Flash audio, not with Rhythmbox - I guess it depends on how the app feeds the sound system - will try on Mepis later. My sound is a 7.1 hda-intel and my asound.conf is:

Code:
pcm.!default {
      type plug
      slave.pcm "softvol"
  }

  pcm.softvol {
      type softvol
      slave {
          pcm "surround71"
      }
      control {
          name "Pre-Amp"
          card 0
      }
      min_dB -5.0
      max_dB 20.0
      resolution 6
  }


The blog links to the very useful looking Unofficial ALSA wiki:

http://alsa.opensrc.org/index.php

I followed this page to find out what channels/dev are available for use as pre-amp:

http://alsa.opensrc.org/index.php/How_to_use_softvol_to_control_the_master_volume

_________________

::AMD Phenom II X2 550 BE 3.1GHz::Gigabyte GA-MA785GMT-UD2H::Crucial 2gig DDR3 1333MHz/PC3-10600::Hitachi DeskStar 1TB Hard Drive SATAII 7200rpm 16MB Cache::
::O² Joggler::


Thu Oct 22, 2009 5:39 am
Profile WWW
MEPIS Guide
MEPIS Guide
User avatar

Joined: Thu Jul 26, 2007 2:40 am
Posts: 2037
Location: Bakersfield, CA
Has thanked: 25 times
Have thanks: 78 times
Post # 198697
Post 
Stevo I just gave it a try and it worked, I just gave it a little boost, any more than a 1/3 boost and the sound was distorted.

_________________
Registered Linux User #380263
Registered Linux Computer #279395
Linux, working hard to save you $$$ - Get a clue, get Linux!
Intel Pentium D 2.80GHz
Intel Desktop Board D945GTP
Intel ICH7 Ethernet Controller
Intel ICH7 Audio
nVidia GeForce 6200 Video


Thu Oct 22, 2009 9:41 am
Profile WWW
MEPIS is cool!
MEPIS is cool!

Joined: Sun Dec 09, 2007 4:19 am
Posts: 573
Has thanked: 25 times
Have thanks: 24 times
Post # 209041
Post 
That is a great tip and tonight we lay in bed trying to watch a movie on the laptop, and had to watch something else cause the sound was simply to low. I will try installing it in the morning and also I will add an entry in Sound tips and tricks in the wiki.

_________________
The simplest things are the hardest to solve
P8Z68-V PRO, Intel i7 2600k


Thu Dec 31, 2009 12:45 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.