Volume consistancy

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

Volume consistancy

#1 Post by 8-bit »

When I started using Puppy, I tweaked the volume as it was really low.
I did so first back when I was using a version of Puppy with Gxine.
It had an amplification slider in the audio controls.
Later, I used PCM in the volume mixer.
When I would on occasion fire up Windows, the volume would boom out at me being very high.
And in Puppy, it would be about middle volume.
But if I turned the volume down in Windows, the lower setting seemed to carry over to a reboot to Puppy and the volume in Puppy would be again very low.
So if when I left Puppy I had the volume cranked up around 75 to 100 percent and then in Windows turned the volume down, Puppy would see the lower volume setting as being the max and not allow getting higher volume.
So now, when I run Windows, I have to make sure the volume is cranked up before returning/ rebooting to Puppy so that the higher volume level is passed on to Puppy.

So does anyone have any ideas as to why the volume varies greatly when switching from one OS to the other?

My PC is a Compaq Presario with a built in Realtek sound card by the way.
And I have it connected to an amplified Altec sound system.


Also, for those that still have very low volume in Puppy and have Windows also, try cranking up the volume in Windows and then rebooting to Puppy.
I am curious as to if the volume will increase for you.

Les Kerf
Posts: 317
Joined: Sun 24 Jun 2012, 13:30

#2 Post by Les Kerf »

I was hoping someone with more experience would chime in here.

I too have noticed lower volume in Puppy, but I have never made any connection in my mind that it could be somehow related to the volume setting in Windows. Reckon I will have to boot up Windows 7 and see what happens.
Les

npierce
Posts: 858
Joined: Tue 29 Dec 2009, 01:40

#3 Post by npierce »

8-bit wrote:Puppy would see the lower volume setting as being the max and not allow getting higher volume.
If I understand you correctly, not only is the volume lower when you reboot into Puppy, but you haven't been able to raise it to where you want it without going back into Windows. Did I understand correctly?

If so, it is possible that Windows is adjusting a control that you normally don't adjust in Puppy.

I think Puppy usually sets some default values when it boots (Master to 0dB, PCM to -12dB, etc.), but maybe the control Windows adjusts is one that Puppy doesn't initialize.

It might be useful to try this:

1. Set the levels as you like them in Puppy and save the output of

Code: Select all

amixer
2. Reboot into Puppy again, and see what controls got changed on the reboot (without involving Windows yet), by running amixer again and examining the output. Save that output as well.

3. Boot Windows, adjust the levels as you like them there, reboot into Puppy and run amixer again before changing the levels. Did some other control change?

Feel free to post the output of the three runs of amixer, if you'd like another set of eyes to look at them.


Of course, something entirely different could be going on, but at least trying this would eliminate one possibility.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#4 Post by pemasu »

/etc/rc.d/init.d/10alsa is the file which adjusts the different parameters for volume. Inspect it and you can change the parameters in it....of course.

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#5 Post by 8-bit »

In most versions of Puppy, the alsa mixer is generic and made to work with many sound cards. So it is possible that some controls for amplification could be missing.
It would seem that the volume at the same percentage level would be the same volume in both windows and Puppy.
But Puppy seems to be consistently lower in volume than windows.
I set the volume controls to a comfortable level in Puppy, reboot to windows, and the volume is consistently higher.
If I have the volume in windows turned down to a lower value, then in Puppy, the volume, even maxed out is lower.
What I am really getting at here is to if others that have both windows and Puppy on their PCs have noticed this.

Also, in Saluki Puppy, the controls seem to show for my specific sound card. I have not tested it to see if a boot to windows from it maintains the same volume.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#6 Post by pemasu »

This post gives some insight about increasing the gain.

http://alien.slackbook.org/blog/adding- ... nd-levels/
Last edited by pemasu on Mon 01 Oct 2012, 14:08, edited 1 time in total.

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#7 Post by 8-bit »

Just some quick questions.

