Skip to content
levitskiy.dev
Free stuffFrom @levizdev_ai on Telegram

Claude Code wrote a program that found a beeping object in a storage closet

post_30.md

#30

Claude Code wrote a program that found a beeping object in a storage closet Simon Willison couldn't figure out what was beeping among the boxes. He asked Claude Code to build Beep Locator, which pinpoints the source of a sound using several devices in a room. 🔊 • A Python server shows a map, and phones, tablets and laptops connect as "listeners" via a QR code or a link • The devices play sounds to each other to estimate their positions; there's also a "rough mode" where you can drag the icons around by hand • Listeners keep the last 60 seconds of audio and look for the beep using an FFT and a high-pass filter Result: accuracy of about 40 cm, and the culprit turned out to be an old carbon monoxide detector with a dying battery. ⚠️ Automatically detecting device positions by sound didn't work very well at first, which is why the manual mode was added. Source · code
simonwillison.netLocating the source of a mysterious beep with Claude
Open in Telegram ↗Translated from Russian