
SpectreGram: haunted lossless-audio checker, Kiroween 2026
Streaming made checking music quality a forgotten hobby. I revived it: a desktop app that spots MP3s posing as FLAC, scans folders, and has Halloween tricks.
The collection we used to brag about
In the 2000s, everybody I knew built a music collection by hand. We ripped our own CDs, traded albums and burned mixes. Half the fun was bragging: how many albums you had, how well organized the folders were, and above all how good the quality was. A "lossless" folder was a badge of honor.
Then came the doubt. That "FLAC" you downloaded might really be a low-bitrate MP3 someone had re-saved: a lossy file wearing a lossless costume. So we checked. The tool I knew was Spek. You opened a file, looked at the spectrogram and watched for a hard edge where the sound just stops. A 128 kbps MP3 leaves a shelf near 16 kHz. A real lossless file goes much higher.
I did that by hand, file after file. Then streaming took over, nobody cared about their collection anymore, and I lost my momentum. I kept putting it off. I still have plenty of files left to check.
So for Kiroween I asked a question: could a Kiro agent help me build something like Spek, and also automate the boring part and add some fun?

Meet SpectreGram
SpectreGram is a desktop app for Windows, Linux and macOS. Drop in an audio file and it draws the full-track spectrogram, estimates where the real cutoff sits, and stamps the file GENUINE or COSTUME. The verdict is always labelled an estimate. A legitimately filtered master can fool it, and I didn't want the app to pretend otherwise.
What the original never had:
- Folder report. Point it at a folder and it checks every file, including subfolders. A drumroll builds, you click Reveal, and your collection gets a rating from "Crypt Keeper" to "Costume Party Noob". You can save the results as a Markdown report. This is the job I kept putting off, done for me.
- Zoom that re-analyses. Zoom into any moment, and the audio is recomputed at full detail rather than stretched.
- Spectral message. Write a short phrase into a new WAV so the words appear in its spectrogram. Your original file is never touched.
- A haunted look. A ghost playhead, verdict stamps, spooky palettes and a ghost on the empty screen.
Everything runs on your machine. There are no uploads and no accounts.
Building it spec-first with Kiro
I wrote each feature as a spec before writing code: requirements, design and tasks, stored in
.kiro/specs/ . Steering files held the rules that never change. They locked a simple stack (vanilla TypeScript, Vite, Canvas 2D, a Web Worker) and a clean-room rule. Spek is GPL-3.0 and SpectreGram is MIT, so I reimplemented the idea and never copied its code. A hook reminded every agent session of those rules.Kiro workflows ran design, code and review loops. One review caught a real bug where the cutoff detector ignored sound that reached the very top of the spectrum, which is exactly the case a genuine file produces. A test now guards it.
What went wrong
The spectral message took the most tries. My first versions added sound to the track to draw the letters. They looked fine in the picture, but listening to them made my ears feel bad, and the softer versions barely showed over real music. The fix was to stop adding sound and cut the letters out of the music instead. It sounds natural, and the words show up clearly. A built-in check refuses any result that would change the file's verdict.
Writing the spec first also made me decide what "done" meant before any code existed. "Every verdict says estimate" became a test, not a promise.
Try it
SpectreGram is free and open source under the MIT license.
- Download for Windows, Linux and macOS: https://github.com/lanly-dev/SpectreGram/releases/tag/1.0.0
- Source code: https://github.com/lanly-dev/SpectreGram
The builds are unsigned, so expect a warning the first time you open them. Now go find out what your collection is really made of.
This post is part of the Kiroween 2026 hackathon, Resurrection category.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article