Tone Generator

An online tone generator that plays any frequency from 1 Hz to 22 kHz as a sine, square, triangle or sawtooth wave, on the left channel, the right or both, at a level you set under a volume ceiling. Type a frequency or drag the logarithmic slider, run a linear or logarithmic sweep between two frequencies, use the presets, share a link that opens with your settings, or download the tone as a WAV file encoded in your browser. Every sound starts quietly and ramps up.

Result class: MeasuredLower your volume first. Press Play or the space bar; sounds start quietly and ramp up to the ceiling.
A4
Sweep→Hz overs
Sample rate: — · top frequency: —

Keys: Space play/stop · ↑/↓ ±1 Hz · Shift+↑/↓ ±100 Hz · 1–4 waveform · L / R / B channel

— — Hz

Runs in your browser. Nothing is uploaded.

Loud sound warning

This test plays tones that can be loud, including full-scale and high-frequency sounds. Lower your volume first, take earbuds out until the level is set, and stop if anything is uncomfortable. The volume ceiling on the page starts low and ramps up.

How to use

  1. Lower your volume. Type a frequency in hertz or drag the slider (it is logarithmic, so each tenth of its travel is roughly a decade), pick a waveform and a channel, and press Play or the space bar.
  2. Set the level with the slider next to Play; the ceiling in Settings caps everything, and the page asks once per session before playing at −6 dBFS or louder or above 8 kHz.
  3. For a sweep, enter the start and end frequencies and the duration, choose logarithmic or linear in Settings, and press Start sweep; the frequency readout and the slider follow it.
  4. Copy link to share the exact tone (frequency, waveform, channel and level are in the address), or Download WAV to save it as a 16-bit stereo file of the length set in Settings.

How to use the tone generator

Lower the volume, type a frequency or drag the slider, and press Play; the space bar does the same, and Stop or the space bar again stops it. The slider is logarithmic from 1 Hz to 22 kHz, which puts the same distance between 100 and 1,000 Hz as between 1,000 and 10,000, matching how pitch is heard; the number box takes decimals for precise work, the arrow keys step by 1 Hz (100 Hz with Shift), and the note name beside the number shows the nearest musical pitch and how many cents away it is. The level slider sets the tone’s own level in dBFS; the ceiling in Settings caps everything on the page, and the two together are what the output receives. Duration in Settings plays for a fixed time or until you stop.

The result class is Measured: the oscillator produces exactly the frequency and waveform requested, at the level set, and the readout reports the sample rate the browser is running at, which is the only thing that limits the top of the range. What your speakers or ears make of it is the subject of the sound test and headphone test pages.

Waveforms

Sine is a single frequency with no harmonics, the cleanest test tone and the right choice for hearing-range checks (the hearing range test runs slow sine sweeps for exactly that), for finding resonances in a room or a cabinet, and for anything where you want to hear one pitch alone. Square contains the fundamental and all the odd harmonics at strong levels; it sounds hollow and buzzy, reveals a system’s treble response immediately, and is a classic synthesizer tone. Triangle has the same odd harmonics but much weaker, so it sounds like a soft, slightly reedy sine. Sawtooth contains every harmonic and is the brightest and buzziest of the four. Press 1 to 4 to switch while playing. Because the non-sine waves carry energy far above the fundamental, a 1 kHz square wave puts real output at 3, 5, 7 kHz and beyond; keep the level lower than for a sine, and expect tweeters to be working hard.

Frequency sweep

Enter a start and an end frequency and a duration, choose logarithmic or linear in Settings, and press Start sweep. A logarithmic sweep spends equal time on each octave and is what you want for listening across the range: 20 Hz to 20 kHz over twenty seconds gives two seconds per octave. A linear sweep spends equal time on each hertz, so it races through the bass and lingers in the treble; it is useful for narrow ranges, such as 40 to 120 Hz for hunting a room rattle, or 2 to 4 kHz for a resonance. Sweeps can run in either direction, on one channel or both, with any waveform; the readout, the slider and the note name follow the frequency as it moves, and the Bezel’s chip shows it while you look elsewhere. Sweeps always ask for the loud-sound confirmation, because they pass through the region above 8 kHz.

Common test tones (presets)

