Remix.run Logo
▲ Locating the source of a mysterious beep(simonwillison.net)
41 points by bigwheels 4 hours ago | 21 comments
▲tristanj 2 hours ago | parent | next [-]

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.

▲aizk 22 minutes ago | parent | next [-]

It's O(logn) but you haven't accounted for how heavy each item in the array of n is.

▲entropie 42 minutes ago | parent | prev | next [-]

Or you could use a very heavy blanked to just cover some boxes to supress the sound enough to simulate moving boxes.

▲ARandomerDude 2 hours ago | parent | prev [-]

> Move half the boxes to another room.

Alternatively, no.

▲malfist 39 minutes ago | parent [-]

Alternatively, you can unpack

▲solyin 2 hours ago | parent | prev | next [-]

MKBHD demos the the FOTRIC TD2e Acoustic Imaging Camera.

https://www.youtube.com/shorts/ai1gIWacf0I

It costs ~$1,000 so you'd probably rent it if you're only going to use it once, but it's a neat gadget.

▲radicality 21 minutes ago | parent | next [-]

Oh, was gonna post a comment about this, I actually bought just last week their USBc version (Fotric Sonic 3), on eBay, for around $700. Works quite well, it has 64 mic array, I think it would be tough to replicate it to this level.

Lmk if anyone has any questions about it! It’s android-only, but I’ve gotten an agent to write a Mac version of it though haven’t tested yet.

eBay link to what I bought: https://www.ebay.com/itm/960060893216

▲jcims 19 minutes ago | parent [-]

Are you able to gather the multichannel recordings off the device? I’ve often wondered if you could do that, then replay a video while focusing on specific parts of the scene. Kind of like a virtual stethoscope.

▲_kb an hour ago | parent | prev | next [-]

You can also build one pretty cheaply and simply with the miniDSP UMA 16: https://www.minidsp.com/products/usb-audio-interface/uma-16-...

https://www.minidsp.com/applications/usb-mic-array/acoustic-...

▲ortusdux an hour ago | parent | prev [-]

Great thing for tool checkout/rental at a makerspace!

▲raldi an hour ago | parent | prev | next [-]

WHAT WAS MAKING THE BEEP!!?!?!

▲gandreani an hour ago | parent [-]

Hahahaha. You should slow down when you read

"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 wanted its batteries replaced."

▲raldi an hour ago | parent [-]

Oh, thanks. Not sure how I missed that in the very middle of the piece :D

Maybe I should have asked Claude to help triangulate it for me.

▲hk1337 19 minutes ago | parent | prev | next [-]

I wonder if it would work to find an annoyatron?

▲adm4 an hour ago | parent | prev | next [-]

wonderful! Thanks for sharing. I thought about doing this to track the sounds moving around in my stomach... it is interesting how well the mic on your smartphone works at picking up stomach sounds

▲pizzafeelsright 15 minutes ago | parent | prev | next [-]

Smoke alarm.

▲pavo-etc 2 hours ago | parent | prev | next [-]

Woah this is cool. Another interesting simonw project based around sound through browsers. Lots of simple real world problems that can be tackled with this.

▲hinkley 18 minutes ago | parent | prev | next [-]

I had a beep that drove me crazy and the very long search turned up a surplus CO monitor that I didn’t recall buying and had gotten tucked into the laundry room for some reason.

Same brand as my smoke detectors.

Make sounds that can be detected directionally, assholes.

▲gregsadetsky an hour ago | parent | prev | next [-]

Simon's LLM's beeping finder app vs https://annoyingpcb.com/

Who would win?? :-)

I lack the courage to plant such a PCB prank device... it really feels like you could drive people completely crazy haha

▲delichon 2 hours ago | parent | prev | next [-]

Could you build this into a HUD for a cat, tuned to mouse squeeks? Asking for a friend.

▲gwbas1c an hour ago | parent | prev [-]

You know what might have been easier... Going through the boxes!