Saved

Press the star next to a tool's name to save it.

All my tools

Tone / Frequency Generator

Use this free tone generator to play a pure sine, square, triangle or sawtooth tone from 1 to 20,000 Hz, run a frequency sweep and download the sound as a WAV file.

Restored your last values ·

Hz
Hz
seconds
seconds

Set a frequency between 1 and 20,000 Hz, pick a waveform and press Play. Start with the volume low and your device volume low too. Tones outside about 20 Hz to 16,000 Hz may be inaudible or uncomfortable.

Sound is made in your browser and nothing is uploaded.

Tone

–

Hearing safety: keep the volume low, especially with headphones, and stop if a sound is uncomfortable. Loud sound can damage hearing.

Recent results

A tone generator makes a steady sound at a frequency you choose. This free online tone generator plays any frequency from 1 to 20,000 Hz, so you can test speakers, tune an instrument by ear or try a hearing demonstration.

It uses the Web Audio API built into your browser. The oscillator it relies on produces sine, square, sawtooth and triangle waves. [1]

How to use the tone generator

  1. Type a frequency in hertz, for example 440.
  2. Choose a waveform: sine, square, triangle or sawtooth.
  3. Turn the volume down low, then press Play.
  4. Raise the volume slowly until the tone is comfortable.
  5. Press Stop when you are done, or tick the sweep box to glide between two frequencies.

Frequency and volume can be changed while the tone is playing. The tone fades in and out over a few hundredths of a second so you do not hear a click at the start and end.

What the waveforms sound like

The shape of the wave changes the character of the sound even at the same pitch. The browser’s oscillator supports sine, square, sawtooth and triangle waves. [1]

WaveformSound
SinePure and smooth, a single frequency
SquareHollow and buzzy, rich in odd harmonics
TriangleSoft, between sine and square
SawtoothBright and harsh, rich in harmonics

Our own working: use sine when you need a clean test tone, and the other shapes when you want to hear how harmonics change timbre.

The range of human hearing

Human hearing is usually given as about 20 Hz to 20,000 Hz, and the upper limit tends to fall as people get older. [2] Sounds below 20 Hz are called infrasound and above 20 kHz ultrasound. [2] That is why the tool offers 1 to 20,000 Hz, and why a tone at either end of the range may seem silent to you or may not play on small speakers or earbuds.

Frequency sweep

Tick the sweep box to glide from the first frequency to a second one over the number of seconds you choose. The sweep is exponential, which means each octave takes the same time. Our own working: this is how pitch is perceived, so the sweep sounds even instead of racing through the high notes.

A slow sweep from 20 Hz to 20,000 Hz is a quick way to find where a speaker or headphone stops reproducing low or high sound.

Download a WAV file

Press Download WAV to save the tone as an audio file. For a steady tone, set the length from 1 to 60 seconds. With the sweep on, the file is as long as the sweep. The file is 16-bit mono at 44.1 kHz, written by our own encoder in your browser, and it opens in any audio player or editor.

Hearing safety

Loud noise near the ear, or repeated exposure to it, can cause hearing loss. [3] A pure tone feels louder than many people expect, and headphones put the sound close to the ear. Start at a very low volume, avoid long listening and stop if the sound is uncomfortable or you notice ringing afterwards.

Square and sawtooth waves are especially harsh at high pitch. Keep the volume low for them and take care with young children and pets nearby.

Common uses

  • Checking that a speaker or headphone channel works.
  • Finding the lowest and highest tones your equipment can play.
  • Tuning a string or other instrument to a reference pitch such as 440 Hz.
  • Teaching how pitch and frequency relate in science lessons.
  • Making a short test sound file for a project.

Browser tips

Browsers do not play sound until you press a button, so the tone always starts after you click Play. If you hear nothing, check the tab is not muted, the device volume is up and no other app has taken the audio output. Very low tones may be inaudible even though the tool is working.

Examples of useful frequencies

Some familiar reference points make the tool easier to use. A frequency of 440 Hz is the standard tuning note for the A above middle C on many instruments. Doubling a frequency raises the pitch by one octave, so 880 Hz is the next A up and 220 Hz the A below. Our own working: these values are conventions, so check which reference pitch your ensemble uses before tuning.

  • 100 Hz: a low hum, good for testing bass response.
  • 1,000 Hz: a clear mid-range tone, often used for level checks.
  • 10,000 Hz: a high, thin tone that many adults hear only faintly.
  • 16,000 Hz and above: audible only to some listeners and easily uncomfortable.

Troubleshooting

If nothing plays, press Play again, because browsers start audio only after a click or tap. If the sound crackles, lower the volume: very loud signals can distort small speakers. If a very low tone seems quiet, that is normal, since small speakers cannot move enough air at low frequencies and human hearing is less sensitive there. A sweep that seems to jump at the ends may be your speaker running out of range.

Square wave and sawtooth cautions

Square and sawtooth waves hold their energy in many harmonics, so at the same volume they can sound much louder and sharper than a sine wave. Switch to them only after setting a low volume, and avoid long listening sessions with headphones on.

What next

Use this often? Add Tone / Frequ to your Home screen.

Frequently asked questions

What is a tone generator?

A tone generator produces a steady sound at a frequency you choose, such as 440 Hz. It is used to test speakers, tune instruments and demonstrate pitch.

What frequencies can this tone generator play?

From 1 Hz to 20,000 Hz. Humans typically hear from about 20 Hz to 20,000 Hz, so tones at the extremes may be inaudible.

Can I download the tone?

Yes. Press Download WAV to save a 16-bit mono WAV file of the tone or the sweep, made in your browser.

Is it safe to play loud tones?

Keep the volume low. Loud sound near the ear can damage hearing, and headphones make this more likely. Stop if a tone is uncomfortable.

Which waveform should I choose?

Use sine for a clean, single-frequency tone. Square, triangle and sawtooth contain extra harmonics and sound brighter.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Fun & Lifestyle Tools