The preset buttons play the tones that come up most. 20 and 50 Hz test a subwoofer and find the things in the room that buzz (the bass test does this as a guided sweep with markers); the left/right buttons address the two stereo channels, and the surround sound test does the same for all 5.1 or 7.1 channels; 100 and 250 Hz cover the bass-to-midrange region where small speakers begin to work; 440 Hz is A4, concert pitch, the tuning reference; 1 kHz is the audio industry’s standard alignment tone, the frequency at which levels are specified and meters are calibrated; 2 and 5 kHz sit in the range the ear is most sensitive to, where harshness and sibilance live; 10 and 15 kHz test tweeters and the top of hearing. The sound test page uses several of the same tones for its left/right and phase checks, and the headphone test uses them for driver matching.

Volume and safety

A pure tone concentrates all its energy at one frequency, which is why it can be uncomfortable, and damaging to a tweeter, at a level where music would be fine. The page starts every tone at −20 dBFS and ramps up over a fraction of a second, applies a ceiling (−12 dBFS by default, adjustable in Settings) above which nothing plays, and asks for confirmation once per session before playing at −6 dBFS or louder or above 8 kHz, where tones sound quieter than they are and the temptation to turn up is strongest. Set your system volume with a 440 Hz sine at a comfortable level, keep it there for high frequencies and for the non-sine waves, take earbuds out while you adjust anything, and stop at once if a sound is unpleasant. The decibel chart guide has NIOSH’s and OSHA’s exposure figures for reference.

Sample rate: what limits the highest frequency

Digital audio can represent frequencies up to half its sample rate and no higher, so the top of the generator’s range is set by the rate the browser’s audio output is running at: 22.05 kHz at 44.1 kHz, 24 kHz at 48 kHz, higher on systems set to 96 kHz. The readout shows the rate in use. Requesting a frequency above that limit does not produce it; it produces an alias, a lower frequency folded back into the audible range, which is why the page caps the input rather than attempting it. The rate is chosen by the operating system’s output settings and the device, not by the page, and Bluetooth devices often run at 44.1 or 48 kHz whatever the system is set to. For the same reason the WAV download is written at the browser’s current rate, which the toast confirms when the file is saved.

Sharing and saving round the page off. Copy link puts the frequency, waveform, channel and level into the address so another person opens the same tone; the page’s own address stays canonical. Download WAV writes a 16-bit stereo file of 5, 10 or 30 seconds with short fades at both ends, generated and encoded entirely in the browser with no library, so it works offline once the page has loaded and sends nothing anywhere.

Frequently asked questions

What is the highest frequency the tone generator can play?

Half the output's sample rate: 22.05 kHz at 44.1 kHz, 24 kHz at 48 kHz. The readout under the controls shows the sample rate the browser is using and the resulting top. The input accepts up to 22,050 Hz; anything above the half-rate limit cannot be produced correctly and is not attempted.

Why can't I hear high frequencies?

Adult hearing typically ends between 15 and 17 kHz and falls with age, and most speakers and some earbuds roll off before 20 kHz. A tone you cannot hear at 16 kHz is normal; the headphone test has a sweep with a marker for finding your own limit through your headphones, labelled Estimated because it measures ears and headphones together.

What is the difference between sine, square, triangle and sawtooth?

A sine is a single frequency and the purest test tone. Square, triangle and sawtooth contain the fundamental plus harmonics at multiples of it: square and triangle only odd harmonics (triangle much weaker), sawtooth all of them. They sound brighter and buzzier, and they are useful for hearing a system's treble response at a glance, for testing distortion, and for musical reference.

Is the tone generator safe to use with headphones?

At the levels the page starts with, yes: every tone begins at −20 dBFS and ramps up, the ceiling defaults to −12 dBFS, and anything louder or above 8 kHz asks for confirmation. Pure tones are harder on ears than music at the same meter reading, so set the volume with a 440 Hz tone at a comfortable level first and do not raise it for high frequencies, which sound quieter than they are.

Can I download the tone as a file?

Yes. Download WAV writes a 16-bit stereo WAV at the browser's sample rate, for 5, 10 or 30 seconds, with the waveform, channel and level you set and a short fade at each end to avoid clicks. It is generated and encoded in your browser; nothing is fetched or uploaded.

What are common test tones used for?

440 Hz is concert pitch A4 for tuning. 1 kHz is the standard reference tone for level alignment in audio equipment. 20–60 Hz tones test subwoofers and room rattles; 100–250 Hz the bass-to-midrange handover; 5–10 kHz tweeters and sibilance; 15 kHz and above the top of hearing and the limits of speakers. The presets cover those points.

Last updated:

Reviewed by: TestPane Editorial Team

Tested on: Firefox 142 (automated, Web Audio graph only)