Waveform
Recent microphone samples
Node + Web Audio
Sweep a sine tone, follow the returned response nearest the driven frequency, and chart its matched amplitude and width across the sweep.
Status
Idle
Width is measured as full width at half maximum around the local peak nearest the drive frequency.
Recent microphone samples
Matched return amplitude and width for each committed sweep step
Peak level nearest the driven frequency
Full width at half maximum around the matched peak
Signed distance between the driven frequency and the matched return peak
Run the same bounded sweep flow as the main app and record one response measurement per step
Tune FFT resolution and the dB floor used for the matched-response measurement