Understanding the result
The tone generator produces a synthesized audio signal in your browser using the exact selected frequency (in Hz), waveform, and test level. When playback is active, the status panel confirms the running state, musical note approximation, and waveform characteristics.
How to use this tool
- Click Start Tone Generator to activate the browser audio engine.
- Enter a frequency in Hz or drag the logarithmic frequency slider from 20 Hz to 20,000 Hz.
- Select a waveform: Sine for a pure tone, or Square, Triangle, and Sawtooth for harmonic overtones.
- Keep the test level conservative, then click Play Tone to start playback.
- Use presets for quick reference tones (such as 440 Hz or 1 kHz), adjust stereo balance, or run an optional frequency sweep.
- Click Stop Tone as soon as you have finished your listening test.
What is an audio tone generator and how does it work?
An audio tone generator is a tool that synthesizes continuous periodic waveforms at precise frequencies measured in Hertz (Hz). One Hertz represents one complete cycle per second. Using the native Web Audio API (OscillatorNode, GainNode, and StereoPannerNode), our generator synthesizes tones mathematically inside your browser without loading external audio files or sending data over the network. It provides clean, instant reference tones for audio testing, tuning, and acoustic exploration.
Sine vs. Square vs. Triangle vs. Sawtooth: Understanding audio waveforms
Waveform geometry determines the harmonic content and timbre of an audio signal. A Sine wave represents a pure fundamental frequency with zero harmonic distortion, making it ideal for clean frequency checks and tuning. A Square wave contains only odd harmonics (3rd, 5th, 7th...) that roll off inversely with frequency, creating a hollow, buzzy, retro-arcade timbre. A Triangle wave also contains odd harmonics, but they diminish much faster (1/n²), producing a warmer, flute-like tone. A Sawtooth wave contains both even and odd harmonics in rich succession, resulting in a bright, raspy, energetic sound commonly used in synthesizers.
Common reference frequencies: 440 Hz, 1 kHz, and 432 Hz
Certain frequencies serve as international benchmarks across music and acoustic engineering. 440 Hz (concert pitch A4) is the universal tuning standard adopted across modern orchestras and musical instruments. 1 kHz (1,000 Hz) is the standard test tone used in broadcasting, audio equipment calibration, and reference signal alignment. 432 Hz is an alternative tuning reference chosen by some musicians and ensembles for its slightly warmer, lower pitch compared to standard concert tuning.
Using frequency sweeps to identify resonances and speaker rattles
A frequency sweep transitions smoothly across a defined band of frequencies (such as 100 Hz to 8,000 Hz) over a set duration. Sweeps allow listeners to easily detect mechanical cabinet buzzes, loose headphone drivers, or acoustic room modes where certain frequencies suddenly sound louder or quieter due to boundary reflections. Logarithmic sweeps are particularly useful because they spend an equal amount of time across each musical octave.
Tone Generator vs. Speaker Test: Choosing the right audio tool
While both tools utilize your computer's sound system, they fulfill different purposes. Our Speaker Test is an audio diagnostic tool focused on verifying left and right stereo channels, voice announcements, and confirming that speakers or headphones are connected properly. Tone Generator is a signal generator that lets you select exact frequencies, alter waveforms, adjust stereo pan balance, and run frequency sweeps. If you only need to verify that your left and right speakers produce sound, use Speaker Test. If you need a specific pitch or test signal, use Tone Generator.
Audio safety: Protecting your hearing and speaker drivers
High-amplitude continuous tones can place significant thermal and mechanical stress on speaker voice coils and cause ear fatigue. Always begin with your computer or phone system volume at a low setting and keep the in-app test level conservative (15–25%). Never increase volume to maximum in an attempt to hear sub-bass (< 30 Hz) or ultrasonic (> 16 kHz) tones, as inaudible high-power signals can still overheat speaker drivers or harm hearing.
Troubleshooting
- If no sound is audible, ensure your device volume is turned up, verify that the browser tab is not muted, and check that the in-app test level is above 0%.
- If the tone is very quiet, increase the test level slider gradually, or check your operating system audio mixer and headphone volume controls.
- If the tone sounds distorted or crackly, lower the test level slider below 75% to prevent digital clipping in your operating system audio mixer.
- If the pitch does not change when adjusting frequency, press Enter or blur the frequency input field, or drag the logarithmic slider to update the active oscillator in real time.
- If low frequencies (such as 20–50 Hz) are inaudible, note that phone and laptop speakers cannot physically reproduce sub-bass; test with quality headphones or a subwoofer.
- If high frequencies (above 14–16 kHz) are inaudible, human hearing sensitivity naturally rolls off with age and many consumer speakers attenuate upper treble.
- If sound plays only through one ear, check the Stereo Balance (Pan) slider to confirm it is set to Center, or ensure your headphone cable is fully plugged in.
- If playback stops when switching tabs or locking your device, note that mobile browsers suspend Web Audio processing in background power-saving modes.
- If Bluetooth audio is delayed or stutters, wireless codecs introduce latency; switch to wired speakers or headphones for instant tone response.
- If the tone does not start on mobile, tap 'Start Tone Generator' and then 'Play Tone' directly, as mobile browsers require explicit user interaction before playing audio.
- If changing waveform sounds abruptly harsh, square and sawtooth waves naturally contain intense harmonic overtones that sound much louder than pure sine waves.
- If a frequency sweep stops prematurely, clicking Stop or leaving the tab cancels scheduled automation; restart the sweep to hear the full programmed range.
Browser and device limitations
Tone Generator creates an internal digital audio signal. It does not measure physical sound pressure level (dB SPL), acoustic room reflections, or speaker distortion, nor does it diagnose clinical hearing conditions. Output audibility is shaped by your playback hardware and human hearing thresholds.
Common questions
What is an online tone generator?
An online tone generator is a browser-based tool that uses the Web Audio API to synthesize periodic audio waveforms (such as sine, square, triangle, or sawtooth waves) at exact user-selected frequencies measured in Hertz (Hz).
How do I generate a 440 Hz reference tone?
Click 'Start Tone Generator', select the '440 Hz' preset button (or type 440 in the frequency input box), choose the Sine waveform, and click 'Play Tone'. 440 Hz is the standard concert pitch reference for musical note A4.
What is the difference between Hz and musical pitch?
Hertz (Hz) is an objective physical unit denoting cycles per second of a waveform. Musical pitch is the human auditory perception of that frequency. For example, 440 Hz corresponds to musical pitch A4, while 880 Hz corresponds to A5 (one octave higher).
What is the difference between sine, square, triangle, and sawtooth waves?
A sine wave is a mathematically pure fundamental tone with zero harmonic distortion or overtones. Square waves contain strong odd harmonics, producing a buzzing, hollow sound. Triangle waves also contain odd harmonics, but they roll off rapidly for a mellow timbre. Sawtooth waves contain both even and odd harmonics, creating a bright, harsh, buzzy sound.
Can I safely test headphones and speakers with this tone generator?
Yes, provided you begin with low system volume and a conservative in-tool test level (such as 15–20%). Never turn volume up to maximum to hear sub-bass or ultrasonic tones, as high power levels can strain speaker coils or cause auditory fatigue.
Why can't I hear very low (< 40 Hz) or very high (> 14 kHz) frequencies?
Human hearing naturally rolls off below 20–30 Hz and above 14–17 kHz (especially as people age). Additionally, small laptop, smartphone, or desktop speakers cannot physically reproduce low sub-bass frequencies. Lack of sound at extreme frequencies is normal and does not necessarily indicate a defective speaker or hearing loss.
What is a frequency sweep and what is it used for?
A frequency sweep smoothly transitions through a spectrum of audio frequencies (such as 100 Hz to 8,000 Hz) over a set duration. Audio enthusiasts and engineers use sweeps by ear to listen for cabinet rattles, room resonances, or sudden dropouts in speaker output.
Does Tone Generator measure speaker frequency response or diagnose hearing?
No. This tool generates a calibrated electrical digital signal inside your browser. It does not measure the acoustic output of your speakers, record microphone response, or provide clinical hearing evaluations.
Is the generated tone calibrated to an exact decibel (dB) level?
No. The in-tool test level controls the digital gain of the browser oscillator. The physical sound pressure level (dB SPL) reaching your ears depends entirely on your operating system volume, amplifier gain, audio interface, and speaker efficiency.