WaxCheck / How it works
How WaxCheck knows the real quality of a file
The bitrate shown on a file is a label, and labels can be changed. What can't be changed is how high the sound reaches. WaxCheck measures that point and compares it with the label.
The bitrate is only a label
The bitrate is the number of kbps a file declares, for example 128 or 320. The higher it is, the more data per second and, in principle, the better the sound.
The problem is that any program can turn a 128 kbps MP3 into a 320 kbps one. The new file is bigger and says 320, but it sounds the same as the 128. That is called a transcode: a file converted from another one of lower quality. How to spot a fake 320 kbps MP3
The proof is in the highs
To take up less space, an MP3 removes the highest sounds. The lower the bitrate, the more highs it removes. The point where the sound disappears is called the cutoff frequency and is measured in kilohertz (kHz). Human hearing reaches about 20 kHz at most.
These are the cutoffs of LAME, the most widely used MP3 encoder:
| MP3 bitrate | The sound reaches |
|---|---|
| 320 kbps | about 20 kHz |
| 256 kbps | about 19.5 kHz |
| 192 kbps | about 19 kHz |
| 160 kbps | about 17.5 kHz |
| 128 kbps | between 16 and 17 kHz |
| 96 kbps | about 15 kHz |
That cutoff stays in the sound. If you convert a 128 kbps MP3 to 320, or save it as FLAC, the cutoff stays in the same place. That's why the cutoff says more than the bitrate. How WaxCheck uses this table


The curve on the right of each window sums up the sound of the whole track. The dashed line marks where a 320 kbps MP3 would cut off. The yellow line marks where the sound really drops. In the genuine file they match. In the converted one, the drop comes much earlier.
What WaxCheck does with each file
- It reads the whole file, from start to finish.
- It looks for the frequency where the sound drops sharply. A sharp drop is the mark of an MP3. A gentle slope is normal in music and doesn't count as a cutoff. How it tells them apart
- It works out which bitrate that cutoff belongs to and compares it with the bitrate the file declares.
If the measured quality is two or more steps below the declared one, WaxCheck flags the file as "Transcode detected". For example, a file that says 320 kbps and cuts off where a 192 does.
A single step isn't enough. A file that says 320 and measures 256 can be legitimate, so WaxCheck doesn't flag it.
The quality levels
In the Quality column each file gets one of four levels. There is a fifth result, Uncertain, for when the analysis can't decide.
- ExcellentA lossless file (FLAC, WAV or AIFF) that doesn't come from a compressed copy.
- GoodEquivalent to an MP3 at 256 kbps or more.
- MediumEquivalent to an MP3 at 192 kbps.
- LowEquivalent to an MP3 at 160 kbps or less.
- UncertainThe analysis couldn't decide. Check it in the spectrum or by ear.
What about V0 MP3s
V0 is a variable bitrate MP3 setting. It uses more data in the complex moments of a track and less in the simple ones. It's common in music from Bandcamp.
A V0 file doesn't cut the highs, so the sound reaches the top just like a 320. WaxCheck knows this and doesn't treat it as suspicious. An MP3 with no cutoff gets the Good level.
Fake FLAC, WAV and AIFF
FLAC, WAV and AIFF are lossless formats. They store the full sound without removing anything. A file like that should have sound up to the limit of the format, above 20 kHz.
If someone saves an MP3 as FLAC, the file is a valid FLAC and weighs like a FLAC, but it keeps the cutoff of the MP3. WaxCheck detects it and flags it as a transcode. How it handles band-limited FLAC · How to tell if a FLAC is fake
What the analysis can't know
Measuring the cutoff works very well when there is a cutoff. These are the cases where it falls short:
- Conversions from formats with no cutoff. A 256 kbps Apple AAC, an Opus file or a V0 MP3 don't cut the highs. If they are converted to MP3 320 or to FLAC, they measure the same as an original. No cutoff-based analysis can tell them apart.
- From 256 to 320. The difference is a single step and WaxCheck tolerates it.
- Music with few highs. In piano, classical or acoustic recordings there's hardly any sound up there to measure. The result is usually Uncertain, and that doesn't mean low quality.
- Old or filtered recordings. Some masters have their highs trimmed at the source. WaxCheck marks them as Uncertain instead of accusing them. How it recognizes them
That's why the Uncertain level exists and why the app has a player. When the analysis is in doubt, your ears decide.
WaxCheck doesn't improve files either. Lost quality can't be recovered. What it does is tell you which files are worth getting again.
Everything happens on your computer
WaxCheck doesn't upload your files to any server. The analysis runs on your Mac or PC and works without an internet connection.
The analysis in detail
The three steps in “What WaxCheck does with each file” sum up the idea. In real music, an MP3 cutoff gets mixed up with many other things: natural roll-offs in the mix, noise from a second conversion, studio filters or variable bitrate MP3s. Each of these parts of the analysis came from real files that WaxCheck used to get wrong.
The average of the whole track
WaxCheck calculates the spectrum of every fragment of the track and averages the fragments that have sound. That average is called LTAS (long-term average spectrum). An MP3 cutoff stays in the same place for the whole track, so it shows clearly in the average even when the song changes a lot.
Codec drop or natural roll-off
Many songs lose highs gradually because of how they were recorded or mixed. An MP3 cuts them off sharply. WaxCheck measures how far the sound drops, how steep the drop is and what's left above it, and only counts a drop with the shape of a codec as a cutoff.
Two measurements that correct each other
Besides the average, WaxCheck uses a second measurement that looks at the loudest fragments of the track. Each one fails in different cases. Stray noise in a file converted twice throws off the average, and variable bitrate MP3s throw off the second one. WaxCheck compares both before deciding.
LAME's table, measured
LAME doesn't cut at just any frequency. Each setting uses a fixed cutoff zone. WaxCheck has those zones measured one by one, for 44.1 and 48 kHz files, because they change with the sample rate. For variable bitrate MP3s, it compares the cutoff with the setting stored in the file's header, not with the average bitrate.
The trace of a second conversion
When an MP3 is compressed again, two cutoffs sometimes remain: the first MP3's and, above it, the second one's. WaxCheck looks for that second cutoff and uses it as extra evidence. If it shows up in a file that's only one step below what it declares, it marks the file as Uncertain with a “Possible re-encode” note.
Band-limited FLAC, WAV and AIFF
In a lossless file, a cutoff can also come from a resampling filter, a studio master or a stretched sample. Before flagging a file, WaxCheck checks where the cutoff is, what the sound looks like right after it and how long the file is, so it doesn't mark filtered masters or short loops as fake. If a file is genuine but many of its sounds only reach a certain frequency, it warns that it may contain samples taken from compressed sources.
How we test it
Every change to the analysis is tested against two collections of files. The first is 170 versions made with LAME and FFmpeg from lossless tracks, at the usual bitrates and conversions, and WaxCheck gets all 170 right. The second is real files from stores, Bandcamp, YouTube and DJ libraries, checked by hand with other tools. A change only goes in if it doesn't make any result worse in either.
