The sound itself says where it comes from.
trueflac tells whether a FLAC, WAV or AIFF file was made from an MP3, an AAC, an Opus or a Vorbis file. A command and a Python library, with numpy and soundfile only.
What it does
Section titled “What it does”Two independent cluesThe highs cut like an encoder does, or the block grid of the encoder still in the sound. The grid catches what the cut cannot see: MP3 V0 and 320 kbit/s, AAC 256, Vorbis.
No false accusationIt answers suspect, never fake, and keeps quiet when in doubt. On its bench, no genuine file is flagged.
Made for applicationsVerdicts are data that an app words in its own language. Analyses can be canceled and run on several threads.
Built on published researchThe inverse decoder of Herre and Schug, the detectors of Derrien and his co-authors, and the codec specifications.
Where to start
Section titled “Where to start”What is trueflac?What it answers, and what it does not.
Installationpip, uv, and what it needs.
Command lineCheck a file or a folder, read the output.
ContributingThe development setup and the bench.