old-www/HOWTO/MP3-HOWTO-7.html

196 lines
13 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The Linux MP3-HOWTO : Software Requirements.</TITLE>
<LINK HREF="MP3-HOWTO-8.html" REL=next>
<LINK HREF="MP3-HOWTO-6.html" REL=previous>
<LINK HREF="MP3-HOWTO.html#toc7" REL=contents>
</HEAD>
<BODY>
<A HREF="MP3-HOWTO-8.html">Next</A>
<A HREF="MP3-HOWTO-6.html">Previous</A>
<A HREF="MP3-HOWTO.html#toc7">Contents</A>
<HR>
<H2><A NAME="s7">7. Software Requirements.</A></H2>
<P>Converting audio to MP3's is normally a 2 stage process, first the audio is
recorded into a WAV format, then the WAV is then converted into an MP3. Some
utilities will do both processes in one go for you.
<P>The format you wish to encode audio from, CD or direct audio, will determine what software tools you need to produce the WAV file.
<P>If you are wanting to encode from audio input, you will need a program that will record from your soundcard's input and save the results in a WAV format. Below are some useful utilities (most of the comments are taken from the respective website of the app.)
<P>
<H2><A NAME="ss7.1">7.1 Rippers &amp; WAV Recorders</A>
</H2>
<P>To grab from analog audio line-in.
<EM>Wavrec</EM>
<P>Wavrec is distributed as part of wavplay, which can be downloaded from:-
<P>
<A HREF="ftp://sunsite.unc.edu/pub/Linux/apps/sound/players/">ftp://sunsite.unc.edu/pub/Linux/apps/sound/players/</A><P>To convert CD audio data to WAV format, sometimes known as CD ripping:
<P><EM>CDDA2WAV</EM>
<P>
<A HREF="http://metalab.unc.edu/pub/Linux/apps/sound/cdrom/">http://metalab.unc.edu/pub/Linux/apps/sound/cdrom/</A><P><EM>Cdparanoia</EM>
<P>Cdparanoia is a Compact Disc Digital Audio (CDDA) extraction tool, commonly known on the net as a 'ripper'. The application is built on top of the
Paranoia library, which is doing the real work (the Paranoia source is included in the cdparanoia source distribution). Like the original cdda2wav,
cdparanoia package reads audio from the CDROM directly as data, with no analog step between, and writes the data to a file or pipe in WAV, AIFC or raw 16 bit linear PCM. Compared to cdda2wav, it's much slower but really gets the best results you can get even from CDs that are difficult to rip for scratches or other read-errors.
<P>
<A HREF="http://www.xiph.org/paranoia/index.html">http://www.xiph.org/paranoia/index.html</A><P><EM>RipEnc</EM>
<P>RipEnc is a bourne shell script frontend to Cdparanoia, cdda2wav, tosha and Bladeenc, 8hz-mp3, l3enc. It utilizes CDDB lookups to automate the naming of songs as they are ripped. A manual naming option is also available. The entire CD can be ripped or you can pick the songs to rip. ID3 tags are also supported.
<P>
<A HREF="http://www.asde.com/~mjparme/index.htm">http://www.asde.com/~mjparme/index.htm</A><P><EM>Cd2mp3</EM>
<P>cd2mp3 is a freeware software, designed to handle 2 other programs cdda2wav(that rips the tracks from cd) and lame (that encodes the mp3s)
<P>
<A HREF="http://sertaozinho.org/cd2mp3/index.html">http://sertaozinho.org/cd2mp3/index.html</A><P><EM>RipperX</EM>
<P>RipperX is a GTK program to rip CD audio and encode mp3s. It has plugins for
cdparanoia, BladeEnc, Lame Mp3 encoder, XingMp3enc, 8hz-mp3 and the
ISO v2 encoder. It also has support for CDDB and ID3 tags.
<P>
<A HREF="http://www.digitallabyrinth.com/linux/ripperX/">http://www.digitallabyrinth.com/linux/ripperX/</A><P><EM>Grip</EM>
<P>Grip is a GTK-based CD-player and CD-ripper/MP3-encoder. It has the ripping capabilities of cdparanoia built in, but can also use external rippers (such as cdda2wav). It also provides an automated frontend for MP3 encoders, letting you take a disc and transform it easily straight into MP3s. The CDDB protocol is supported for retrieving track information from disc database servers. Grip works with DigitalDJ to provide a unified "computerized" version of your music collection.
<P>
<A HREF="http://www.nostatic.org/grip/">http://www.nostatic.org/grip/</A><P>
<H2><A NAME="ss7.2">7.2 Encoders</A>
</H2>
<P>To convert the WAV file to MP3 format you will need an encoder:
<P><EM>Blade's MP3 Encoder</EM>
<P>BladeEnc is a freeware MP3 encoder. It is based on the same ISO compression routines as mpegEnc, so you can expect roughly the same, or better, quality . The main difference is the appearance and speed. BladeEnc doesn't have a nice, user-friendly interface like mpegEnc, but it is more than three times faster, and it works with several popular front-end graphical user interfaces.
<P>
<A HREF="http://bladeenc.cjb.net">http://bladeenc.cjb.net</A><P><EM>Lame</EM>
<P>In the great history of GNU naming, LAME stands for LAME Ain't an Mp3 Encoder. LAME is not an mp3 encoder. It is a GPL'd patch against the dist10 ISO demonstration source. LAME is totally incapable of producing an mp3 stream. It is incapable of even being compiled by itself. You need the ISO source for this software to work. The ISO demonstration source is also freely available, but any commercial use (including distributing free encoders) may require a license agreement from FhG (Fraunhofer Gesellschaft, Germany).
<P>
<A HREF="http://www.sulaco.org/mp3/">http://www.sulaco.org/mp3/</A><P><EM>Gogo</EM>
<P>This is a very fast MP3 encoder for x86-CPU, which is based on LAME ver 3.29beta and optimized by PEN@MarineCat, Keiichi SAKAI, URURI, kei and shigeo.
(You will also need to download NASM to compile the source, which can be found
<A HREF="http://www.web-sites.co.uk/nasm/">http://www.web-sites.co.uk/nasm/</A>)
<P>
<A HREF="http://homepage1.nifty.com/herumi/gogo_e.html">http://homepage1.nifty.com/herumi/gogo_e.html</A><P>
<H2><A NAME="ss7.3">7.3 Players</A>
</H2>
<P>To play the MP3's you will naturally need a player:
<P><EM>Xmms (Formerly known as X11Amp)</EM>
<P>This player has most of the features as Winamp from Windows 95/98/NT but it
will of course feature some specials only available for the Linux version.
<P>
<P>
<A HREF="http://www.xmms.org">http://www.xmms.org</A><P><EM>Xaudio</EM>
<P>Xaudio is a very fast and very robust multi platform solution for Digital
Audio playback, especially targeted at MPEG Audio (MP1, MP2 and MP3) decoding.
<P>
<A HREF="http://www.xaudio.com">http://www.xaudio.com</A><P><EM>AlsaPlayer</EM>
<P>AlsaPlayer is a new type of PCM player. It is heavily multi-threaded and tries to exercise the ALSA library and driver quite a bit. It has some very interesting features unique to Linux/Unix players. The goal is to create a fully pluggable framework for playback of all sorts of media with the focus on PCM audio data.
<EM>Full speed (pitch) control, positive *and* negative! First Linux- and
only GPL player that does this!! MP3's and CD's do varispeed :) </EM>
<P>
<A HREF="http://www.alsa-project.org/~andy/">http://www.alsa-project.org/~andy/</A><P><EM>mpg123</EM>
<P>What is mpg123? It is a fast, free and portable MPEG audio player for Unix.
It supports MPEG 1.0/2.0 layers 1, 2 and 3 (those famous "mp3" files), and
it has been tested on a wide variety of platforms, including Linux, FreeBSD,
NetBSD, SunOS, Solaris, IRIX, HP-UX and others. For full CD quality playback
(44 kHz, 16 bit, stereo) a Pentium (or fast 486), SPARCstation10, DEC Alpha
or similar CPU is required. Mono and/or reduced quality playback (22 kHz or
11 kHz) is even possible on slower 486 CPUs.
<P>
<A HREF="http://www.mpg123.org">http://www.mpg123.org</A><P><EM>Freeamp</EM>
<P>FreeAmp is an extensible, cross-platform audio player. It features an
optimized version of the GPLed Xing MPEG decoder which makes it one of the
fastest and best sounding players available. FreeAmp provides a number of
the most common features users have come to expect in a clean, easy to use
interface.
<P>
<A HREF="http://www.freeamp.org/">http://www.freeamp.org/</A><P>
<H2><A NAME="ss7.4">7.4 Streaming Servers</A>
</H2>
<P>
<P>Streaming servers allow you to 'broadcast' MP3's across a network, whether this
is your intranet or the internet itself.
<P><EM>Icecast</EM>
<P>Welcome! Icecast is a Mpeg Layer III Audio broadcasting system brought to
you by the linuxpower.org team. Icecast comes bundled with iceplay, and
icedir. Iceplay is a playlist streamer that will allow you to send
pre-encoded files to your Icecast server.
<P>
<A HREF="http://www.icecast.org/">http://www.icecast.org/</A><P><EM>Fluid</EM>
<P>Fluid Streaming Server is a program for streaming media over networks and in
its current form using the mp3 format.
<P>
<A HREF="http://www.subside.com/fluid/">http://www.subside.com/fluid/</A> (old site)
<P>
<A HREF="http://fluid.sourceforge.net/">http://fluid.sourceforge.net/</A> (new site)
<P><EM>Litestream</EM>
<P>Litestream is an Open Source, infinitely scalable high-capacity MP3 streaming system for Unix.
<P>
<A HREF="http://www.litestream.net/">http://www.litestream.net/</A><P><EM>Apache::MP3</EM>
<P>Module for streaming MP3's using the Apache WebServer.
<P>This module takes a hierarchy of directories containing MP3 files and
presents it as a browsable song library for streaming over the web.
<P>[Available from CPAN]
<P>
<H2><A NAME="ss7.5">7.5 Mixing</A>
</H2>
<P>
<P><EM>LiveIce</EM>
<P>LiveIce is the source client for Icecast which encodes an mpeg stream for broadcast as it is created. Unlike clients such as Shout and IceDJ this permits the broadcast of live audio, rather than prerecorded mp3's.
<P>LiveIce is bundled with Icecast, newer versions together with documentation may be found at the website below:
<P>
<A HREF="http://star.arm.ac.uk/~spm/software/liveice.html">http://star.arm.ac.uk/~spm/software/liveice.html</A><P><EM>eMixer</EM>
<P>eMixer is an easy-to-use front-end to mpg123 that allows you to play and mix two mp3 streams together. The ability to mix two mp3s makes eMixer act like a cross-fader, effectively giving the user DJ-like capabilities from the computer console. eMixer is also very able in a "real time" party environment. eMixer is based on the original mp3 mixing code upon which liveice's mixing component is built.
<P>
<A HREF="http://emixer.linuxave.net/">http://emixer.linuxave.net/</A><P><EM>GDAM</EM>
<P>GDAM is real-time digital dj mixing software package. Any number of mp3 files can be played and mixed simultaneously. Effects can be added, changed, and rearranged dynamically. GDAM features a client-server architecture; all sound is produced by a server, which receives instructions from any number of clients. Other features include plugins for audio effects and interface components, caching and looping, sequencing, assisted beatmatching, a waveform viewer/beat calculator, contiguous queuing (no pauses between songs when using a playlist), an online help system, an mpg123 clone which runs on a gdam server, flexible command line interface for direct control of server, recording of entire mix or any point in stream to buffer/disk/mp3 encoder, support for multiple sound devices, and support for midi hardware control.
<P>
<A HREF="http://gdam.org/">http://gdam.org/</A>
<P>alternative:
<P>
<A HREF="http://gdam.sourceforge.net">http://gdam.sourceforge.net</A><P>
<H2><A NAME="ss7.6">7.6 ID3 Editors</A>
</H2>
<P>
<P><EM>id3ed</EM>
<P>id3ed is an ID3 tag editor for mp3 files. You can set tags interactively or from the command line, or a combination of both. id3ed can set genre by name or number. You can also remove or view tags.
<P>
<A HREF="http://www.azstarnet.com/~donut/programs/id3ed.html">http://www.azstarnet.com/~donut/programs/id3ed.html</A><P><EM>mp3info</EM>
<P>MP3info is a small utility for reading and writing MPEG Layer 3 (MP3) ID3 tags. Console (command-line and interactive ncurses) and GTK versions are included.
<P>
<A HREF="http://metalab.unc.edu/mp3info/">http://metalab.unc.edu/mp3info/</A><P>
<H2><A NAME="ss7.7">7.7 Stream Grabbers</A>
</H2>
<P>
<P><EM>Streamripper</EM>
<P>Streamripper records shoutcast streams. If the stream contains track info (meta data), streamripper creates a separate file for each track.
<P>
<A HREF="http://streamripper.sourceforge.net/">http://streamripper.sourceforge.net/</A><P><EM>Wget</EM>
<P>GNU Wget is a freely available network utility to retrieve files from the World Wide Web using HTTP and FTP, the two most widely used Internet protocols. It works non-interactively, thus enabling work in the background, after having logged off.
<P><EM>Wget is far more than a stream grabber!</EM>
<P>
<A HREF="ftp://ftp.gnu.org/gnu/wget/">ftp://ftp.gnu.org/gnu/wget/</A>
<P>
<H2><A NAME="ss7.8">7.8 Misc</A>
</H2>
<P><EM>Volume Normalization</EM>
<P><EM>Wavnorm</EM>
<P>If you have encoded live audio, or have encoded from older cd's you may find variations in the overall sound level.
<P>To change the encoded volume levels of the MP3's you will need to normalise them using wavnorm.
<P>
<A HREF="http://www.zog.net.au/computers/wavnorm/">http://www.zog.net.au/computers/wavnorm/</A><P>
<P><EM>SOX</EM>
<P>Sox is a very handy sound conversion utility which I'd recommend having, and you will need it if you wish to use wavnorm.
<P>
<A HREF="ftp://sunsite.unc.edu/pub/Linux/apps/sound/convert/">ftp://sunsite.unc.edu/pub/Linux/apps/sound/convert/</A><P>
<P>You may also need a mixer program; Xmixer works well and is included with
most distributions.
<P>
<HR>
<A HREF="MP3-HOWTO-8.html">Next</A>
<A HREF="MP3-HOWTO-6.html">Previous</A>
<A HREF="MP3-HOWTO.html#toc7">Contents</A>
</BODY>
</HTML>