Repository navigation
v1.1.0
Fixes for short recordings and the privacy audit. Results on long recordings are unchanged: the six-seed self-test reproduces the v1.0.0 numbers exactly.
Fixed
- Short clips were never detected. With fewer than six usable 60 s windows (clips under about two minutes),
detectcompared each window with a median of itself and could not flag anything, however clear the curve. Such clips, and recordings that are tonal almost throughout, are now compared with a calibrated noise model: the same pipeline run on synthetic Gaussian noise for the same window length. Whitening makes that level independent of the noise's loudness and colour; it matched the background of all six self-test recordings within ±0.06 dB. auditreportedlowwhen it could not judge. An empty detection no longer means low risk. Insufficient evidence now givesundetermined, a noise-model check giveslow, limited check, and the output includes the detection status, its reasons and what alowrating covers.- Harmonic stacking was silently off in
detect. Over 40–400 Hz under a 600 Hz spectrogram only one harmonic fits for every candidate, so--harmonics 3acted as 1. The count used is now reported bydetectandtrace,detectdefaults to the honest value of 1, and a band above the spectrogram top keeps the fundamental instead of summing to zero. Per-candidate harmonic counts were tried and made both detection and tracing worse in the self-tests, so they were not adopted. - The last seconds of a recording were never examined. The final detection window now ends at the end of the recording.
Changed
detectwrites diagnostics to<out>.diag.json(statusok / limited / insufficient,reasons, baseline, harmonics used, hits shorter than--min-dur).boxes.jsonkeeps its format.- New
detectoptions:--window,--step,--null-db. - New regression tests (
tests/test_detection.py), run in CI.
Measured on synthetic data
- 73 noise-only clips (12–300 s, with mains hum and speech bursts): no false events.
- Passes within 1.5 km in 20–69 s clips: 48 of 48 detected; at 2 km, about half.
- Real wind and traffic noise were not part of these tests.
Downloads
| File | Language |
|---|---|
audio-flyover-geolocation-en.skill |
English |
audio-flyover-geolocation-zh-CN.skill |
简体中文 |
Reinstall over v1.0.0 the same way you installed it.