LOSSELOT

Figure out if your file ever became lossy.

Also: A tool for working with LLMs and decision trees while maintaining a codebase.

Losselot analyzing audio files
Try in Browser View on GitHub

How Detection Works

When someone converts MP3 to FLAC, the removed frequencies don't come back. Losselot finds these scars.

Spectral Analysis

FFT detects frequency cutoffs. 128kbps MP3 cuts at ~16kHz, 320kbps at ~20kHz. We find where the music stops.

Binary Analysis

Encoder signatures hide in files. LAME headers, FFmpeg markers, re-encoding chains. Metadata doesn't lie.

ScoreVerdictMeaning
0-34OKLikely genuine lossless
35-64SUSPECTPossibly transcoded
65+TRANSCODEDefinitely lossy origin