Digital Frequency Timer screenshot

Digital Frequency Timer

Measure the dominant frequency of a tone through your microphone, with autocorrelation and a nearest-note reading.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Runs in this tab

Frequency from the microphone

The page opens your microphone after you press Start, reads a 2048-sample buffer per animation frame and autocorrelates it. The lag with the strongest repeat is the period, and the sample rate divided by that lag is the frequency, printed in hertz with the nearest note name and the input level in dBFS. The useful range is roughly 40 Hz to 2 kHz.

A steady tone reads steadily; speech and noise wander, which is the measurement reporting its input rather than a fault. Silence prints nothing. If the browser has no getUserMedia, or you refuse the permission, the panel names the failure instead of showing a number. Stop ends every microphone track and closes the audio context, so nothing stays open after you leave.

No audio is recorded, no buffer leaves the tab and nothing is uploaded. The reading exists only while the page is open.

Read the dominant frequency of a steady tone from the microphone, with the nearest musical note and the input level in dBFS.

Pitch comes from an autocorrelation over one 2,048-sample buffer per frame, so the range is about 40 Hz to 2 kHz and speech or noise gives a wandering reading rather than a false certainty.

How to use Digital Frequency Timer

Press Start microphone and allow the browser's microphone prompt; until that press the analyser is not running.

Play one steady tone and read Measured frequency in Hz, with the nearest musical note printed beside it.

Press Stop when finished: it ends every microphone track, so the figure freezes instead of drifting on room noise.

How it measures

The browser asks for microphone permission when you press Start microphone. Each animation frame reads a 2,048-sample time-domain buffer from the analyser and autocorrelates it; the lag with the strongest repeat is the period and the frequency is the sample rate divided by it.

Reading it

A steady tone gives a steady number, and the nearest note is printed beside it. Silence reports nothing at all rather than a zero, because a zero hertz reading would be a measurement that was never made.

Where it stops

Roughly 40 Hz to 2 kHz, one dominant pitch at a time, and no recording. Stop ends every microphone track, no buffer leaves the tab, and the page cannot tell one instrument from another.

What to Expect

Best for

  • tuning a single sustained note or a tone generator
  • confirming which note an instrument is sounding

What this tool keeps

  • The audio is analysed frame by frame in this tab and no buffer is written, posted or played back.

Frequently asked questions

How is the pitch calculated?

Autocorrelation of a 2,048-sample buffer, searched over lags from sample rate / 2,000 to sample rate / 40. The strongest lag is the period, and the frequency is the sample rate divided by it.

Why does the reading jump when I talk?

Speech has no single dominant period, so the strongest lag changes from frame to frame. The wandering number is the measurement being honest about its input, not a fault.

Is my audio recorded?

No. One buffer is read per frame and discarded, Stop ends every microphone track, and nothing is uploaded or stored.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.