Echoscope Browser Sonar

→ Start by clicking Init Audio above to enable microphone access and the audio engine.

Run on https (or localhost). Keep volume moderate to avoid feedback. On iPhone, tap buttons to start/resume audio.

Quick setup

Presets set speaker spacing and mic position for known devices. Your selection is remembered across sessions.

Scan parameters
Listen: 73 ms | Min range: 0.30 m

Scan controls: angular resolution, dwell time, and post-processing quality.

Scan dwell: 73 ms
Probe parameters

Tune probe parameters only when you need higher quality or speed.

About Chirp mode

Linear FM sweep — transmits a sinusoidal tone that sweeps from frequency f1 up to f2 over duration T. Cross-correlation with the reference produces a sharp peak at each echo delay.

Best for: quick single-ping measurements, short-range detection, and real-time interactive use. Lowest latency of all modes (single short burst). Good default for getting started.

Trade-offs: moderate sidelobe level in the correlation (can show ghost peaks near strong echoes). SNR scales with bandwidth (f2 − f1) and duration T. Narrower bandwidth = worse range resolution.

Settings:

  • f1 — start frequency (Hz). Lower values penetrate obstacles better but may be audible. Default 2000 Hz.
  • f2 — end frequency (Hz). Higher values give finer range resolution. Default 9000 Hz. Bandwidth = f2 − f1.
  • T — chirp duration (ms). Longer = higher SNR but slower ping cycle. Default 7 ms.
Advanced
c = 346.5 m/s
Expert scan & tracking
Microphone spectrogram
Advanced scan settings
Virtual array (SAFT/DAS)
Best: —
Direction: —

Use Horizontal (L/R) for left/right and Vertical (T/B) when your speaker axis is rotated 90°. Detection works best on hard, flat surfaces (walls, furniture) within 0.3–5 m. Soft materials (curtains, pillows) absorb sound and produce weak echoes.


Calibration measures speaker-to-mic distances to lock direct-path timing and improve range accuracy. Keep the room quiet and don't move the device during calibration. A quality score above 0.5 is good; above 0.8 is excellent.

Advanced calibration settings
Diagnostics
Calibration sanity view

Shows early (60ms) Golay-summed correlations for L-only and R-only, with peak markers and mono decision breakdown.

Device Info
(Device labels appear after mic permission.)
Network / Peers

Connect two devices via WebRTC. One creates an offer, the other accepts.

Calibration is local-only per device. Run calibration on each device if needed.

Status: idle
Angle x Range heatmap

Main scan view. Horizontal axis = steering angle (degrees), vertical axis = distance (meters). Brighter colors = stronger echo reflections. Look for bright spots to locate objects.

Range profile

Correlation strength vs distance (meters) for the latest ping. Peaks indicate detected objects; taller peaks = stronger reflections. Hover to read exact range values.

Microphone spectrogram

Real-time STFT waterfall of microphone input. After successful calibration it shows filtered (noise-floor suppressed) spectrum.

Mode: RAW
Geometry view

Top-down view showing speaker positions (L/R), microphone, and estimated target locations. Tracked targets show trails indicating movement history.

Enable wizard to drag speakers/mic on geometry view.

If audio goes silent after switching apps/locking screen: tap Init Audio to resume.

Keyboard shortcuts: I Init Audio, P / Space Ping, S Scan, Esc Stop, C Calibrate. Click ? in the header for the full guide.