Online Tone Generator
Available in: English, Español, Deutsch, Français, Ελληνικά, Nederlands, Italiano, Português, 日本語
Generate precise audio tones from 20 Hz to 20 kHz. Adjust frequency, waveform, volume, and stereo pan. Download as WAV file.Learn more ▾Show less ▴
- Play any frequency with Hz input or musical note selection across the full chromatic range (E0–B9), with presets for mains hum, A440 concert pitch, and test tones.
- Sweep mode glides between two frequencies using logarithmic or linear curves — presets cover the full range, sub-bass, bass, mid, treble, a hearing test range, and the dog whistle range at the top of human hearing.
- Six signals: a single tone, noise, dual oscillator (with binaural routing), amplitude/frequency modulation, tone bursts, and pulse trains.
- Export any sound as a WAV file (1–60 seconds) for testing or music production.
- Real-time waveform visualization with adjustable volume, stereo panning, and built-in hearing safety warnings.
Resolution: 0.01 Hz · Range: 20–20,000 Hz
For long listening sessions with mixable sound layers, see the Noise Machine.
Stereo & fade
Dual Oscillator
Generate two independent tones simultaneously. Create beat frequencies by setting slightly different frequencies.
Modulation
Apply AM (amplitude) or FM (frequency) modulation to create complex tones and warble tones.
Burst
Generate tone bursts with customizable envelope shapes, duration, and repeat intervals.
Pulse
Create windowed pulse trains for transient response testing and signal analysis.
Download WAV
Settings
Hearing safety: Start with low volume. Prolonged exposure to loud tones can damage hearing. Some frequencies may be inaudible on phone speakers.
More pitch & tuning tools
- Ear Pitch TrainerEar training tool: hear a target note, sing or play it back, and get real-time pitch accuracy feedback.
- Note Frequency CalculatorConvert between musical notes and frequencies in hertz, with MIDI numbers, wavelengths, an adjustable concert pitch, and a full C0-B8 chart.
- Instrument TunerTune your guitar (6/7/12-string), bass (4/5/6-string), ukulele, violin, mandolin, or banjo with 37 tunings and auto-detected strings.
About This Tool
Generate audio tones from 20 Hz to 20,000 Hz using the Web Audio API (W3C). Choose from five waveforms—sine (pure tone), square (hollow), triangle, sawtooth, and impulse (click train)—plus six noise types, and adjust frequency with a logarithmic slider or a precise Hz box that accepts any value to 0.01 Hz. Control volume and stereo panning, and view the nearest musical note with its deviation in cents from the A4 reference you choose (440 Hz by default, the ISO 16 standard). Export tones as uncompressed WAV files at sample rates from 44.1 kHz to 192 kHz. Everything runs in your browser. Anonymous usage statistics include the frequency you set, the waveform, whether the Sweep tab is open and the use case you pick.
How to Use
- Set your desired frequency using the slider or enter a specific value in Hz. Choose from preset frequencies or fine-tune with +/- buttons.
- Select a waveform (sine, square, triangle, sawtooth, or impulse) or a noise type, and adjust the volume and stereo pan controls to customize your tone.
- Press Play to hear your tone and watch its waveform in real-time. Download it as a WAV file for offline use.
Methodology
This tone generator uses the Web Audio API's OscillatorNode to generate waveforms at frequencies from 20 Hz to 20 kHz. Each waveform has a distinct harmonic profile: sine waves contain only the fundamental frequency (the purest tone), square waves contain odd harmonics (1st, 3rd, 5th…) creating a hollow sound, triangle waves also contain odd harmonics but at lower amplitudes producing a softer timbre, and sawtooth waves contain all harmonics giving the brightest, richest sound. The logarithmic frequency slider follows human pitch perception—we perceive the interval between 100 Hz and 200 Hz as the same 'distance' as 1,000 Hz to 2,000 Hz (both are one octave). Musical note detection uses the A4 reference (440 Hz by default) with 12-tone equal temperament (12-TET), where each semitone is exactly the 12th root of 2 (≈ 1.05946) times the previous. Cents deviation is calculated as 1200 × log₂(f/fnearest), where ±50 cents spans one semitone. The volume slider sets a GainNode's gain linearly from 0 to 1; the Level setting is in dBFS, applied as a gain of 10^(dBFS/20). Stereo panning uses a StereoPannerNode. WAV export renders the signal in an OfflineAudioContext, creating uncompressed PCM audio at sample rates from 44.1 kHz (the CD rate) to 192 kHz. Frequency precision: you can set any frequency to two decimal places — a resolution of 0.01 Hz — and the exact value is passed straight to the oscillator rather than rounded to a whole number. The Web Audio API defines the oscillator's frequency as a floating-point parameter with a range up to the Nyquist limit (half the audio sample rate), so a typed value like 440.25 Hz plays at 440.25 Hz. Your device's audio hardware and sample rate also shape the pitch you actually hear.
Understanding Your Results
Sine waves produce the purest tone, with a single frequency and no harmonics—ideal for tuning instruments, hearing tests, and calibration. Adding sine waves of different frequencies produces other waveforms. Square waves contain only odd harmonics and sound hollow; subtractive synthesis uses them as the basis for wind-instrument sounds, and they make up the beeping alerts of many devices. Triangle waves also contain only odd harmonics, but these fall off much faster than in a square wave, so a triangle wave sounds softer and closer to a sine. Sawtooth waves contain every harmonic and sound harsh and bright. Because they contain all the integer harmonics, they suit subtractive synthesis, where filters shape the raw tone, especially for bowed strings such as violins and cellos. For frequency reference: A4 = 440 Hz is the international tuning standard, and a piano spans A0 (27.5 Hz) to C8 (4,186 Hz). Sub-bass below about 70 Hz tends to be felt more than heard, and sensitivity above about 15 kHz declines with age.
Practical Examples
A music producer plays a 440 Hz sine wave to check that the studio monitors reproduce pitch accurately, then exports a 60 Hz sawtooth wave as a 10-second WAV file to use as the starting point of a synthesizer bass patch. A teacher demonstrating hearing plays sine tones at 250, 500, 1,000, 2,000, 4,000 and 8,000 Hz, the frequencies of conventional audiometry, at a low and constant volume, and asks the class to raise a hand at each tone they hear.
Tips for Using the Tone Generator
Always start at low volume and increase gradually—prolonged exposure to loud tones can damage hearing. Use the sine waveform for instrument tuning and hearing tests: it contains only the fundamental frequency, with no harmonics. The logarithmic slider suits musical work because pitch perception is logarithmic. For precise frequencies, type the exact Hz value into the input field—useful for scientific applications or specific musical notes. When testing speakers or headphones, sweep slowly from 20 Hz to 20 kHz with a sine wave and note where the sound becomes inaudible at both ends. Then pan the tone left and right to check the balance, since a centred tone should sound equally loud in both ears with properly calibrated equipment. For WAV export, a 44.1 kHz sample rate covers frequencies up to 22.05 kHz, above the limit of human hearing. Choose 96 kHz or 192 kHz only for professional studio work or when you need to keep content above 22 kHz.
Sound Science Facts
- Human hearing spans about 20 Hz to 20,000 Hz, and the ear is most sensitive between 2 and 5 kHz. This sensitivity is largely due to the resonance of the ear canal and the transfer function of the ossicles of the middle ear.
- Sound intensity follows the inverse square law: doubling your distance from a source reduces intensity by 75% (a 6 dB drop).
- Sound waves that overlap simply add: the resulting wave is the sum of the individual waves. Because of this superposition principle, many waves can occupy the same space at the same time without affecting one another: when the sound waves of two people talking cross, each voice is unaffected.
- The Web Audio API generates tones mathematically using oscillators, with four built-in waveforms: sine, square, sawtooth and triangle.
- Sound travels as longitudinal (compression) waves. The speed depends on the medium and temperature—about 343 m/s in air at 20 °C, but 1,481 m/s in fresh water at the same temperature.
Sources
- Wikipedia — Audio frequency
- W3C — Web Audio API
- MDN — Web Audio API
- NASA Quesst — The Science of Sound
- Johns Hopkins University — Sound Waves
- Wikipedia — A440 (pitch standard), revision 1368304281
- Wikipedia — Hearing range
- Wikipedia — Square wave (waveform)
- Wikipedia — Triangle wave
- Wikipedia — Sawtooth wave
- Wikipedia — Subtractive synthesis
- Wikipedia — Sub-bass
- Wikipedia — Equal-loudness contour
- Wikipedia — Inverse-square law
- Wikipedia — Superposition principle
- Encyclopaedia Britannica — Principle of superposition
- Wikipedia — Speed of sound, revision 1379017831
Every signal is generated in your browser. Anonymous usage statistics include the frequency you set, the waveform, whether the Sweep tab is open and the use case you pick.
Embed This Tool
Keyboard shortcuts: Space: play or stop the signal shown; on the Sweep tab, start, pause or resume the sweep. Up arrow/Down arrow, with the Tone signal: raise or lower the frequency by 10 Hz, or by 100 Hz with Shift. Left arrow/Right arrow: adjust the pan. R: Reset.