Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Dec 2014, 03:31
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How Can I Turn Volume Up In A Remaster?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
Ghost Dog


Joined: 27 Jan 2012
Posts: 108

PostPosted: Fri 02 Nov 2012, 21:47    Post subject:  How Can I Turn Volume Up In A Remaster?  

I want to remaster Puppy, but I find the default volume to be too quiet.

Is there a settings file I can change and then place in the .sfs?
Back to top
View user's profile Send private message 
mill0001

Joined: 01 Feb 2007
Posts: 375
Location: "People's Republik of Kalifornia"

PostPosted: Fri 02 Nov 2012, 22:00    Post subject:  

Hi, run "alsamixer" (without the quotes) in your console and use your arrow keys to crank everything up to 100%. Then check volume level with a video or Youtube to see if it's high enough to suit you.
Back to top
View user's profile Send private message 
puppyluvr


Joined: 06 Jan 2008
Posts: 3229
Location: Chickasha Oklahoma

PostPosted: Fri 02 Nov 2012, 23:51    Post subject:  

Very Happy Hello,
May depend on the soundcard..
But are you saying
1. You want to reset the default volume at boot...
Alsa sets itself up, and generates defaults..
You would have to edit the alsa scripts, which is inadvisable..

2. Or that your remaster has a limited maximum volume?
Soundcard specific....

_________________
Close the Windows, and open your eyes, to a whole new world
http://puppylinuxstuff.meownplanet.net/puppyluvr/
Puppy Linux Users Group on Facebook

Puppy since 2.15CE...
Back to top
View user's profile Send private message Visit poster's website 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Sat 03 Nov 2012, 16:19    Post subject:  

Hi Ghost Dog,

You didn't mention which Puppy you have or whether the remaster is for your personal use or for distribution, but here are a couple different methods you could use to do this depending on the audience for the remaster and the Puppy you have.

Method A: Include the /etc/asound.state file in your remastered Puppy.

This is definitely not the best way, but is perhaps the easiest way. This would only be good for a personal remaster that you only use with one sound card. This is becasue the asound.state file is customized for the controls on the sound card that it was created for. You wouldn't want to use this method if you are going to distribute your remaster to folks with other sound cards. Also, I'm not sure if older Puppies will use the asound.state file at boot time.

1. Use your favorite mixer to set levels as you like them.

2. Run this command to save the values:
Code:
alsactl store -f /etc/asound.state

3. Test by using your mixer to change a few settings and rebooting. If the settings that you set in step 1 are not restored, this method won't work on your Puppy.

4. If step 3 worked for you, be sure to include /etc/asound.state in your remaster.

5. Remember, this works only for your sound card. Don't distribute it.


Method B: Alter the default settings in /etc/initrd/10alsa.

1. Use your favorite mixer to set levels as you like them.

2. Find the names and levels of the controls that you want to initialize by looking at the output of this command:
Code:
amixer | less

Probably the most common name for you master output control is 'Master'. Some other names used with various sound cards are 'Master Mono', 'Master Front', and 'Analog Front'.

3. Edit /etc/init.d/10alsa. You will see lines like this:
Code:
set Master 75% unmute
set Master -12dB

Note that, as in the above example, the level for some controls is set twice, first as a percent and then as a decibel level. The level in the second line will override the level in the first line. Some controls for some mixers don't support dB settings, so I'm assuming that the level in the first line is used in those cases.

For any control that you want to initialize with different values than those already given in the script, change the values in the lines to match the % and dB values given by amixer in step 2 above. (Both left and right channels will be set to these values. If, like some of us, you are a little unbalanced, you can set different values for each channel by using two values separated only by a comma (no space), like so: 81%,74% or -9dB,-12dB . Smile )

If you plan on distributing your remaster to others with different sound cards, you may also want to change the values for some of the similar controls used by other sound cards. For instance, your sound card might use 'Master', but another sound card might use 'Master Front'. Or just leave them as-is -- after all, it is possible that your sound card puts out less sound at 100% than another sound card would at 75%, so others might not need the increase in the default volume.

4. Temporarily hide you asound.state file with this command:
Code:
mv /etc/asound.state /etc/asound.state.hid

5. Test by changing the settings with any mixer, and rebooting to see if the settings you set in step 3 are restored.

6. After reboot, restore your asound.state file with this command:
Code:
mv /etc/asound.state.hid /etc/asound.state

7. If step 5 restored the settings that you set in step 3, this should work on the remaster as well. Be sure to include your modified /etc/init.d/10alsa in your remaster. And, unlike Method A above, do NOT include /etc/asound.state in your remaster. If you were to include the asound.state file, it would be used instead of the default settings that you just changed in 10alsa (which is also why we hid it when testing).


Although a little more work, this second method is preferable to Method A, since it will avoid confusion if someday in the future you change sound cards. Also the remaster can be shared with others.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0577s ][ Queries: 11 (0.0037s) ][ GZIP on ]