Tone Generator — Play Generate Audio Frequencies

Generate pure audio tones at any frequency from 20 Hz to 20,000 Hz. Choose from sine, square, sawtooth, or triangle waveforms and play them through your speakers or headphones. 100% client-side — nothing leaves your browser.

Current Frequency
440 Hz
A4 — Concert Pitch
Hz
50%

How to Use the Tone Generator

  1. Set frequency — type a value in the input field or drag the slider to sweep through 20 Hz–20 kHz.
  2. Choose waveform — select sine, square, sawtooth, or triangle to change the tone's timbre.
  3. Adjust volume — use the volume slider to control output loudness. Start low for high-frequency tones.
  4. Play / Stop — click Play to start the tone, Stop or Play again to silence it.
  5. Piano keys — click any white or black key to instantly play that note's frequency. Click again to stop.

Why Use This Tone Generator

Need a quick reference tone for tuning instruments, testing audio equipment, or calibrating speakers? This tool generates pure tones using the Web Audio API's OscillatorNode — no plugins, no downloads. The piano keyboard provides instant access to common musical notes from C3 to C6.

Whether you are an audio engineer running quick tests, a musician tuning by ear, or a developer prototyping sound in a web app, the tone generator is a lightweight, zero-install solution that runs entirely in your browser.

Frequently Asked Questions

The tool supports the full audible range from 20 Hz to 20,000 Hz. You can type any integer value or use the slider for continuous sweeping. Frequencies above ~15 kHz may be inaudible to some listeners.

Sine is the purest tone with no harmonics. Square sounds buzzy and hollow, rich in odd harmonics. Sawtooth is bright and buzzy with all harmonics. Triangle is soft and flute-like with odd harmonics at lower amplitude.

Start with low volume, especially at frequencies above 2,000 Hz. Prolonged exposure to loud sounds can cause hearing damage. The default volume is set to 50% — increase only if needed and keep listening sessions short at high volumes.

Use Cases

Instrument Tuning

Generate reference tones for A440 concert pitch or any tuning standard to tune guitars, pianos, and orchestral instruments.

Audio Equipment Testing

Test speakers, headphones, and amplifiers across the frequency response range to identify distortion or dead spots.

Hearing Range Test

Sweep from low to high frequencies to test your hearing range and discover the upper limits you can perceive.

Web Audio Prototyping

Quickly test oscillator frequencies and waveforms before integrating audio into your web application or game.