来源时间 本站刊期
Locating the source of a mysterious beep with Claude
Simon Willison shows how Claude can help troubleshoot a puzzling hardware sound, a practical look at using AI assistants for real-world debugging rather than code alone.
判断
Simon Willison’s decision is to use Claude Code on a non-code household debugging problem, accepting browser microphone setup and a calibration step in exchange for locating the beep within about 40cm instead of unpacking every box.
依据
Simon writes that something in a box room began intermittently beeping and he did not want to dig through every box. He had Claude Code build Beep Locator; Claude found the 2007 BeepBeep paper, which describes acoustic ranging using a speaker, microphone and device-to-device communication. The system runs a Python web server, has spare devices join via URL or QR code and connect over WebSockets, records a 60 second audio buffer, uses FFT and a high-pass filter to flag beeps, then plays a chirp so clips from 0.6s before to 0.8s after can be aligned. Simon reports it located the beep within about 40cm and led him to an ancient carbon monoxide detector that wanted its batteries replaced.
- Python serverURL/QR
- Join listenerschirps
- Calibrate deviceslisten
- Detect beepmark beep
- Confirm location
没写清 The source does not say how long the detector had been beeping, which battery type it needed, or how many false positives the detector algorithm produced.
下一步 Check the linked GitHub repository for Beep Locator to see whether the listener code, detector.js, and setup instructions are published for reuse.