Tone Generator

Play a pure test tone at any frequency from 20 Hz to 20 kHz. Pick a waveform, sweep the frequency live while it plays, and use the presets for tuning, speaker testing and hum hunting.

tone-generator · runs locally
Waveform
Presets
silentProtect your ears: start at low volume, especially above 8 kHz.

What a tone generator is useful for

A tone generator produces a signal of one known frequency, which makes it a surprisingly versatile diagnostic tool. The 440 Hz preset is concert pitch A4 for tuning instruments. A 1 kHz sine is the standard reference for setting levels on mixers and interfaces. A 10 kHz tone quickly reveals whether a tweeter is alive, and 60 Hz (or 50 Hz in much of the world) lets you compare a suspected ground-loop hum against the real thing. Sweeping the slider slowly through a room can even expose rattles and resonances in furniture and speaker cabinets.

How the generator works

The tone comes from a Web Audio oscillator running in your browser — no audio files, no server. Frequency, waveform and volume all update live while the tone plays, so you can sweep smoothly instead of stopping and restarting. One small quality touch: the gain ramps up and down over about 15 milliseconds on start and stop. Starting a waveform mid-cycle at full volume produces a sharp click; the short ramp removes it, which matters when you are listening for artifacts rather than creating them.

The frequency slider is logarithmic, matching how hearing works: the octave from 100 to 200 Hz gets as much slider travel as the octave from 5 to 10 kHz, so low frequencies are not squashed into the first few pixels.

A note on hearing safety

Pure tones concentrate all their energy at one frequency, and the ear judges loudness poorly above 8 kHz or so — a high tone can be doing damage before it feels loud. Begin every test at low volume and raise it gradually. If you need steady timing rather than steady pitch, the Online Metronome uses the same audio engine to produce sample-accurate clicks.

Frequently asked questions

Is anything recorded or sent anywhere when I play a tone?

No. The tone is synthesized in real time by your browser's Web Audio API — an oscillator running entirely on your device. Nothing is recorded, uploaded or sent to any server, and the page works the same offline.

What is the 440 Hz preset for?

440 Hz is A4, the international concert pitch that orchestras and tuners standardize on. Play it while tuning a guitar, violin or voice: match your A to the tone and tune the remaining strings relative to it.

Why do square and sawtooth waves sound harsher than sine?

A sine wave contains a single frequency. Square and sawtooth waves add a long series of harmonics — multiples of the base frequency — on top of it, which the ear hears as buzz and edge. That harmonic richness is also why they are useful for testing distortion and filters.

What is a safe listening level for test tones?

Start with volume low and headphones off your ears, then raise it slowly. Steady pure tones can be more fatiguing than music at the same level, and high frequencies can be loud before they feel loud. If a tone is uncomfortable, or you notice ringing afterwards, it was too loud.