On 5/7/09, Dan Mueller <[email protected]> wrote:
>
>
>
>
> Hello all. First of all, thanx a lot for the slides of last nights
> presentation. This makes things a little more clear as to how to work with
> command line. They say that knowledge is power and if you know command line
> than you can work in any system so thanx to whoever came up with the idea to
> do this subject.
>
>
>
>  There are many useful commands on the slides so im sure that there will be
> more questions on the slide show but my first one is regarding lame. Do you
> mean to tell me that I can convert a wav file by just typing on the command
> line “ lame, space, than the existing file name with the extension, than
> another space, than the new name with the mp3 extension “??  Do I need to
> first do a cd to be in the directory where the wav file is in?? just a
> little clarification please.
>
>
>
> Thanx
>
> Dan

If your .wav files are in a directory named "/home/dan/music", then
the easiest way for you may be to do this:

cd /home/dan/music
lame song.wav song.mp3


You could also do it this way:

lame /home/dan/music/song.wav /home/dan/music/song.mp3


Here are some of the basic examples from the lame(1) man page:

EXAMPLES
Fixed bit rate jstereo 128kbs encoding:

        lame sample.wav sample.mp3

Fixed bit rate jstereo  128  kbps  encoding,  highest  quality (recom-
mended):

        lame -h sample.wav sample.mp3

Fixed bit rate jstereo 112 kbps encoding:

        lame -b 112 sample.wav sample.mp3

To  disable joint stereo encoding (slightly faster, but less quality at
bitrates <= 128 kbps):

        lame -m s sample.wav sample.mp3

Fast encode, low quality (no psycho-acoustics):

        lame -f sample.wav sample.mp3

Variable bitrate (use -V n to adjust quality/filesize):

        lame -h -V 6 sample.wav sample.mp3

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to