Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 15th November 2007, 11:20   #1  |  Link
shevegen
Registered User
 
Join Date: Nov 2003
Posts: 422
Increase or decrease audio volume on cmdline

Anyone knows a cmdline way to inrease or decrease audio volume?
so that it gets louder or more silent

At best of course any audio format, but I would be fine if its .wav or .mp3
__________________
OS: Paldo (Linux)
AviSynth for Linux, go go go!
shevegen is offline   Reply With Quote
Old 15th November 2007, 12:14   #2  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Do you mean adjusting playback volume in sound card mixer settings, or changing the audio volume of a music file permanently.

There are many command-line mixer tools. On Linux, take a look at amixer (ALSA tool) or aumix (ALSA and OSS).

For volume normalization, search for mp3gain, aacgain and vorbisgain.

To adjust volume of wav files, use Sox.
nm is offline   Reply With Quote
Old 15th November 2007, 12:40   #3  |  Link
shevegen
Registered User
 
Join Date: Nov 2003
Posts: 422
Hi,

Permant modifications

alsamixer etc.. turning volume up is trivial
Also no "normalization", just a set to a target i can specify.

I will play with sox, thanks.
__________________
OS: Paldo (Linux)
AviSynth for Linux, go go go!
shevegen is offline   Reply With Quote
Old 15th November 2007, 14:23   #4  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Well, you can use mp3gain and aacgain to adjust gain by a specific amount. Using them makes sense if your input files are encoded and you want to keep the output in the same format. Otherwise you'll need to re-encode and quality will suffer.
nm is offline   Reply With Quote
Old 15th November 2007, 19:21   #5  |  Link
shevegen
Registered User
 
Join Date: Nov 2003
Posts: 422
Quote:
Otherwise you'll need to re-encode and quality will suffer.
Good point!
Do you by chance know by how much the quality will suffer?
__________________
OS: Paldo (Linux)
AviSynth for Linux, go go go!
shevegen is offline   Reply With Quote
Old 15th November 2007, 22:11   #6  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
That will depend on the quality of the input file. 48kbps AAC will probably suffer noticeably, good quality 128kbps MP3 not so much (you probably won't hear the difference). But as I said, in these cases you can adjust the volume without re-encoding and without losing quality.
nm is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:00.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.