News for hackers. Stuff that matters.
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.