Command for increasing the volume of mp3 with lame

I'm using Ubuntu 12.04 (mostly Unity 2D) and I want to use lame in the terminal. I had been using it as an mp3 amplifier, but I forgot the command, all I remember is:

lame scale-<scale you want to increase> <infile> <outfile>

But it shows:

lame: excess arg Because.mp3 out

Because.mp3 is the filename.

Can anyone tell me the command for it?

0

2 Answers

You have to use:

lame --scale <scale you want to increase> <infile> <outfile>

So that would be in your example:

lame --scale 3 Because.mp3 Because_loud.mp3
2

You should properly escape filenames if they contain spaces, either surrounding them with double quotes or by using the "\" escape character.

lame --scale 3 "Because you should escape.mp3" out.mp3
lame --scale 3 Because\ you\ should\ escape.mp3 out.mp3

If you do not escape, bash will pass to lame just Because as its input file, and lame will exit with an error.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like