Audio Codec Blind Test: ABX Lossy vs Lossless Ears

Choose a simulated quality, then play the reference and compressed versions to compare.
Using generated tone
Click to play X.

Play Reference A or B to see its live spectrum. Hidden during the blind X trial so it can't give the answer away — revealed here once you guess.

0/0
Correct / Trials
—
Chance of This Score by Guessing
—
Percent Correct

If you test several tracks and judge each one on its own, the cut-off is divided by the number of tracks (Bonferroni correction) so one lucky track doesn't count as a pass.

5.000%
Adjusted Cut-off
—
Correct Answers Needed
What this actually is

Browsers can't perform real MP3/AAC encoding without a dedicated encoder library, which this site doesn't bundle. This tool instead approximates what low-bitrate lossy compression does perceptually — cutting high-frequency content and raising the noise floor — using real-time filtering. It's a genuine, audible simulation of those effects, not a bit-exact codec comparison. Treat a "pass" here as evidence you can hear bandwidth/noise-floor changes, not proof about any specific real-world codec.

Overview

Audio Codec Blind Test plays two versions of the same clip — one untouched, one run through a simulated low-bitrate codec — and dares you to tell which is which without knowing in advance. Upload your own audio or use the built-in tone, pick a simulated quality level, compare Reference A and Reference B, then guess X was A or X was B to build your score. Use the online vocal range check whenever you want a fast, repeatable way to confirm this.

An audio codec blind test shows whether your hearing can separate a lossy file from a lossless one once every label is hidden. Instead of trusting an audiophile forum or a streaming brochure, you run an ABX test, count your own answers and let the statistics decide if you beat luck. Treat this blind test as a fair listening test for you, your ears and your gear.

Audio Codec Blind Test: How the ABX Format Works

A blind audio test hides which version you are hearing, so expectation cannot colour the verdict. The common version of blind testing is the ABX blind listening test: you get two known versions, and a third that is secretly a copy of one of them. Because the software chooses at random, an abx audio test is also a double-blind test in spirit, since nobody nudges you toward an answer. One blind trial tells you little, which is why you repeat it. Every audio blind test, hifi blind test and other blind tests rely on the same idea: remove the blind spot of knowing too much, which is why blind audio testing keeps participants and conditions hidden from bias. Run the speaker phase alignment test tool to see exactly what's working and what isn't.

Reference Samples and the Mystery Source

A and B are the reference versions, one compressed and one not. X is the mystery source, and the listener says whether X matches A or B. Each sample should be cut from the same passage so the test files differ only in encoding. That is the whole experiment, and it is easy to repeat.

Guessing, Chance and Why One Trial Proves Nothing

With only two options, guessing succeeds half the time, exactly like a coin flip. This two-option forced-choice design means a single right pick proves nothing. Your correct answers only matter across a larger number of trials, because pure chance produces streaks. A forced-choice format keeps every answer honest, since you must pick even when unsure, and a lucky streak is judged by how randomly it could happen.

Dumbbell chart comparing 50 percent guessing with the share of correct answers needed for a significant ABX result, falling from 87.5 percent at 8 trials to 66.7 percent at 30 trials
The longer your ABX run, the smaller the share of right answers you need to beat chance.

Lossy vs Lossless Blind Listening: What You Compare

This blind listening test pits an audio codec against the original so you can judge audio quality yourself. Many lossy codecs throw away detail that most people cannot notice, which is why the data-reduced file can still sound close to the original. The goal is not to prove anything about hi-fi culture but to learn whether you can tell the difference. If you can hear the difference, the sound of that compression matters to you; if not, the smaller file is a fair choice. Across lossy codecs, perceived quality depends on the track, and the perceived sound quality gap is often small. Serious high fidelity listeners still test before they spend. Use the online thd distortion audibility check whenever you want a fast, repeatable way to confirm this.

MP3, AAC and Other Lossy Compression

