# Claude Code Tracks Down a Mysterious Beep to Within 40cm

Original title: Locating the Source of a Mysterious Beep

> Hacker News story 50434310 · language: en · submitted 2026-11-10
> Web version: https://zeli.app/story/50434310
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 330 · by [bigwheels](<https://news.ycombinator.com/user?id=bigwheels>) · 💬 172
[original](<https://simonwillison.net/2026/Nov/9/mysterious-beeps/>) · [HN discussion](<https://news.ycombinator.com/item?id=50434310>)

## Summary

When an intermittent beep started coming from a room full of unpacked boxes, Simon Willison had Claude Code build Beep Locator: a Python server that turns spare phones, tablets, and laptops into microphone listeners over WebSockets. The devices chirp at each other to calibrate their positions, then triangulate any detected sound on a map. It pinpointed the beep to within about 40cm — leading to an old carbon monoxide detector begging for fresh batteries.

## Key quote

> I think the most interesting part of this project is that I demonstrated it's possible to give Claude Code ears.

## HN discussion (172 comments)

### [chimpontherun](<https://news.ycombinator.com/item?id=50437990>)

> Around '05 or so, the house we were staying in started beeping.  Smoke alarm sounds, as usual.  For almost a day we couldn't find the source.  Contacted the owners -- they didn't know it either.  They bought the house few years prior, so not much of a help.
>
> Standing in the hallways listening at different angles, as the article says, didn't help.  No Fable in '05 either.
>
> So I had to improvise.  Got a ~1 meter stick and two headphones (every headphone is a microphone, even if it sucks as a microphone).  Plugged them into the stereo mic port, and started recording in Audacity.  The phase shift between L and R pointed directly to the source.  Took about 4 or 5 beeps to get the sucker.
>
> Turns out, it was hiding above the ceiling tiles in the garage.  My wife still tells this story to all her friends as one of my biggest life achievements.  Everything I shipped, the companies I founded -- pales in comparison to finding a dead smoke alarm

### [simonw](<https://news.ycombinator.com/item?id=50436044>)

> I didn't mention this in the article, but this isn't the first time my family has been driven almost spare by a mysterious, hard-to-track beep.
>
> Our dog goes outside and hides in the lavender bush if a smoke alarm starts making a "I need a battery" noise.
>
> So I went into this project with the attitude that I would like to solve this class of problem forever.

### [tristanj](<https://news.ycombinator.com/item?id=50435186>)

> You can also solve this in O(logn) using a physical binary search:
>
> 1) Move half the boxes to another room.
>
> 2) Listen for a beep and determine which room the beep comes from.
>
> 3) Take the boxes in that room and split them in half again.
>
> 4) Repeat until one box is left.

### [frumiousirc](<https://news.ycombinator.com/item?id=50438997>)

> I'd like to understand why the auto location mode did not work well leading to the need to introduce "rough mode".
>
> Maybe the directionality of typical speaker and mic spoils an attempt to apply a 1/r^2 fit?

### [bdavbdav](<https://news.ycombinator.com/item?id=50439021>)

> I tried building something to find the path and phase difference between multiple speakers recently.
>
> It was nearly impossible to get decent repeatable results.

### [Confiks](<https://news.ycombinator.com/item?id=50437693>)

> \> I think the most interesting part of this project is that I demonstrated it’s possible to give Claude Code ears
>
> Of course it can analyze audio. I made it detect Marijn Frank saying a high pitched "Hallo" in a much better way that I could have done myself (subtitle matching), namely by frequency analysis, in the process learning how that works with librosa: https://marijnfrankzegthallo.nl

### [foo12bar](<https://news.ycombinator.com/item?id=50436729>)

> Why didn't you time the interval between the beeps? Then when the next beep was coming up, just listen to a particular part of the room or set of boxes until you found it.

### [NitpickLawyer](<https://news.ycombinator.com/item?id=50436527>)

> Ha! This reminded me of that old famous entry from bash org: "I can't find a server in my house. It responds to ping, but I can't physically locate it."

---

## Cite

- Page: https://zeli.app/story/50434310
- Date: 2026-11-10
- Source: simonwillison.net (https://simonwillison.net/2026/Nov/9/mysterious-beeps/)
- Hacker News: https://news.ycombinator.com/item?id=50434310

## Other languages

- zh: https://zeli.app/zh/story/50434310 · markdown: https://zeli.app/zh/story/50434310.md
- ja: https://zeli.app/ja/story/50434310 · markdown: https://zeli.app/ja/story/50434310.md
- ko: https://zeli.app/ko/story/50434310 · markdown: https://zeli.app/ko/story/50434310.md
- de: https://zeli.app/de/story/50434310 · markdown: https://zeli.app/de/story/50434310.md
- es: https://zeli.app/es/story/50434310 · markdown: https://zeli.app/es/story/50434310.md
- ru: https://zeli.app/ru/story/50434310 · markdown: https://zeli.app/ru/story/50434310.md
