Handheld Acoustic Geometry
Handheld Acoustic Geometry (AG-HH-0 & AG-HH-1 v1.1) is an open-source (MIT) reference implementation and native iOS SwiftUI research application for phone-only acoustic surface ranging in air, pairing real-time 18–21 kHz chirp DSP on iPhone with a bit-parity Python analysis and baseline-freeze suite.
Engineering Architecture & Three-Gate Protocol
- Chirp DSP & Quadrature Matched Filtering: Emits Hann-windowed
18–21 kHzlinear sweeps with a hard output gain cap (≤ 0.25) and performs AcceleratevDSP_convquadrature I/Q matched filtering and envelope extraction at48 kHzmono float32. - Precision Range Estimation: Combines direct-peak time-zero alignment, coherent empty-space reference subtraction, robust MAD
6σdetection,24-sampleedge guards (0.15–1.80 m), parabolic sub-sample peak interpolation, and temperature-corrected speed of soundc(T) = 331.3 + 0.606 T. - Operator-Blinded 500-Trial Sequencer & Immutable Bundles: Runs deterministic seeded trial matrices (
3×100distance +100displacement +100empty-path) and writes immutable raw.f32audio before analysis alongsidetrials.csvand canonicalconfig_sha256manifests. - 4-Tab Native iOS SwiftUI Instrument: Includes Baseline / Freeze, DEV-1 15–23.5 kHz Response Sweep (with on-device Goertzel preview), PHYS-1 Operator-Blinded Runner, and Bundles & Export with a permanent evidence/safety banner.
Scientific Claim Boundary & Privacy
Claim Boundary: Portable acoustic-tomography research software—this project is NOT MRI and does NOT identify unknown chemistry, liquid composition, imaging, or anatomy. Maximum claim for AG-HH-1: an iPhone, using its built-in speaker and microphone in air, can repeatedly detect a hard reflector and recover the correct distance order and displacement within pre-registered tolerances. 100% local on-device measurement. Read our full Privacy Policy and Accessibility Statement.