Is this FLAC really lossless? How to spot fake FLAC and fake hi-res
FLAC guarantees that the file decodes to exactly what was encoded. It says nothing about what was encoded: an MP3 converted to FLAC is still an MP3 inside, and a CD resampled to a higher rate is still a CD. Here is how to tell.
Why a FLAC can be fake
FLAC stores without loss whatever samples it is given. If the source was an MP3 or an AAC file, the encoder has already thrown away part of the signal, and converting it to FLAC does not bring it back: the file gets bigger, not better. The same goes for hi-res: a CD master resampled to a higher rate has more samples but no new content. And a 16-bit recording padded with zeros becomes a 24-bit file with nothing in the extra bits.
What the spectrum shows
The quickest test is a spectrogram, or the average spectrum of the whole track. Lossy encoders save space by cutting the treble, and they do it with a wall: the level drops steeply to the noise floor at a fixed frequency. Where the wall sits hints at the source:
| Wall in the spectrum | Likely source |
|---|---|
| below 16.5 kHz | MP3 at 128 kbps or lower |
| 16.5 – 19.5 kHz | MP3 or AAC at 192–256 kbps |
| 19.5 – 20 kHz | MP3 at 320 kbps or AAC |
| no wall | genuine lossless, or an excellent lossy encode |
A CD has an anti-alias filter just above 20 kHz, so a gentle roll-off there is normal and not a sign of compression. Quiet acoustic recordings may have almost no treble at all: then no test can see a cutoff, and the honest answer is that it cannot be determined.
Fake hi-res and fake 24-bit
For hi-res files the question changes: is there anything above what a CD can carry? A file at 88.2 kHz or more whose content stops at about 22 kHz was almost certainly resampled from a 44.1 or 48 kHz master. For bit depth, a 24-bit file in which every sample is an exact multiple of the 16-bit step is a 16-bit recording with zeros added.
Tools you can use
On a computer, Spek draws the spectrogram, and programs such as Lossless Audio Checker or Fakin' The Funk automate the analysis; several websites analyse an uploaded file. For CD rips, the strongest proof is a checksum: AccurateRip and the CUETools database (CTDB) compare your rip with other people's copies of the same disc.
Checking your library on Android
Morph has these checks built into the library. The fake lossless check decodes the whole track at its original rate, with the phone's decoder or libmpv (APE, WavPack, TAK, TTA and the other lossless formats), and averages the spectrum over hundreds of windows, silences excluded. It looks for the wall, not for a fixed threshold, and reports one of these: a sharp cutoff with the likely source, resampled hi-res, inflated bit depth, or a spectrum with no trace of compression, together with the dynamic range (DR).
- FLAC integrity: the audio MD5 that the encoder wrote into every FLAC is checked against the decoded samples, with the screen off while charging: intact, damaged or without MD5.
- CD rip verification against the CUETools database (CTDB), read only.
- Fake hi-res exposed live: Tidal and Qobuz tracks declared at 88.2 kHz or more are analysed while they play, from the same samples that go to the output, with an optional shared map.
- Duplicate finder: the same track in different formats, grouped so you keep the best.
What the test cannot tell
A spectrum is evidence, not a certificate. A high-bitrate lossy file can reach 20 kHz, some genuine masters were band-limited in the studio, and a lossy file that was resampled and filtered again can hide its wall. Take a clear wall as a strong sign and a clean spectrum as good news, and use checksums (FLAC MD5, CTDB) when you need certainty about a copy. Once a file is genuine, the bit-perfect guide explains how to get it to the DAC intact.
Try it with your DAC
Morph Audiophile is a music player for Android with its own USB audio driver. It is in free beta on Google Play.
Get it on Google Play