An MP3 or AAC file is built by an encoder, and the encoding setting decides how much is discarded. Common choices run from 128 kbps up to 320 kbps, and higher rates are harder to pick out. Stay within one encoder family so the only changing variable is the setting.

Uncompressed Audio: WAV and FLAC

Uncompressed audio keeps every sample as recorded. A WAV is the plain uncompressed container, while FLAC is lossless packing that shrinks the file size without discarding anything. Expect a bigger download for these, because lossless files are larger than lossy ones, and the lossless copy is your anchor.

ABX Test Results: P-Value, Trials and Confidence

Your score alone is not the verdict; the likelihood of reaching it by luck is. That figure is the p-value, found by summing the odds of every score at or above yours, which gives an extreme score its proper weight:

$$p = \frac{1}{2^{n}} \sum_{k=c}^{n} \binom{n}{k}$$

Here \(n\) is the count of trials and \(c\) is your correct answers. A significant result is usually one below 5%, which is the common cut-off. The table lists how many right picks each length of run needs for that level of confidence.

TrialsCorrect answers neededChance of that score by luck
873.52%
12101.93%
16123.84%
20152.07%
30204.94%

Say you score 14 of 20: the odds are 5.77%, just above the line, so it is not proof. One more right answer makes it 15 of 20, or 2.07%. This simple statistical analysis is basic statistics applied as scientific probability, and it separates a lucky afternoon from the psychometric ability to detect a difference.

Line chart of the chance of guessing 12 to 17 correct answers in 20 ABX trials, showing 14 correct at 5.77 percent and 15 correct at 2.07 percent
With 20 trials, 14 right answers can still be luck; 15 cannot reasonably be.

Statistically Significant Scores and Bonferroni Correction

A score is statistically significant only if it clears the percentage correct needed for your run length. Test several tracks and the multiple comparisons problem appears, because each extra track gives luck another shot. The Bonferroni correction divides the 5% limit by the number of tracks you judge separately.

Bar chart showing the Bonferroni cut-off shrinking from 5 percent for one track to 0.625 percent for eight tracks
Bonferroni correction tightens the per-track limit as you judge more tracks.

Hi-Fi Test Methodology: Protocol, Room and Equipment

A proper hi-fi test begins with a written methodology and a test protocol that records equipment, participants and conditions. The aim is repeatability: the same setup should give the same answer on another day. In the ideal abx high fidelity test, the objective setup measures a subjective perception, and your audibility threshold is the point where answers become random. Every measurement of that threshold depends on the listening place; a quiet listening room changes how the audio system and its speakers behave. Keep the test equipment and listening position fixed, or you test the seat, not the codec. Repeat the ABX run on a second set of gear if you doubt a codec result, because a second measurement on different equipment shows whether the seat or the file made the difference.

Matched Levels and Headphones Versus Speakers

A louder version nearly always wins, so use matched levels and leave the volume level alone while you listen. A remote control or app makes switching instant. Headphones and earphones reveal fine detail, and a DAC or amplifier upstream should stay the same for every trial. Each change of volume is a hidden variable.

An 18-Trial Blind Trial: 256 kbps AAC Against FLAC

I want to know whether my 256 kbps AAC library is costing me anything before I buy 400 GB of extra storage for lossless copies. So I run an ABX test with one dense, cymbal-heavy track, closed-back headphones and the volume fixed.

My inputs go in this order: 18 trials, one encoder, matched loudness, and a rule that I write each pick down before pressing next. After 18 rounds I have 13 correct answers. The formula gives a 4.81% chance of reaching that by guessing, so it clears the usual 5% cut-off, narrowly. I cross-check it by summing the binomial odds by hand, and it agrees.

Correct out of 18Chance by luckVerdict
1124.03%Guessing
1211.89%Not proven
134.81%Narrowly significant
141.54%Clearly significant

The sensitivity rerun is the part to watch. A single missed pick, 12 right, drops me to 11.89% and the result evaporates, so one answer decides the verdict. My judgement is that 13 of 18 is a hint, not a ruling.

