Linux Guide/Audacity to MP3

< Linux Guide

Setting Up Audacity

Before we can use Audacity, we need to install it.

MP3s and Audacity

To make MP3s, Audacity needs the LAME library installed. First we need to create LAME, then tell Audacity where it is. You can list all compatible files in /usr with the command

find /usr |grep -E 'lib[^*]*lame[^*]*.so'

or your whole computer with

find / | grep -E 'lib[^*]*lame[^*]*.so'

If you find a libmp3lame.so file (using Debian Sarge 3.1r1), just tell Audacity were it is (below).

Otherwise, you will need to make LAME first:

Install LAME

cd "<directory>"

replacing <directory> with the directoy LAME was extracted to; and press enter. e.g.: cd "/home/user/lame"

cd "lame*"

to go into a directory called something like "lame-3.96.1". You can use cd "lame-3.96.1" instead. You may need to go deeper into the DIR,...so once again;

cd lame*

such that you may end up here (or similar); /LAME/lame-3.96.1/lame-3.96.1

Once you are able to type in;

./configure --help

and get back an output of useful info, instead of a bash/shell error you know then you are in the correct DIR.


./configure
make

and press enter.

make install

and press enter. If you aren't root, type:

su -c "make install"

and press enter. Type the root password when asked (it will be invisible) and press enter.

Install to Audacity

When LAME is installed, we need to tell Audacity about it. The first time you go to export to an MP3 Audacity will ask you where libmp3lame.so is located. You can simply point it to the libmp3lame.so file, normally in the /usr/local/lib folder, and click OK and you should be all set.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.