You plug in new speakers, or a secondhand pair of headphones, and want to check they sound right across the range. A song won't do that: you need a pure tone, a single exact frequency with nothing mixed in. The tone generator creates that signal in your browser, at the frequency and waveform you pick.
What a pure tone is, and why songs don't work for this
A song is a mix of hundreds of simultaneous frequencies — voices, instruments, harmonics — constantly changing. It's impossible to isolate whether a speaker mishandles a specific frequency while listening to normal music. A pure tone, on the other hand, is a single constant frequency, mathematically generated by an oscillator. If something's wrong at that exact frequency (a damaged speaker, a hearing loss in that range), it's immediately noticeable because there's nothing else playing to mask it.
The four waveforms
- Sine: the purest possible wave, a single tone with no added harmonics. It's the standard reference for frequency testing.
- Square: alternates sharply between two levels. It sounds harsher because, mathematically, it contains a series of odd harmonics on top of the fundamental frequency.
- Sawtooth: rises linearly and drops abruptly, repeatedly. It contains every harmonic (odd and even), giving it a brighter, more metallic timbre typical of analog synthesizers.
- Triangle: similar to sawtooth but with a symmetric, smoother rise and fall. It sounds duller than square, with fewer high harmonics.
Practical uses for a tone generator
- Testing speakers or headphones: the tone plays on both channels at once, so it reveals a speaker that's silent or distorts at one frequency. To isolate one channel, use your device's or system's balance control. For another sound check, see the speaker test.
- Finding the range of your own hearing: the commonly stated range of human hearing is 20 Hz (low, almost a vibration) to 20,000 Hz (high, a thin whistle) (reference), and the high end narrows with age. The slider is linear: half of its travel covers 20 Hz to 10 kHz. For high frequencies, type the value into the number field, for example 8,000 or 16,000 Hz, instead of sweeping.
- Reference tone (A440): 440 Hz is the note A used to tune musical instruments. ISO 16, reaffirmed in 1975, sets that frequency as the reference (Concert pitch).
- Tinnitus frequency matching: in an audiological evaluation, the approximate pitch of tinnitus, the sound heard with no external source, is measured (Tinnitus). A home tone generator can give you a rough idea, but it doesn't replace a medical evaluation.
Frequently asked questions
Can I download the tone as a file? Yes. It generates a 16-bit, mono, 44,100 Hz WAV file with the chosen frequency, waveform, duration and volume. To understand what those numbers mean, read digital audio: sampling and codecs.
Why does the tone have a very short fade at the start and end? In the WAV, the first and last 10 ms fade so the sudden cut of the wave doesn't cause a click. In live playback, the volume drops over 10 ms when you stop the tone or when it reaches its duration. For fades in general, see audio fade in and fade out.
What frequency range is available? From 20 Hz to 20,000 Hz. If you type a value outside that range, it's set to the nearest limit when you leave the field.
Is everything generated locally? Yes. Playback uses the OscillatorNode of the Web Audio API, and the WAV is calculated with JavaScript on the page itself. Neither sends data to a server.
Generate pure tones at any frequency and waveform with the tone generator, listen live or download them as WAV.