# Locating the source of a mysterious beep with Claude

DevFeed: [Locating the source of a mysterious beep with Claude](<https://devfeed.tech/articles/locating-the-source-of-a-mysterious-beep-with-claude-125090.md>)

Original publisher: [Read original article](<https://simonwillison.net/2026/Nov/9/mysterious-beeps/>)

Author: Simon Willison

Published: 2026-11-09T23:57:21Z

Content type: article

Language: en

Sources: [Simon Willison](<https://devfeed.tech/sources/simon-willison.md>), [Simon Willison's Weblog](<https://devfeed.tech/sources/simon-willison-s-weblog.md>)

Topics: [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [Physical AI](<https://devfeed.tech/topics/physical-ai.md>), [pair\_programming](<https://devfeed.tech/topics/pair-programming.md>), [PWA](<https://devfeed.tech/topics/pwa.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-2-317](<https://devfeed.tech/tags/ai-2-317.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-327](<https://devfeed.tech/tags/claude-327.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [claude-code-135](<https://devfeed.tech/tags/claude-code-135.md>), [claude-mythos-fable](<https://devfeed.tech/tags/claude-mythos-fable.md>), [claude-mythos-fable-47](<https://devfeed.tech/tags/claude-mythos-fable-47.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [coding-agents-266](<https://devfeed.tech/tags/coding-agents-266.md>), [devices](<https://devfeed.tech/tags/devices.md>), [found](<https://devfeed.tech/tags/found.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [generative-ai-2-056](<https://devfeed.tech/tags/generative-ai-2-056.md>), [llms](<https://devfeed.tech/tags/llms.md>), [llms-2-020](<https://devfeed.tech/tags/llms-2-020.md>), [location](<https://devfeed.tech/tags/location.md>), [projects](<https://devfeed.tech/tags/projects.md>), [projects-564](<https://devfeed.tech/tags/projects-564.md>), [python](<https://devfeed.tech/tags/python.md>), [room](<https://devfeed.tech/tags/room.md>), [server](<https://devfeed.tech/tags/server.md>)

## AI overview

Beep Locator used several browser-connected devices to triangulate an intermittent beep, locating it to about 40 cm and helping the author find an old carbon monoxide detector with depleted batteries. A Python web server coordinated listeners over WebSockets; each requested microphone access, kept a 60-second audio buffer, and detected candidate beeps using an FFT and high-pass filter. For a reported beep, the server triggered a short chirp and collected audio clips around it so recordings could be aligned for localization. Automatic sound-based device positioning proved unreliable, so the author added a rough mode for manually placing listener icons before sound-based adjustment. Clap detection and replaying clips helped test and identify the target beep; after confirmation, the system tracked its frequency and timing to refine the estimated location. The author also used a hot-swap mechanism to send updated code to listeners without reloading their pages.

## Source excerpt

Our house has a box room, full of boxes that we still haven't unpacked from our last move. A couple of weeks ago something in that room started intermittently beeping. The beeps were far enough apart that standing in the room and trying to determine the source of the noise was frustrating, and I really didn't want to dig through every one of those boxes. So I had Claude Code build Beep Locator, a software system for triangulating the source of a mysterious beep using multiple devices scattered around the room. Here's what Beep Locator looks like after it has been running for a while: You run Python web server to show the primary UI, and then use the QR code or URL to connect as many devices as you can spare to act as listeners - I was using two iPads, a phone, a MacBook Pro and a Surface Ultra. The devices then play noises to each other to help estimate their locations. This didn't work particularly well, so I added a "Rough mode" where you can drag their icons around in the space to provide rough locations which are then adjusted based on those sounds. Once that's set up, the devices all listen for the beep! I added a clapping mode too so I could test it by clapping my hands in different locations around the room - displayed as diamonds on the map. This helped me gain confidence that it was capable of locating a sound. Beeps show up on the map as an X, plus a line in the "Sounds located" log. You can replay these sounds (from each device in turn) to confirm they are the mysterious beep you are looking for, then click "This is the mystery beep" to mark them as such. Once you've confirmed the mysterious beep frequency the system will listen out for it, measure the interval between beeps, and use the triangulated locations to lock down the most likely location on the map. The system worked as intended. It gave me the position of the beep to within about 40cm, then I dug through that specific pile of boxes and found an ancient carbon monoxide detector that desperately