How Can You Tell Whether a Song Is Lossless?
Dango AI · 2023-03-30 Tutorials
How Can You Tell Whether a Song Is Lossless?

All Dango features recommend lossless music uploads. Clearer audio generally gives better results, because some lossy compression algorithms discard sounds difficult for humans to hear to reduce file size, but those sounds may help Dango separate audio. Lossy formats may prevent Dango from achieving satisfactory separation.。

First, understand the basic concept of audio formats: common ones include MP3, FLAC, and WAV, usually identified by their file extensions. Think of each format as a different container; some are lossless, others lossy:

  1. MP3: a lossy-compressed container. It removes some sounds to reduce file size. Several compression levels exist, but all destroy original information and damage audio quality, regardless of compression ratio.
  2. WAV: a lossless container. It can preserve all sound information without quality loss. Its drawback is very large files, usually 5–10 times an MP3: a 5 MB MP3 song may be 50 MB as WAV.
  3. FLAC: a losslessly compressed container. Unlike MP3’s lossy compression, FLAC reduces audio file size without quality loss, combining the advantages of MP3 and WAV. Files returned by Dango use FLAC.

These are some common containers. There are dozens of audio formats, too many to cover individually, but you may have noticed the word we keep using: “container”. File formats really are containers, like bottles and jars. Some are large bottles with higher capacity, able to hold lossless content; others are inherently small and can hold only lossy content. You might then wonder: does a large bottle necessarily contain a full bottle of audio quality?

Imagine genuine lossless audio, such as a WAV file. Convert it to MP3 and audio quality is permanently, irreversibly lost. Someone might think, “Then I can just convert the MP3 back to WAV”. However, the audio quality has already been permanently lost. Even if we convert the MP3 back to WAV and its container becomes lossless again, the contents have already been processed in a way that permanently discarded audio quality. The result is therefore a lossy song inside a lossless container.

An analogy: pour a large bottle of water (a lossless container’s capacity) into a small bottle (a lossy container such as MP3). The excess water is discarded. Pour the small bottle back into the large one, and it will no longer be full.

FLAC is a lossless container, but its contents can be lossy.

So simply converting formats or changing the file extension does nothing. Lost content is permanently gone and will not miraculously return through clever tricks.

Therefore, an audio file that starts out as MP3 is 100% lossy, while a lossless format such as FLAC or WAV requires opening and examining the audio to see whether the content is truly lossless.

Dango’s Lossy Analyzer offers free daily use, letting even beginners check whether their songs are fake lossless: Click here to use it >>

You can also analyze it yourself. We will use iZotope RX8 on a computer, a common audio editor that displays spectrograms (software such as AU works too). You do not need to understand complex terminology: open your audio and drag the display mode control at the bottom left to spectrogram mode, as shown below.

Drag fully right to display spectrogram mode.

You will see a chaotic, flame-like image: the song’s spectrogram. Focus on its very top. Here are lossless and lossy versions of the same song:

Lossless (left), lossy (right)

See the difference? The lossy audio on the right has its top cut off. The top represents high-frequency content, or roughly treble: lossy formats remove some high frequencies to shrink files. This is why severely lossy audio often sounds muffled or blurry. The simplest check is whether high frequencies show an abrupt cutoff; if they do, the audio is lossy.

Zoom further into the spectrogram with the mouse wheel, as below:

Lossless (left), lossy (right)

In the circled areas on the right, black holes or dots appear. Compression creates these holes, perhaps removing sounds human hearing is less sensitive to in order to save space. But their original content may help Dango produce better extraction results.

Some fake-lossless techniques can fool this visual check, such as copying mid frequencies into high frequencies or mirroring the spectrum. Trained eyes can spot these too, but they are irrelevant to 99% of songs and beyond this discussion.

Ultimately, lossy containers such as MP3 are always lossy; only the degree of damage varies, and they are never good-quality audio in this sense. For lossless formats, examine the spectrogram to confirm genuine losslessness. We recommend uploading lossless audio to Dango for better extraction results 😇😇