The edge case is tracks. If I had run three songs of 18 trials each and judged each one alone, the cut-off would fall to 1.67%, and 13 right would fail on every one of them. Fatigue also matters, because my score drifted down in the last six rounds. The next step is a rerun with 30 trials on the same track, where 20 right answers (4.94%) would settle it. Until then the AAC library stays, and I skip the storage purchase.

Double-Blind Audio Test Versus Sighted Listening Bias

In a codec comparison, a double-blind audio test hides which file is lossy from the tester too, so unconscious cues cannot leak. Compare that with sighted listening, where the listener sees the label and the bias from price, brand and expectation bends the result; even the placebo of a premium logo can sway judgement. Some reviewers and music fans insist a Bluetooth stream with aptX beats SBC; check that codec claim with the same ABX run, and when the files are hidden the gap often looks small. Anyone who is sighted brings a double-blind check back to evidence, and a Bluetooth codec claim deserves the same scrutiny. Another measurement beats a hunch, and one honest blind test beats a hundred opinions from reviewers who knew the label.

Listening Test Settings: Bitrate, Bit Depth and Streaming

Set up the codec comparison to mirror your real habits. If you use streaming services such as Tidal, capture a lossy and a lossless version of the same track from their high-definition audio or hi-res audio tiers, and compare your usual bitrate against the top one. Bit depth matters too: a 16-bit file has a smaller dynamic range than a deeper one, and a higher sample rate only extends frequency coverage above what you can hear. Use a browser that supports the web audio API, or run foobar2000 with its ABX plugin on your computer, then start your trials.

Audio Quality Quiz Steps for Your Own Blind Testing

Treat any audio quality quiz as practice, then build your own run. Fair audio comparisons follow a routine:

  1. Choose two songs or tracks you know well, one lossy and one lossless.
  2. Match the loudness, then set a safe volume before you start.
  3. Run at least 16 trials and write each pick before you see the next.
  4. Use the table above to see if your score is significant, then repeat on another day.
  • Pick music with plenty of detail, such as cymbals or breath, because that is where lossy encoding hides.
  • Rest your hearing between rounds; fatigue lowers your score.
  • Keep headphones moderate: loud sound can damage equipment and ears with a single brief exposure.

When you finish, you will know whether you can tell the difference and hear the difference, and the table shows you exactly how sure you can be.

Frequently Asked Questions

What does the p-value mean in an ABX test?
It is the chance of getting your score, or a better one, by guessing alone. A p-value under 5% is the usual sign that you really heard a difference.
How many trials do I need in an audio codec blind test?
More is better. With 8 trials you need 7 right; with 20 you need 15; with 30 you need 20, all for a result under 5% chance.
Why does judging several tracks make the cut-off stricter?
Each extra track gives luck another chance to fake a result. The Bonferroni correction divides your significance level by the number of tracks to compensate.
Is getting 50% right a bad score?
No. Half right is exactly what guessing produces, and it simply means you could not tell the files apart in this test.
Can I pick which file is lossless in this test?
An ABX test asks only whether X matches A or B, not which one is lossless. That tests whether you can tell the difference at all.
What makes a blind test fair?
Matched volume, the same equipment and room, randomised order, a written protocol and enough trials to rule out luck.
Does a higher bitrate make the test harder?
Usually yes. Near-transparent settings such as 320 kbps are hard to separate from lossless, so expect scores close to guessing.

About the author

Vinitha Pu

Founder and designer

Vinitha Pu is a graphic designer based in Palakkad, Kerala, who builds free, privacy-friendly browser tools. She studied Textile and Apparel Design at Avinashilingam University and completed a C-Tech in Graphic Design at Image Creative Education in 2025. She designs, builds and maintains the speaker, headphone, microphone and hearing tools, calculators and guides on Online Sound Test.

  • Content author: Vinitha Pu
  • Fact checked by: Vinitha Pu. Each tool is checked against the standard formulas and reference levels it uses, and each test is tried on real speakers, headphones and microphones before it goes live.
  • Published Updated