r/AudioProgramming • u/ScamSchoolBrian • 2h ago
Field-testing 5 DSP countermeasures against aircraft Doppler audio geolocation (FFT bin scrambling, spectral gating, ML denoising, and synthetic Doppler chaff)
Following up on colsto's video on geolocating unedited recordings from faint aircraft Doppler curves + ADS-B logs, my audio engineer (Brandt Hughes) and I wanted to see what practical real-time DSP mitigations actually hold up for livestreamers, where simple jump-cuts aren't an option.
We recorded 30 minutes of outdoor dialogue with 3 prop-plane flyovers (fundamentals around ~100 Hz shifting over ~20 Hz in a low-resolution FFT band, with strong harmonics cutting right through the vocal range) and ran our raw tracks through one of the early open-source vibe-coded programs. Right now those early scripts produce a lot of false positives on human voice (it dropped us in completely wrong towns), though another open-source build reportedly got within ~240m on colsto's reference audio.
Assuming automated detection gets better, here is what happened across 5 DSP approaches we benchmarked on the same 3 flyovers:
FFT Bin Scrambler (Andrew Reeman Spectral Suite, applied <=500 Hz)
Randomizes frequency bins under 500 Hz. It wipes the fundamental Doppler curve cleanly off the spectrogram, but completely wrecks vocal intelligibility (sounds like severe noise-cancellation artifacts). Fun open-source proof of concept, totally unusable for speech.
2. Classic Time-Domain Noise Gate (Kilohearts / Ableton 12, zero latency)
Destructively zeroes quiet flyover tails (genuinely unrecoverable even with heavy gain boost) and can poison silence-gap filtering if it eliminates one pass out of several. Fails completely whenever speech, AC hum, or a loud overhead pass pushes the broadband signal above threshold.
3. FFT Spectral Noise Gate (iFeature Spectral Gate, ~25ms latency)
Applies per-bin amplitude gating, which solved the classic gate's AC-whine problem (high-frequency room/AC noise no longer opens the low-frequency band where the plane lives) and cleaned up flyovers #1 and #2 well. Unexpected edge case on loud flyover #3: because the plane exceeded the low-end threshold while surrounding broadband ambient noise did not, the spectral gate stripped the ambient noise around the plane and effectively isolated/highlighted the Doppler curve.
4. ML Vocal Denoising (iZotope RX 12)
The full Repair Assistant module erased even the loudest overhead flyover on the spectrogram, leaving only faint artifacts on word tails, at a heavy cost (~85ms latency and ~50% CPU on Brandt's 10-year-old rig, unworkable for live streaming). The much more practical finding for livestreamers was cascading RX 12's lightweight real-time Voice De-noise (1-2% CPU, live latency) ahead of a zero-latency classic gate: the denoiser didn't erase the plane alone, but attenuated it cleanly below the gate's threshold so the gate finished it off.
5. Additive "Sonic Chaff" (Synthetic Doppler Curves in Kilohearts Phase Plant)
Instead of subtracting the plane, Brandt adapted LAxemann's vehicle-engine Phase Plant patch into a velocity-sensitive prop-plane synth (MIDI velocity scales the Doppler curve length/steepness) and mixed synthetic passes around -20 dB under dialogue. Psycho-acoustically it blends in as mundane background noise, and on the open-source detector 6 of the first 8 high-confidence hits latched onto the synthetic decoys (1 real, 1 false positive), shifting the location estimate entirely.
SUPER curious to hear what we missed, and what were pretty good ideas.
Here's the full episode (39 minutes) https://youtu.be/9A8WlXG7SK4
