About the Tone Generator
Tuning instruments, testing speakers and headphones, science experiments and hearing curiosity all call for a precise tone. This tone generator plays any frequency from 1 Hz to 20,000 Hz in sine, square, sawtooth or triangle waves, with fine control over frequency, volume and left-right balance, and it shows the nearest musical note: 440 Hz is the A above middle C used as a tuning reference. Start at a low volume, especially with headphones, since high frequencies can be uncomfortable.
Choose a sine wave for a pure tone, or a square, sawtooth or triangle wave for richer sounds with harmonics. The balance control sends the tone to the left or right speaker, which is handy for checking stereo wiring or headphones, and the volume starts low to protect your ears and equipment. Presets cover mains hum, the A4 tuning note, a 1 kHz test tone and high hearing-test frequencies.
The sweep function glides from one frequency to another over a set time, on a logarithmic or linear scale. Sweeps help find resonances and rattles in rooms, cars and speakers, test the frequency range of headphones, or check the upper limit of your hearing. Everything is synthesized live with Web Audio in your browser.
To keep time while playing, use the online metronome. For background sound, try the white noise generator, and to play melodies, the online piano.
How to use the Tone Generator
- Set the frequencyType a frequency, drag the slider or pick a note or preset.
- Choose the waveformPick sine, square, sawtooth or triangle.
- Start lowSet a low volume, press Play, then raise it carefully.
- Sweep if neededEnter start and end frequencies and a duration, then press Sweep.
Tone Generator features
- 1 Hz to 20 kHz
- Sine, square, sawtooth and triangle
- Logarithmic frequency slider
- Octave and 1 Hz steps
- Nearest note and cents
- Left and right balance
- Logarithmic and linear sweeps
- Presets for common test tones
Common uses
- Tuning instruments to a reference pitch
- Testing speakers, subwoofers and headphones
- Checking left and right audio channels
- Finding rattles and room resonances
- Hearing range experiments in class
Pure tones in practice: tuning by ear with beats, wavelength in a physics lesson, testing speakers and subwoofers, hearing comparisons and safe volumes
A tone generator plays a single, steady frequency, which makes it a precise tool for tuning, teaching physics, testing audio equipment and exploring hearing. This guide tunes a string by listening for beats and covers wavelength and frequency in the classroom, testing speakers and subwoofers, comparing hearing across ages, electronics projects and listening safely.
A worked example: tuning with beats
A violin student tunes the A string to 440 Hz by playing the reference tone and bowing the string at the same time. When the two pitches are close but not equal, the sound pulses, a pattern called beating, at a rate equal to the difference in frequency. As the string approaches 440 Hz, the beats slow down, and they disappear when the string matches. The same method works for guitar, harmonium and other instruments.
Wavelength in a physics lesson
Physics students learn that wavelength equals the speed of sound divided by frequency. With sound travelling at about 343 metres per second in air, a 440 Hz tone has a wavelength of about 78 centimetres. Playing tones at different frequencies while calculating wavelengths makes the relationship concrete, and low tones show how long sound waves can be.
Testing speakers and subwoofers
Slow sweeps from low to high frequencies reveal where speakers start and stop producing sound, and where rattles or buzzes appear. Subwoofer owners can test the crossover region, while people setting up halls or classrooms can find frequencies that resonate unpleasantly in the room.
Hearing across ages
High-frequency hearing declines with age, so a tone that a teenager hears clearly may be silent to their parents. Families and classes enjoy comparing the highest tone each person can hear. This is an interesting demonstration, not a hearing test, and anyone concerned about hearing should see a professional.
Electronics projects
Hobbyists and students use tone generators as signal sources for testing amplifiers, filters and audio circuits, often alongside an oscilloscope. Choosing different waveforms, such as sine and square waves, shows how circuits treat simple and complex signals.
Musical intervals
Playing two tones together shows intervals: frequencies in simple ratios, such as 2 to 1 for an octave or 3 to 2 for a fifth, sound consonant. Exploring ratios with a tone generator connects music theory with mathematics in a way students remember.
Listening safely
Start every session at low volume and increase it gradually, especially with headphones. High frequencies can be uncomfortable or harmful at volumes that do not seem loud at first. Stop immediately if a tone causes discomfort or ringing in the ears.
Tinnitus questions
Some people use tones or noise to understand or mask tinnitus, but changes in hearing or new ringing should be checked by a doctor. Sound therapy for tinnitus is best guided by audiology professionals rather than experimenting alone at high volumes.
Common mistakes
- Starting tests at high volume.
- Treating hearing comparisons as medical tests.
- Tuning by watching numbers instead of listening for beats.
- Forgetting that room acoustics affect what you hear.
Related tools
To check left and right speakers, use Speaker Test. For a steady beat while practising, try Online Metronome, and to calculate wavelengths for other frequencies, Wavelength Calculator.
Room resonance
Playing slow sweeps in a room often reveals frequencies that suddenly sound much louder, especially low tones, because of standing waves between walls. Moving speakers or the listening position changes these effects, which explains why bass sounds boomy in some spots and thin in others.
Science fair projects
Tone generators support simple experiments, such as finding the resonant frequency of bottles filled with different amounts of water or mapping the hearing range of classmates. Projects like these teach measurement, fair testing and graphing results.
Reference pitch for eastern instruments
Musicians tuning harmoniums, tanpuras or other instruments can use a tone as a reference for their chosen Sa. Playing the tone and adjusting until the instrument matches, listening for beats, gives a stable reference when no other instrument is available.
Limits of small speakers
Phone and laptop speakers cannot reproduce very low tones, so a 40 Hz test may be nearly silent on them while clearly audible through good headphones or a subwoofer. Missing low tones on small speakers is a physical limit, not a fault in the tone.
Pets hear differently
Dogs and cats hear higher frequencies than people. Very high tones that seem silent to you may be audible and unpleasant to pets nearby, so avoid long high-frequency tests when animals are in the room.
Not a calibrated measurement
Volume settings on computers and phones are not calibrated, so a tone's loudness varies between devices. For measurements that need known sound levels, such as acoustic testing in buildings, use calibrated equipment rather than a browser tone.
Recording tones for lessons
Teachers can record short clips of different frequencies to play in class or share with students, building a small library for lessons on pitch, intervals and hearing. Keep recordings at moderate levels and remind students to listen at a comfortable volume.
Privacy
Tones are generated in your browser. Nothing is recorded or sent anywhere.
Frequently asked questions
Is it safe to listen to test tones?
At low volume, yes. Start quiet and raise the level slowly, especially with headphones, because pure tones can sound quieter than they are. Very high or very low frequencies can damage speakers at high volume even when you hear little.
What is the range of human hearing?
About 20 Hz to 20,000 Hz for young people. The upper limit drops with age, often to 15,000 Hz or less in adults. Very low frequencies are felt as vibration more than heard.
Why can't I hear very low or very high tones?
Small speakers and laptop speakers cannot reproduce frequencies below about 100 to 200 Hz, and your hearing or your equipment may not reach the highest frequencies. Use headphones or larger speakers to test the extremes.
What is the difference between the waveforms?
A sine wave contains a single frequency. Square and triangle waves add odd harmonics, with the square sounding buzzy and the triangle soft, while a sawtooth contains all harmonics and sounds bright and brassy.
What does the cents value mean?
A cent is a hundredth of a semitone. The tool shows how far your frequency is from the nearest note of the equal-tempered scale with A4 at 440 Hz, so +12 cents is slightly sharp.
What is a frequency sweep?
A tone that glides from one frequency to another. A logarithmic sweep spends equal time on each octave, which matches how we hear pitch, while a linear sweep moves at a constant number of hertz per second.
Does it work on phones?
Yes, in all modern mobile browsers. Tap Play to start, since phones only allow sound after a tap, and check that silent mode is off.
Can I use it to tune my instrument?
Yes. Choose the note you want from the note list, such as A4 at 440 Hz, play it and tune your string until the beating between the two sounds disappears. A sine wave is easiest to compare by ear.
Can a tone generator help with tinnitus?
Some people use a tone near the pitch of their tinnitus to identify it before talking to a doctor or audiologist. Keep the volume low and listen only briefly; this tool is not a medical treatment.