1. Home
  2. Pitch & voice
  3. Tone Generator

Online Tone Generator

Generate a pure tone at any frequency from 1 Hz to 20 kHz — for tuning, testing speakers and headphones, hearing experiments or teaching. Adjust in cents, jump octaves, or sweep between two frequencies.

  • No registration
  • Free

01How to use it

  1. Type a frequency or drag the slider; use the note buttons for musical pitches.
  2. Choose a waveform and set the volume low before pressing Play.
  3. Fine-tune with ±1, ±10 or ±100 cents, or halve/double for octaves.
  4. For a sweep, enter the end frequency and duration, then press “Play sweep”.

02What it is good for

  • Providing a reference pitch (A4 = 440 Hz) for tuning by ear.
  • Testing speakers, subwoofers and headphones.
  • Hearing beats between two tones, or demonstrating waveforms in class.

03How it works

Tones are generated by the Web Audio oscillator at the sound card’s sample rate, so the frequency is exact in software; the output passes through a limiter that prevents sudden loud levels. A sine wave contains only its fundamental; square and triangle waves add odd harmonics, sawtooth waves all harmonics.

Very low frequencies (below about 40 Hz) are inaudible on small speakers, and very high ones (above 12–16 kHz) are hard to hear for many adults — yet they can still damage tweeters at high volume.

Pitch is estimated about 47 times per second with the McLeod pitch method, cross-checked with YIN, and passed through a noise gate and confidence threshold so that breaths, consonants and background noise are not mistaken for notes. Everything is computed on your device.

04Troubleshooting

  • Use a quiet room and keep a steady distance of about 30 cm from the microphone.
  • Sing on an open vowel such as “ah” or “oo”; consonants and whispering have no clear pitch.
  • Turn off music playing in the background, and use headphones if the tool plays reference tones.
  • If nothing is detected, check the input level bar; raise your voice or move closer.

05Browser and device support

Works in current Chrome, Edge, Firefox and Safari on desktop and mobile. The microphone must be allowed for this site. Results with Bluetooth headsets may be less accurate.

06Privacy

This tool does not use the microphone. Sounds are generated by your browser, and any settings or practice history are saved only in this browser (local storage) on a separate tool address.

Use “Delete data saved in this browser” at the bottom of the page to remove everything Music Lab has stored on this device.

07Limits

  • The analysis follows one voice or one instrument at a time; chords and choirs cannot be separated.
  • This is a practice tool, not a medical or professional voice assessment. Stop if singing feels strained.
  • Measured values depend on the microphone and room; compare results on the same device.

08Questions and answers

Is the frequency accurate?

The oscillator frequency is exact in the digital signal. The real-world accuracy depends on your sound card’s clock, typically within a few hundredths of a percent.

Can I play two tones at once?

Open the tool in a second browser tab to play another tone.

Is Music Lab free? Do I need an account?

Yes, every tool is free and works without registration. The site is funded by advertising shown on the article pages — never inside the tools themselves.

Related tools