Tone Generator: Sine, Square, Triangle and Sawtooth
Pick a wave and a frequency, press Play and keep the volume low to start. Use it for a reference pitch, to test speakers or an equalizer, or to make a test tone file for your own project.
- Free Forever
- No Login
- No File Uploads
- Browser Processing
Tone
This is loud. A steady tone at this level can hurt your ears or damage small speakers and headphones. Turn it down, and take headphones off before you raise it.
Start with your device volume low. Very high and very low tones can be unpleasant, and some speakers cannot play them at all.
What this tool does not do
- It does not test or measure hearing, and it makes no health, therapy or relaxation claim. It has not been calibrated.
- It does not guarantee that your speakers or headphones can reproduce every frequency, or that you can hear it.
- It does not mix several tones, play chords or add effects. One wave at a time.
- It does not keep your settings: they reset when you reload the page.
The four waves and what they sound like
Every sound you hear from this page is computed from a simple formula, one number after another, and then played by your device. The four waves differ in how that formula behaves. A sine wave contains a single frequency and sounds pure and a little dull, like a tuning fork. A triangle wave adds weak odd overtones and sounds soft and slightly hollow. A square wave has strong odd overtones and sounds buzzy and hollow. A sawtooth wave has every overtone and sounds bright and harsh. Overtones are what make two instruments playing the same note sound different.
The frequency is how many times the wave repeats each second, in Hertz. 440 Hz is the A above middle C. Doubling a frequency raises the pitch by an octave, which is why the slider is logarithmic: equal movements of the slider are equal musical steps, and the number box lets you type an exact value from 20 Hz to 20,000 Hz. What you can actually hear depends on your speakers or headphones, which often cannot play the lowest and highest values at all. A glide sweeps smoothly from the start frequency to an end frequency over the time you choose, in equal musical steps, and then holds the end frequency.
The volume starts low on purpose. A pure tone can seem quieter than it is, and a loud one at a very high or very low frequency can be unpleasant or can overload small speakers. A warning appears when the volume goes above half. Each tone fades in and out over a few hundredths of a second, so starting and stopping does not produce a click. The saved WAV is rendered with the same settings: sine and triangle are exact, while square and sawtooth are smoothed at the sharp edges so that high notes do not fold back as harsh false tones.
- Sine, square, triangle and sawtooth waves.
- Any frequency from 20 Hz to 20 kHz, with a logarithmic slider, exact entry and note shortcuts.
- Optional glide between two frequencies over 0.1 to 60 seconds.
- A low default volume, a visible warning above 50% and soft fades at start and stop.
- WAV export of 0.1 to 120 seconds, 16-bit mono at 44.1 kHz.
How to use the Tone Generator
- Choose a Wave and type a Frequency, or move the slider or press a note button.
- Leave the Volume low, press Play tone, then raise it a little if you need to.
- For a sweep, tick Glide, enter an end frequency and how long it should take. Changes apply while it plays.
- To keep a tone, set the length in seconds and press Save as WAV.
Is it private?
Yes. The tone is computed inside your browser and nothing is uploaded or stored. The WAV file is created on your device only when you press Save as WAV.
Read our tools privacy policy →
Frequently asked questions
Why is the volume so low when I press Play?
To protect your ears and speakers. A steady tone is tiring and can be much louder than it feels at first, especially on headphones. Raise it slowly. The percentage is the level of the file before your device volume, so the real loudness also depends on your volume control.
Why can I not hear the lowest or highest tones?
Phone and laptop speakers cannot move enough air for deep bass, and hearing for very high pitches fades with age and differs between people. A tone that you cannot hear is still being generated; your equipment or ears are the limit.
Can I use it to tune an instrument?
Yes, as a reference pitch: play 440 Hz and match your instrument to it by ear. The Note and Frequency Calculator gives the frequency of any note, and the Tuner listens to your instrument for you.
What is the difference between the square and sawtooth waves?
A square wave has only odd overtones and sounds hollow, like a clarinet or an old video game. A sawtooth has every overtone and sounds sharper and brighter, like a bowed string synthesizer. The sine and triangle waves are mellower.
Why does the saved file start and end softly?
Both ends fade over about 30 milliseconds. A wave cut off in the middle of a cycle makes a click, and the fade prevents it.
Is this a hearing test?
No. It is a signal generator. It has not been calibrated, so it cannot measure hearing or make any health claim. If you are worried about your hearing, see a qualified professional.