Online Tone Generator

Free online tone generator and frequency sweep. Play sine, square, triangle, or sawtooth from 20 Hz to 20 kHz, or white and pink noise, to test speakers.

440 Hz
20 Hz~630 Hz20 kHz
Output:

Start volume low: high frequencies and square waves can be harsh. Hearing above about 15 kHz fades with age.

↗ Suggest an improvement

Pick a waveform, set a frequency with the slider or by typing an exact value in Hz, and press Play. For fine-tuning, focus the slider and tap the arrow keys. Each press moves 1 Hz, or 10 Hz if you hold Shift. ½× halves the frequency and 2× doubles it, a full octave either way. To cover a range, switch to Sweep. The pitch glides on its own from Start to End, upward or downward. Send the tone to one channel to test a single speaker. Keep the volume low to start. High frequencies turn piercing fast.

Sweeps run on a log scale. The default 20 Hz to 20 kHz pass covers about ten octaves in 10 seconds, roughly a second each, so the bass gets as much time as the treble. Hunting a rattle? Box it in with Start and End, turn on Loop, and the sweep keeps passing over it. Share this tool under the generator sends someone the exact sweep you ran.

How to use

  1. Pick a waveform. Choose Sine for a pure, single-frequency tone, Square or Sawtooth for a harsher buzzy timbre, or White and Pink noise for a full-spectrum hiss.
  2. Set the frequency. Drag the slider or type an exact value in Hz. Start around 1 kHz, then nudge it with the arrow keys on the slider (1 Hz per press, 10 Hz with Shift). ½× drops an octave, 2× climbs one.
  3. Or run a sweep. Switch to Sweep, set Start, End, and Duration, and press Play. The pitch glides from Start to End and stops. With Loop on, it restarts at Start every time.
  4. Play and route it. Press Play, then set Output to Both, Left, or Right to check one speaker or one ear at a time.

Why test this

A pure, controllable tone is a measuring stick for everything audio. Sweep it up until the sound disappears and you've mapped the top of your own hearing, a quick proxy for age-related loss. Park it at the deep bass or the sparkly highs a speaker claims to reach, and you find out whether the driver actually gets there or quietly rolls off at the extremes. Hold a low frequency and walk the room, and a rattle or a standing-wave resonance gives itself away by what buzzes. Pink noise through each speaker is the classic check for a system that sounds balanced instead of boomy or harsh. None of this needs an app or a bench signal generator. A browser oscillator is accurate enough for every practical test short of lab calibration.

What the results mean

A sine tone should sound smooth and pure at any frequency your gear and ears can handle. Set a long Duration, sweep upward at a modest volume, and note where it fades to nothing. That point is roughly your hearing ceiling, and anything past the mid-teens of kHz is already good for an adult. At the bottom end, a deep tone that gives only a faint click, or nothing, means the speaker can't move enough air down there. That's normal for laptop and phone speakers. Buzzing or rattling on a steady tone is usually not the driver itself but something loose vibrating nearby, or a room mode at that exact frequency. The harsher waveforms are meant to sound edgy and harmonic-rich. If even a clean sine tone breaks up, you're clipping, so drop the volume. Use the Left and Right routing to compare your two ears or two speakers at the same frequency and level.

FAQ

What is a tone generator used for?
It plays a precise, steady frequency. Use it to find the top of your hearing range, check whether a speaker reproduces a given frequency, hunt down a buzzing resonance in a room, or tune and calibrate audio gear.
What frequency range can I hear?
Healthy young ears cover about 20 Hz to 20 kHz. The top drops with age, and plenty of adults hear nothing above 15 to 17 kHz. Sweep slowly from 10 kHz to 20 kHz at a modest volume and note where the tone vanishes for you.
How do I run a frequency sweep to test my speakers?
Pick Sweep, keep the volume low, and play the default run: 20 Hz to 20 kHz over 10 seconds. Note where the bass fades in and where the treble drops out. Any rattle or buzz in between is worth a second pass. Narrow Start and End around it and turn on Loop.
Why does the sweep spend so long in the bass?
It's a log sweep. Each octave gets equal time, so 20 to 40 Hz lasts as long as 10 to 20 kHz. A linear sweep from 20 Hz to 20 kHz in 10 seconds would cross that bottom octave in a hundredth of a second. Half its run would sit above 10 kHz.
What's the difference between white and pink noise?
White noise puts equal energy on every frequency, so it sounds bright and hissy. Pink noise puts equal energy in each octave, sounds fuller and more even, and is the standard signal for checking speakers and room response.
Why does the tone sound distorted or harsh?
Square and sawtooth waves are packed with harmonics, so they buzz by design. Real distortion on a clean sine is clipping. Pull the volume down. A small speaker can also struggle at the very low and very high ends.
Can a tone generator damage my speakers or hearing?
A loud tone held for a long time can stress small drivers and tire your ears, more so at high frequencies. Keep the volume low, avoid long bursts, and never crank a high tone you can't even hear to gauge it.

How it works

Every sound here comes from your browser's Web Audio API. Sine, Square, Triangle and Sawtooth are its built-in oscillator shapes. White noise is random samples spread evenly across the whole range. Pink noise is that white noise passed through a filter, which gives each octave about the same energy. Both noises play from a 2 second clip on repeat.

The frequency runs from 20 Hz to 20,000 Hz in whole hertz. The slider is on a log scale. An octave at the bass end takes as much room as one at the top. On the slider, an arrow key moves 1 Hz, and Shift with an arrow moves 10 Hz. ½× and 2× jump a full octave and stay inside the range.

A sweep is logarithmic. The pitch at a moment t is Start × (End ÷ Start) raised to t ÷ Duration. That gives every octave the same time: the default run from 20 Hz to 20,000 Hz over 10 seconds spends about a second on each one. Duration runs from 1 second to 300 seconds. Your browser plays each pass as one glide on its audio clock. The pitch never steps from frame to frame. With Loop on, it jumps back to Start after each pass.

Left and Right pan the whole signal to one side. Volume is a gain on the signal before it reaches your system. Starts and stops fade over 30 ms. That kills the click. On an iPhone, the page asks iOS to treat the tone as media playback. Silent mode then leaves it alone, and other audio pauses while it plays.

What a browser cannot see

The volume slider sets a share of your device's output, not a sound level. Nothing here knows how loud the tone is at your ear. Where a high tone fades out for you is a rough check. Don't read it as a hearing test.

This test uses no microphone. When a high tone goes silent, the page can't tell whether your ears or your speaker dropped it. Try the same tone on headphones before you blame your hearing.

Between the browser and the speaker, your system can change the sound: an equalizer, a sound enhancement setting, a Bluetooth link that compresses the signal. Your browser never sees any of it.

iOS older than 16.4 ignores that media request. There, silent mode mutes this page. Turn it off before you start.

A looped sweep needs this tab in front. In a background tab the loop pauses and the tone holds at End until you come back. A single sweep still ends on time.

Sources

Was this tool useful?

Related reading

Related tests

Embed the tone generator on your page

Writing a speaker review or a headphone guide? Add the tone generator so readers sweep audio and catch dead frequency bands without leaving. One snippet, sine, square, and pink noise included, no install.

Want the whole set on your pages? See every tool you can embed →