aifollow.news
Back IT之家 科技新闻
IT之家 科技新闻· · Original publication time AI score34

Developer uses Claude Code to build sound locator and find beeping device in a boxMachine translation

开发者借 Claude Code 自制声音定位系统,找到纸箱里的异响源

AI-assisted summary

Software developer Simon Willison used Claude Code to build Beep Locator, which records audio through a web page on five phones, tablets and computers and locates a sound by comparing when it reaches each device. The system narrowed the source to an area of about 40 centimeters, helping him find an old carbon monoxide detector beeping inside a box. The project code is available on GitHub.

Article · Original

The article text is unavailable in this language; an existing version is shown.

IT之家 11 月 11 日消息,软件开发者西蒙 · 威利森(Simon Willison)于 11 月 9 日发布博文,借助 AI 编程工具 Claude Code,开发名为 Beep Locator 的声音定位系统,可以将声源锁定至约 40 厘米范围。

IT之家援引博文介绍,开发该 Beep Locator 系统的初衷,是威利森搬家后储物室堆积了较多尚未拆封的纸箱,而不时传来短促的“哔哔”电子声。由于鸣叫间隔较长,靠耳朵很难确定来源。于是他借助 Claude Code 编写程序,让分散摆放的五台手机、平板和电脑通过网页调用麦克风,共同捕捉声音。

在技术实现方面,该系统主要比较同一声音抵达不同设备的时间差。开发过程中,自动测定设备相对位置的尝试精度不足,威利森便加入手动拖动地图图标、标注设备位置的功能。同时,程序利用快速傅里叶变换分析声音频率,从环境杂音中识别目标提示音,再借助一台设备发出的短音同步各端录音。

随着功能逐步完善,系统还能够建议新增设备的摆放位置,帮助进一步缩小搜索范围。最终,威利森按定位结果检查纸箱,找到了发声设备,确认是藏在纸箱里的旧一氧化碳探测器。该项目代码目前已在 GitHub 上公开。

参考

点此前往 GitHub 访问 Beep Locator 项目

广告声明:文内含有的对外跳转链接(包括不限于超链接、二维码、口令等形式),用于传递更多信息,节省甄选时间,结果仅供参考,IT之家包含外链的文章均包含本声明。

Found an error? Send a correction