Repository navigation
SpectreGram is a desktop acoustic spectrum analyser for local audio files — a clean-room revival of the idea behind Spek, built for the Kiroween 2026 hackathon (Resurrection category). Drop in an audio file and it renders the full-track spectrogram, estimates the true frequency cutoff, and gives a verdict: is this "lossless" file what it claims to be, or a low-bitrate MP3 in a lossless costume? The verdict is always an estimate — a heuristic, not proof.
Everything runs on your machine. No uploads, no accounts, no network.
Download
- Windows (x64):
SpectreGram.Setup.1.0.0.exe(installer) orSpectreGram-Portable-1.0.0.exe(no install). - Linux:
SpectreGram-1.0.0.AppImage. - macOS:
SpectreGram-1.0.0-arm64.dmg(Apple Silicon only). - Desktop only: the renderer is bundled inside Electron. There is no hosted web demo.
- The Linux and macOS builds come from GitHub Actions and have not been launched by the maintainer.
First run: the app is unsigned
No build is code-signed. On Windows, SmartScreen may show "Windows protected your PC": click More info → Run anyway. On macOS, right-click the app and choose Open. Only do this for a file you downloaded from this repository's Releases page.
What it does
- Opens MP3, FLAC, WAV, OGG, M4A and other formats the built-in Chromium decoder supports (drag-and-drop, File › Open, or File › Open Folder).
- Full-track spectrogram with a dBFS color scale; the range is adjustable with
u/Uandl/L. - Cutoff estimate and verdict line, with a GENUINE / COSTUME stamp.
- Drag across the graph to zoom into a time segment (re-analysed at full detail); scroll to pan; Esc to reset.
- Six palettes (Spectrum, Hellfire, Ectoplasm, Pumpkin, Wraith, Ghost), a phase overlay, PNG export, and playback with a playhead.
- Folder report: scan a folder for a collector rating and a Markdown report.
Known limits
- The verdict can be fooled: genuinely band-limited recordings, quiet masters, or resampled files can read as suspicious. Treat it as an estimate.
- The cutoff thresholds are heuristic estimates, tested with synthetic fixtures and several real lossy files. Broader calibration against a labeled genuine/lossy corpus remains future work, and ambiguous results stay inconclusive.
- Supported formats are whatever Chromium's decoder handles; there is no FFmpeg.
MIT licensed. Spek (GPL-3.0) inspired the idea; none of its code is used.