A command-line tool to detect "fake" lossless audio files and optionally plot their frequency distribution. - drichline/fakeflac-go

1 points•DakotaR•about 3 hours ago•0 comments•
This is my first real project; keep in mind I have no formal programming/CS background. It is hand-written; AI was only used for some conceptual questions.

Background: There's an epidemic of "fake" .flac audio files floating around: lossy audio masquerading as true lossless-quality audio. I rewrote the fakeflac.py utility in Go, adding multithreading to greatly improve performance, and increasing portability by embedding an optional WASM build of ffmpeg.

Limitations: the original fakeflac algorithm is a great starting point, but it fails to find a cutoff point with some (obviously very low quality) audio files and produces a false score of 100%. I added CLI flags to tune the cutoff detection, but future versions definitely need some work (less normalization? entirely new detection algorithm?)

0 comments

No comments yet.

Related stories