Tone Generator - Play Sine, Square & Sawtooth Tones
Professional signal generator: pure tones and sweeps from 1 Hz to 20,000 Hz with ADSR envelope, dual oscillator, channel routing, and WAV or MP3 export.
Type an exact frequency or sweep the logarithmic slider, pick a waveform, and press Play. Shape the level with an ADSR envelope, run a linear or logarithmic frequency sweep, add a detuned second oscillator for beat tones, route the signal to the left or right speaker, and export the exact configuration as a WAV or MP3 file.
Tone Generator - Play Sine, Square & Sawtooth Tones
Professional signal generator: pure tones and sweeps from 1 Hz to 20,000 Hz with ADSR envelope, dual oscillator, channel routing, and WAV or MP3 export.
440 Hz
frequency
ADSR envelope
Envelope: 15 + 80 + 200 ms
Attack ramps from silence to full level, decay falls to the sustain level, and release fades to silence. In Gate mode the tone holds at sustain until you press Stop; in One-shot it plays for the set duration and releases by itself.
Dual oscillator
The second oscillator runs at the same base frequency, detuned by up to ±100 cents. Two sines a few cents apart beat at their frequency difference — the classic by-ear tuning reference.
Nearest note
A4 +0¢
Period
2.27 ms
Wavelength in air
0.78 m
Period = 1,000 ÷ frequency in ms; wavelength = 343 m/s ÷ frequency; note offset is measured in cents (100 cents = 1 semitone, A4 = 440 Hz); sweep span in octaves = log2 of end frequency ÷ start frequency.
Export
Exports render the current settings offline — tone or sweep, envelope, oscillator mix, and channel routing — at 44.1 kHz stereo as 16-bit WAV or 192 kbps MP3, using the set duration.
Start at a low volume, especially with headphones — square and sawtooth waves sound much louder than a sine at the same setting.
About this online tone generator
A tone generator produces a mathematically clean signal — the audio equivalent of a laboratory reference. This one synthesizes everything in your browser with the Web Audio API, so the pitch is accurate to a fraction of a cent and there is nothing to install. Beyond a steady tone from 1 Hz to 20,000 Hz in four classic waveforms, it adds the controls an audio engineer actually reaches for: an ADSR amplitude envelope, a linear or logarithmic frequency sweep, a detunable second oscillator, per-channel routing, and offline WAV or MP3 export.
The ADSR envelope (attack, decay, sustain, release) shapes how the level evolves. A slow 200 ms attack removes the onset transient so you can judge steady-state driver behavior; a fast attack with a short one-shot duration approximates a tone burst, useful for spotting rattles that only excite on transients. Gate mode holds the sustain level until you stop — the classic signal-generator behavior — while One-shot fires a complete envelope of a set duration, repeatable click-free test shots every time.
Sweep mode turns the generator into a chirp source. A logarithmic sweep from 20 Hz to 20,000 Hz spends equal time in every one of its ten octaves, which is why log chirps are the standard stimulus for speaker frequency-response checks and room-mode hunting: sweep the bass slowly and listen for spots where the level blooms (a room mode) or the cabinet buzzes (a mechanical fault). Linear sweeps concentrate time in the treble and are handy for finding narrow resonances up high. The readout shows the span in octaves so you can note exactly what a chirp covered.
The dual oscillator earns its place at tuning time. Two oscillators at the same frequency detuned by a few cents produce audible beats at their difference frequency — detune 440 Hz by 4 cents and you hear roughly one beat per second. Musicians and piano technicians tune by eliminating exactly these beats, and the ±100 cent range covers a full semitone for interval training. The mix control sets the balance between the two.
Channel routing sends the signal to the left speaker, the right, or both — the quickest way to verify wiring polarity mistakes, a dead channel on an amplifier, or a swapped pair behind an AV rack. Combine it with a low-frequency tone to confirm which subwoofer channel is actually driven.
Finally, the export section renders the exact current configuration — tone or sweep, envelope, oscillator mix, routing — offline at 44.1 kHz stereo and downloads it as a 16-bit WAV or a 192 kbps MP3, from a tenth of a second up to a full minute. Load the file onto a phone or USB stick and you have a repeatable test signal for installs where a laptop and browser are impractical.
Useful test signals
Reference configurations engineers and musicians reach for, and what the readouts show.
Signal
Readout
What it is for
440 Hz sine
Nearest note A4, dead on pitch; period about 2.3 ms
Concert pitch — the universal tuning reference for orchestras and tuners.
1,000 Hz sine
Nearest note B5, about 21 cents sharp; period 1.00 ms
The standard audio measurement frequency for level calibration and THD specs.
Log sweep 20 to 20,000 Hz over 20 s
Sweep span 10.0 octaves
Full-bandwidth chirp for speaker frequency-response and room-mode checks.
Log sweep 20 to 200 Hz over 30 s
Sweep span 3.3 octaves
Slow bass sweep — the classic way to hunt cabinet rattles and room booms.
Audible beat reference for by-ear tuning practice.
50 Hz sine, left channel only
Period 20.00 ms; wavelength about 6.86 m
Confirms which channel drives the subwoofer and checks wiring.
How to use the signal generator
Turn your system volume down first, then set the tone volume slider low — especially with headphones.
Pick a steady tone (type a frequency or drag the log slider) or switch Mode to Frequency sweep and set the start frequency, end frequency, and curve.
Shape the envelope: attack, decay, sustain, and release. Choose Gate to hold the tone until you press Stop, or One-shot to fire a complete envelope for the set duration.
Optionally enable the second oscillator with a detune in cents to hear beat frequencies, and route the output to the left channel, right channel, or both for speaker checks.
Press Play to audition, then use Download WAV or Download MP3 to render the exact configuration offline as a portable test file.
Tone generator FAQ
How is the nearest note calculated?
The frequency is converted to a position on the equal-tempered scale with A4 = 440 Hz: each doubling of frequency is 12 semitones, and each semitone is 100 cents. The readout shows the closest note name and how many cents your frequency sits above or below it — a quarter of a semitone is 25 cents.
What does the ADSR envelope actually do?
It shapes the amplitude over time: attack ramps from silence to full level, decay drops to the sustain level (a percentage of full), and release fades back to silence. In Gate mode the sustain holds until you press Stop; in One-shot mode the whole envelope plays over the set duration. Envelopes also guarantee click-free starts and stops, because the level never jumps instantaneously.
When should I use a logarithmic sweep instead of a linear one?
Almost always for acoustics. Hearing and speaker specifications are octave-based, and a logarithmic sweep spends equal time in every octave, so a 20 Hz to 20,000 Hz log chirp gives the bass — where room modes and rattles live — as much time as the treble. A linear sweep spends over 90 percent of its time above 2,000 Hz, which is only useful when hunting narrow high-frequency resonances.
What are beat frequencies and what is the detune control for?
Two tones close in frequency sum into a single tone that pulses at their difference frequency. Detuning the second oscillator by a few cents from 440 Hz produces about one beat per second per 4 cents, and tuning by ear means adjusting until the beats slow to zero. It is also how piano technicians set temperament and a good workout for interval recognition.
What exactly does the export produce?
The current configuration — steady tone or sweep, waveform, envelope, second-oscillator mix, channel routing, and volume — is rendered offline at 44.1 kHz stereo for the set duration (0.1 to 60 seconds), then encoded as a 16-bit PCM WAV or a 192 kbps MP3. Offline rendering means the file is sample-accurate and identical on every export, unaffected by anything playing on your machine.
Can I damage my speakers or hearing with a tone generator?
Yes, at high levels. Continuous pure tones concentrate all their power at one frequency, which stresses drivers more than music does, and loud high-frequency tones can cause hearing damage before they feel painful. Start quiet, increase slowly, and never run high-level tones near a speaker's limits for long.