Are Amplification and PCM the same thing?

Is PCM in Puppy set to SW (software) or HD (hardware)?
I have problems finding which configuration file to edit for experimenting.
But it would be nice to get a solution to all of the posts from users about low volume in Puppy.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#8 Post by pemasu »

I think that PCM and Pre-Amp are different things. I got the Pre-Amp using the later config description from the later posts. It created the Pre-Amp new slider for me.

I first used Multiple Sound Card wizard to create /etc/alsa.conf for me which I then edited.

Nice testing.

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#9 Post by 8-bit »

I know I am the one that brought this issue up.
But I am still having problems getting an amplification slider to show up in alsamixer.
And for getting a solution that works, would it be possible to make a PET of the changes required to get the addition of an amplification slider to appear in alsamixer?
Trying to find what file to change or add for this is daunting for me and would be for a new user with no sound/low volume issues.
I do not know if the solution is generic enough for one PET to be used with all versions of Puppy either.
I am bouncing between Puppy Lucid 520 and Puppy Slacko 5.3.3.

I did stumble through and try it with Slacko with the result being that I had no amplification slider appear and also no sound at all.
I reverted to my old settings to recover.

User avatar
`f00
Posts: 807
Joined: Thu 06 Nov 2008, 19:13
Location: the Western Reserve

#10 Post by `f00 »

Hi 8-bit

Onboard sound is one of those things that seems historically slanted to windows (aftermarket cards not so much). Drivers were optimized for the oem as purchased and alsa plays catchup with some onboard audio left behind more-or-less. Daunting for anyone newly into linux and non-desktops in particular.

PCM is pulse code modulation (not that that means a heckuva lot to most folk) - I think of it as the gain on a power amp usually set to full. Some other gains can be up/downed a bit - usually I go thru about a couple dozen sliders on my alsamixer, each to just under red and a few like mic/boost off/muted - later I pick up or drop gain to match the source (CD, midi and so on). Some apps use PCM as the main volume control rather than the 1st 'master'. Add to that specialized plugins that are available in xmms, audacious and others and it can be a bit more.

Matching windows volume to linux volume is just one of those things that (as you've already found) can be inconsistent with various hardware setups, despite lots of fiddling. Good luck.

As far as a generic dotpet goes, it might well be more of a breaker than a fixer since hwr (and pups!) are so various. :lol: look at the fun we have with getting the display correct (or even useable) with the more recent xorg in some dogs.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#11 Post by disciple »

In most versions of Puppy, the alsa mixer is generic and made to work with many sound cards.
So is it normal for it not to work with some sound cards? Do you happen to know where there's some documentation for this adding of pre-amp controls and stuff?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#12 Post by disciple »

Oh, I followed the Alien link and I see - you are talking about a software preamp. But surely Windows doesn't use a software preamp for those cards...?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#13 Post by 8-bit »

I have windows Vista on one PC and windows 7 64 bit on another and nowhere in the control panel settings for the sound cards can I find any amplification settings!
As a matter of fact, the PC that has Vista on it says in its manual that one has to use amplified speakers with that sound card.
But in Puppy, I was able to use software amplification and the settings from it seemed to carry over to a reboot to windows increasing the volume.
So either the manual for the windows Vista PC is wrong, or hidden features of the sound card are not being used by Vista.

And by the way, after making a /etc/alsa.conf file with the code from the link, I did get an amplification slider in alsamixer. I should mention though that the PCM slider had disappeared.
But that could have been due to me not understanding just how to set things up in my initial changes.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#14 Post by disciple »

If any sort of setting can carry over between two different operating systems it must be some sort of hardware setting, not a software setting. Out of interest, does it carry over after you power off instead of doing a soft reboot?

> As a matter of fact, the PC that has Vista on it says in its manual that one has to use amplified speakers with that sound card.

FWIW, as far as I can tell, that is standard for modern sound cards (or at least on board sound cards).
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply