News for hackers. Stuff that matters.
Re:Locating the Source of a Mysterious Beep by chimpontherun on Tuesday November 10, 2026 @04:38AM (#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

Re:Locating the Source of a Mysterious Beep by andai on Tuesday November 10, 2026 @04:51AM (#50438092)
Hahaha amazing. Also cool to hear stories about headphones used as mics, I didn't think it would be sensitive enough for that.
Re:Locating the Source of a Mysterious Beep by chimpontherun on Tuesday November 10, 2026 @04:58AM (#50438131)
it didn't have to be sensitive or even high quality. The beep was loud enough to register on these improvised "mics" and the phase shift of up to 3ms (~50 samples at 16 kHz) was clearly visible
Re:Locating the Source of a Mysterious Beep by frumiousirc on Tuesday November 10, 2026 @07:35AM (#50439446)
The cross-correlation function can be applied to measure time shift between two waveforms, even those collected from different devices. The accuracy of this is not limited by the sample period. In fact, the two waveforms need not even have a common sample period. I think this approach could let simonw's network become self locating.
Re:Locating the Source of a Mysterious Beep by brookst on Tuesday November 10, 2026 @06:47AM (#50438965)
I have almost the opposite story.

Many many many years ago, I was a wee IT manager. Sort of a weird company, I was too young to be much more than smart kid who can install / fix anything.

Anyways, worked a few years there, made some friends, had one CAD engineer who was an utter jerk. In hindsight, probably a bully, but at the time just a really irritating person.

So that was my first foray into small electronics… worked up a small breadboard with a 555, some source of randomness I don’t remember now, a piezo speaker, and a 9v battery. It would emit a short beep at random intervals between roughly 60 and 240 minutes.

Stashed it above the ceiling tiles in his office.

Re:Locating the Source of a Mysterious Beep by Bluestein on Tuesday November 10, 2026 @08:01AM (#50439722)
Inevitable question: How long would the 9V battery have lasted?
Re:Locating the Source of a Mysterious Beep by beAbU on Tuesday November 10, 2026 @10:51AM (#50442104)
Many smoke alarms are also plumbed into the house power circuitry, so one with a dead battery will complain forever...
Re:Locating the Source of a Mysterious Beep by Bluestein on Tuesday November 10, 2026 @01:52PM (#50444528)
I recall seeing a truly horrific video of some Nest devices in a plaintive choir, gnashing their collective teeth all over a house ...
Re:Locating the Source of a Mysterious Beep by HeyLaughingBoy on Tuesday November 10, 2026 @02:28PM (#50445071)
Usually starting at 2AM in a house with 12' ceilings.
Re:Locating the Source of a Mysterious Beep by pseudohadamard on Tuesday November 10, 2026 @11:22PM (#50449716)
It's a temperature thing, if they're failing then they've reached their lowest-available-power level by about 2-4am depending on house conditions. Then when they warm up again later the beeping stops, until the next night. Crude test for a suspect alarm if you can't exactly monitor the battery voltage is to put it in the fridge for a few hours.
Re:Locating the Source of a Mysterious Beep by zbentley on Tuesday November 10, 2026 @08:44AM (#50440246)
In college, some friends bought (they were less imaginative than you) the equivalent, powered by a 2032 cell, and hid it in my room as a prank.

Good times. I bet it’s still magnetically attached to the inside of the steel riser column of one of their desk chairs, though the battery is likely long dead.

Re:Locating the Source of a Mysterious Beep by rkagerer on Tuesday November 10, 2026 @07:18AM (#50439264)
Could you elaborate on how you converted the phase shift into a precise direction? Or did you just hone in by adjusting the stick until the phase shift disappeared, then proceed in that direction?
Re:Locating the Source of a Mysterious Beep by sandworm101 on Tuesday November 10, 2026 @08:38AM (#50440167)
Not the OP, but the phase shift of a known frequency can be converted into a distance (portion of a wavelength) which can then be used to triangulate between the two microphones, yielding a vector to the target.
Re:Locating the Source of a Mysterious Beep by chostetler on Tuesday November 10, 2026 @08:54AM (#50440394)
Also not OP, but it seems it would be a bit different than this. The phase-distance can't differ by more than 1 meter between the signals, because the receivers are only 1 meter apart. And that phase difference doesn't give information about the distance of the chirp.

My guess is that the phase difference would give you a measurement between 0m and 1m. A phase difference of 0m indicates that the source lies on a plane perpendicular to the center of the meterstick, whereas a phase difference of 1m indicates that the source is collinear with the meterstick. A number in between there would give you a cone (?) of possible locations.

Re:Locating the Source of a Mysterious Beep by chimpontherun on Tuesday November 10, 2026 @03:05PM (#50445572)
I did in manually, i.e., visually. By looking at the phase shift and moving in direction of the channel that heard the beep first.

The beep frequency is about 3000-3500 Hz, which makes its wavelength about 10cm (1/3 of a foot). The piezo speaker in the smoke detector is so small that it takes 3-4 wave periods to go from silent to full blast. Meaning, if my stick was pointing perfectly to the source (it never was, obviously, but if), then one of the "mics" would hear the sound at full blast while the other still wouldn't hear anything.

So, I would have Audacity recording, hear the beep, stop the recording and zoom at the wavefront of the beep. Whichever mic shows the signal first, I'd move my stick (and the laptop) in that direction. After 2 or 3 moves and I was right under the source. Took me about 2 or 3 beeps at different stick orientation to understand that the sound is coming from above.

Re:Locating the Source of a Mysterious Beep by emeril on Tuesday November 10, 2026 @07:36AM (#50439462)
omg, I suppose the "old fashioned" way of just finding the period then anticipating it in different spots wasn't enough this time? :)
Re:Locating the Source of a Mysterious Beep by steveBK123 on Tuesday November 10, 2026 @08:35AM (#50440121)
> above the ceiling tiles

So I may in the future be the villain in a story like this if I am forgetful when I sell my apartment.

My upstairs neighbor is a moron who has flooded their apartment at least twice, so I have stashed moisture sensors into the access panels in multiple rooms as a sort of early warning system.

Re:Locating the Source of a Mysterious Beep by JonnieCache on Tuesday November 10, 2026 @08:56AM (#50440435)
stereo mic port?
Re:Locating the Source of a Mysterious Beep by Vinnl on Tuesday November 10, 2026 @09:07AM (#50440605)
> 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

Do you not feel this way about it yourself? I know I would.

Re:Locating the Source of a Mysterious Beep by pseudohadamard on Tuesday November 10, 2026 @11:18PM (#50449701)
"Your dad fixed something? He actually fixed something?" - Calvin's mom.
Re:Locating the Source of a Mysterious Beep by simonw on Tuesday November 10, 2026 @09:29AM (#50440906)
I brought the carbon monoxide detector downstairs to show my wife after finding it with Claude and she said "you look like a cat that's proudly showing me the mouse that it caught".
Re:Locating the Source of a Mysterious Beep by froh on Tuesday November 10, 2026 @12:40PM (#50443532)
"like a penguin on a bike that's proudly showing the fish it caught, in a basket, on a bike" ;-) <3
Re:Locating the Source of a Mysterious Beep by koolba on Tuesday November 10, 2026 @11:26AM (#50442585)
My version of this story is coming back from turbulent red eye to this type of beeping, spending an hour walking around trying to figure it out it by ear, eventually giving up as it always seems to be somewhere else.

It wasn’t until the next day did I realize that it was two separate locations!

Re:Locating the Source of a Mysterious Beep by pseudohadamard on Tuesday November 10, 2026 @11:13PM (#50449676)
You're lucky someone hadn't planted an Annoy-a-tron type device and you needed a nonlinear junction detector to find it.

To answer the inevitable question, EE students with a tiny amount of spare time. Not much, but just enough.