From Fedora Project Wiki

Converting Audio and Ripping CDs

During ripping raw audio is typically recorded into .wav format, which is then converted to ogg, flac or some other desired format. Most applications for ripping do both processes in one go. The choice of appropriate software tools depend on the format of input audio (typically CD or direct audio streams).

CLI applications for converting audio/video or ripping are not tied to particular desktops in general. Related GUI applications may require particular toolkit related libraries or may be tied to specific desktop environments in a stronger way.

CLI Applications

Users need to be more careful with the license terms of some of the available CLI tools. In particular, the CDDL is not a genuine free and open source license. For more information see this article.



Fedora does not include cdrtools (under the CDDL license) in its repositories.


SoX is a CLI utility for conversion, editing, normalization, playing and recoding of audio content. SoX can support any audio format through a suitable 'libsox-fmt-base'. For example support for Ogg Vorbis is provided by libsox-fmt-ogg. It supports ALSA, LibAO, OSS and other sound architectures too.

The SoX processing chain takes the form :

                Input(s) Balancing Combiner Effects Output

See this in the following examples:

           #sox recital.wav
          # sox -r 12000 -1 -c 1 recital.wav vol 0.7 dither

changes the audio sampling rate, sample size, down-mixes to mono, and applies the vol and dither effects.

          #sox -r 8000 -u -1 -c 1 voice-memo.raw voice-memo.wav

adds a header to a raw audio file,

           #sox slow.aiff fixed.aiff speed 1.027 rabbit -c0

adjusts audio speed using the most accurate rabbit algorithm,


concatenates two audio files




Normalizing Volume

The basic idea of volume normalization is to 'normalize' variations in the overall sound level. You can end up with such variations while encoding live audio or by recording from old disks. 'wavnorm' and 'SOX' are useful utilities for the purpose.

K-Desktop Environment

One very easy way to rip a CD is direct from the file manager (Konqueror or Dolphin). We describe the procedure with respect to Konqueror.

   * Insert the CD
   * Open a Konqueror window and go to audiocd:/
   * Open either the Ogg or Mp3 folder and copy the files as usual.

Tracks can be easily copied to a portable player by this method. You can open an audio CD and player in separate windows and just drag the files across.

Codec, Bitrate, Quality and stereo settings can be found in the Control Center. One disadvantage is that you can not directly specify the encoder (other than mp3/ogg) or the command line arguments.

This neat trick is done using kioslaves.

Many other applications are also available for the purpose. SoundKonvertor for example is a frontend to various command-line audio converters. It is easy to use the GUI. But you will need to set the output directory, formats and desired quality at least. SoundKonvertor can be:

   * Controlled with greater ease
   * Extended with plugins and backends like lame, ffmpeg, oggenc, flac, musepack, mplayer, shorten,
     oggdec, flake, ape, ttaenc, bonk, faad, aften, OptimFROG, lac, LPAC, wavpack, speex, timidity,
     vorbisgain, cdda2wav and others.

It is possible to convert between formats like ogg, mp3, m4a, mp2, wma, rm, aiff, avi, flac, flv and others. Tags (read and write), Replay Gain, CD ripping and Calculation are also supported.

An understanding of the differences between lossless and lossy formats, open and patent-encumbered formats and tags will be most helpful for getting the most out of this application.

Always prefer open source multimedia formats like Ogg and flac over other patent-encumbered formats like mp3 and rm.

GNOME Applications

Other Desktop Environments

Most if not all of the other desktop environments do not provide any level of integration with ripping or sound conversion applications. But any of the above mentioned GUI applications can be freely installed into them with minimal overhead.


jRipper is a Java-based CD ripper and audio converter. It can encode and decode WAV, FLAC, MP3, Ogg, and AAC(M4A) formats. It is also usable as a frontend to cdda2wav, flac, oggenc, oggdec, faac, faad and lame. It can load CD track names from or by using the cdda2wav program.

You can run jripper in Fedora without actual installation. Simply put the file jripper.jar in a directory (say /abc), open a konsole in the directory and type

java -jar jripper.jar