Lossless:

  1. Lossless means that, digitally, regardless of the format the file is stored in, there is no loss of data.
  2. The raw digital music file format types in common use are AIFF and WAV.
  3. The most common compressed digital music file format types are FLAC and ALAC.  
  4. FLAC and ALAC compress the file, much like Zip compresses a regular file, but more efficiently for audio information.  
  5. FLAC has different levels of compression, trading off file size for the amount of processing power required to compress and decompress the file.
  6. On average, a lossless compressed file will be about 50-70% of its original size.
  7. When de-compressed, no data has been lost. 
  8. The bit rate for a CD-quality AIFF or WAV file is 1411 kbps (kilo-bits-per-second).
 

Lossy:

  1. Lossy means that data is removed to make the file smaller and the sound is altered.
  2. The most common lossy compressed file types are MP3, AAC and OGG.  
  3. Files are compressed by removing the data storing the least audible sounds first.
  4. This often means any sounds above 16kHz (depending on compression level) are removed, as in music, instruments only produce sounds up to about 12-14kHz for the most part, so a person with good hearing and good equipment might just be able to discern this, but only with effort.
  5. File sizes end up about 1/10th to 1/3rd the original size.  
  6. Even after decompression, the data removed is still lost.  
  7. The highest bit rate for lossy files is (usually) 320 kbps and the common bit rates are 128 kbps and 192 kbps.  Compare this to the lossless figure above.
 

The LAME Encoder:

LAME is possibly the most famous MP3 encoding software, as over the years the author(s) have been constantly refining it, to the point that someone posted on Head-fi a 128k VBR (variable bit rate) file and the RAW file and some people couldn't tell the difference between them. LAME has a number of settings, including the option to have the encoding rate as a constant bit (encoding) rate -- "CBR" or a variable bit rate -- "VBR".  The latter is more effective as it adjusts the rate according to the complexity of the music.  It includes a number of presets, from V0 to V9, which are respectively the highest and lowest default options.  With the V0 setting, most people would struggle to tell that the music was compressed, without experience or training as well as high quality equipment.  With V9, the sound would be like listening to music over a regular analog telephone played by someone holding an old analogue radio to the mouthpiece.

  • Like
Reactions: dryfly45