LAME is a program for the encoding of multimedia data
into the MP3 format.

LAME is an educational tool to be used for learning about MP3 encoding.
The goal of the LAME project is to use the open source model to improve
the psycho acoustics, noise shaping and speed of MP3. LAME is not for
everyone - it is distributed as source code only and requires the ability
to use a C compiler. However, many popular ripping and encoding
programs include the LAME encoding engine

LAME features:

  • Many improvements in quality in speed over ISO reference software.
  • MPEG1,2 and 2.5 layer III encoding.
  • CBR (constant bitrate) and two types of variable bitrate, VBR and ABR.
  • Encoding engine can be compiled as a shared library (Linux/UNIX),
    DLL, Directshow filter or ACM codec (Windows).
  • Free format encoding and decoding.
  • GPSYCHO: a GPL'd psycho acoustic and noise shaping model.
  • Powerful and easy to use presets.
  • Quality better than all other encoders at most bitrates.
  • Fast! Encodes faster than real time on a PII 266 at highest quality mode.
  • MP3x: a GTK/X-Window MP3 frame analyzer for both .mp3 and unencoded audio files.

Web site:


On any ARC cluster, check the installation details
by typing "module spider lame".

LAME requires that several module be loaded before it can be run.
One version of the appropriate commands for use on NewRiver is:

module purge
module load yasm/1.3
module load lame/3.99.5


In the following batch file, the WAV file bach.wav
is converted to an MP3 file at a constant bit rate of 128kbps.

#! /bin/bash
#PBS -l walltime=00:05:00
#PBS -l nodes=1:ppn=1
#PBS -W group_list=newriver
#PBS -q open_q
#PBS -j oe


module purge
module load yasm/1.3
module load lame/3.99.5

lame -b128 bach.wav bach.mp3

A complete set of files to carry out a similar process are available in