16

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?

karel
  • 122,292
  • 133
  • 301
  • 332
Jatttt
  • 2,367
  • 12
  • 33
  • 43

2 Answers2

21

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
Requist
  • 2,439
  • 2
  • 25
  • 32
3

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.

mythsmith
  • 151