"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."
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.
[delayed]
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.
Great thing for tool checkout/rental at a makerspace!
WHAT WAS MAKING THE BEEP!!?!?!
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."
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.
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 it in half again.
4) Repeat until one box is left.
> Move half the boxes to another room.
Alternatively, no.
You know what might have been easier... Going through the boxes!
Could you build this into a HUD for a cat, tuned to mouse squeeks? Asking for a friend.
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.