Sound frequency is the number of pressure oscillation cycles per second for a periodic sound. Its unit is the hertz (Hz). Frequency helps explain perceived pitch and acoustic behavior, whereas decibels describe a level relative to a reference. A sound can change in level without changing its fundamental frequency. [OpenStax Physics] [CCOHS]
| Frequency | Period |
|---|---|
| 50 Hz | 20 ms |
| 100 Hz | 10 ms |
| 1,000 Hz | 1 ms |
| 5,000 Hz | 0.2 ms |
Frequency and the period of one cycle
Period is the time required to complete one cycle. Frequency f and period T are reciprocals: f = 1/T. If a periodic pressure pattern repeats every 0.01 seconds, its frequency is 100 Hz. A 1,000 Hz pattern has a period of 0.001 seconds, or 1 millisecond. This describes repetition rate, not the strength of the pressure variation.
Pitch, hearing and physical frequency
A periodic sound's pitch is strongly associated with its frequency, but pitch is a perception and can depend on other properties and the listener. A young person's approximate hearing range is commonly described as 20 Hz to 20 kHz, with considerable individual variation. This is not a personal hearing test or a statement of a particular microphone's supported range. [OSHA]
Most real-world sounds have a spectrum
A fan, vehicle or voice may contain several frequency components rather than one steady tone. A periodic source can have harmonics at integer multiples of its fundamental. A broadband source spreads energy across many frequencies. The strongest displayed component is not necessarily the fundamental, and a complex noise may have no meaningful single pitch. Read how to investigate fan noise for a practical example.
Frequency and decibels answer different questions
A frequency value tells you how rapidly a component oscillates; an acoustic level describes a logarithmic ratio. Two 100 Hz and 1,000 Hz components could have the same physical pressure level but different weighted levels. Frequency-weighting filters change the contribution of different frequencies. See A, C and Z frequency weighting.
How the frequency analyzer works
The online frequency analyzer uses the browser's AnalyserNode with a 4,096-point FFT. At an illustrative sample rate of 48,000 Hz, the nominal frequency-bin spacing is 48,000/4,096 ≈ 11.72 Hz. The current interface estimates dominant frequency from a usable strongest nonzero bin. Bin spacing is not guaranteed frequency accuracy; windowing, smoothing, signal conditions and the input chain influence the displayed spectrum. [MDN]
Using frequency measurements responsibly
Use a fixed device and comparable conditions when investigating relative spectral changes. A peak may help identify a recurring tonal component, but cannot by itself diagnose a fault or establish an acoustic sound-pressure level. Do not generate loud sounds or use the analyzer as a hearing test. Use the frequency and wavelength explanation to connect periodic motion with its spatial scale.
References and further reading
Development content; final technical, editorial and applicable jurisdiction review pending.