Both WAV and FLAC formats are lossless, which means they do not lose any quality from an original music CD. WAV however is uncompressed, while FLAC uses a lossless compression mechanism (pretty much like a ZIP lossless compression) specifically designed for efficient packing of audio data. FLAC files can then be played with your favorite player, just like ordinary MP3's.
If you already have WAV files, then you simply need to convert them to FLAC (and not worry about losing quality). You can either use CLI via SoX (although other solutions exist, like flac
itself):
sox track_01.wav track_01.flac
Or use a clean and intuitive GUI like SoundConverter. In Preferences set output format to FLAC, choose compression speed (it does NOT affect quality, only resulting file size), then add files or a directory and start the conversion process.
Once the conversion is done, you can check that no quality was lost by using soxi
(comes with SoX):
soxi track_01.wav
soxi track_01.flac
The FLAC file size will be smaller though.
An even better way to check the technical data of an audio file is MediaInfo. See:
Best Answer
The fundamental tool for sound format conversions and simple transformations is SoX, the Swiss Army knife of sound-processing programs.
If you're running Debian, support for writing MP3 in
sox
is broken in lenny and squeeze (and as far as I know the same problem affects Ubuntu 10.04 and 10.10). This bug was fixed in early March 2011, so grabbing the latest source (or grabbing a binary forsox
14.3.1-1build1 or newer) and recompiling it should work.An alternative for encoding to
.mp3
islame
. It doesn't read.flac
, but you can usesox
orflac
to convert from.flac
to.wav
and thenlame
from.wav
to.mp3
.