Tone / Signal Generator
Synthesize sine, square, sawtooth, triangle, white-noise or pink-noise audio with a chosen duration, sample rate, amplitude, fade edges and mono/stereo output — entirely on your device.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
What the signal generator emits
Synthesize a mono or stereo 16-bit PCM WAV entirely in this tab from one of six sources: sine, square, sawtooth, triangle, white noise or one-pole-filtered pink noise. The result is returned as an audio data URI you can play at once or save as tone.wav, with the waveform, frequency, duration, sample rate and channel count reported alongside it.
When to reach for a test tone
Use it to check a speaker at a known frequency, tune an instrument against a 440 Hz reference, audition a filter, measure how loud a room sounds, or build a pink-noise loop for loudness matching. Because the output is a plain WAV, the same clip can feed any downstream analyser.
Options that change the sound
The waveform select picks the source, frequency must stay between 20 Hz and the Nyquist limit, and duration runs from 50 ms to 30 seconds. Amplitude, sample rate, a short edge fade and the mono or stereo switch control loudness, resolution and click-free starts and ends.
Validation and limits
Out-of-range duration, sample rate, amplitude, frequency or fade each raise a descriptive error, and a tonal frequency above half the sample rate is refused because it cannot be represented. Fade frames are capped at half the clip length.
Synthesis never leaves this tab
Every sample is generated with plain JavaScript and the WAV header is assembled locally, so no audio is uploaded and the generator keeps working offline once cached.
Questions
What format is the generated signal?
A 16-bit PCM WAV rendered as an audio data URI, playable immediately and downloadable as tone.wav.
Does the frequency setting affect the noise waveforms?
No. White and pink noise ignore the frequency field, which is why the file stats show an em dash where the pitch would appear.
Why is there an edge fade option?
A tone that starts or ends at full amplitude clicks. The fade ramps the first and last few milliseconds to zero, so it is capped at half the clip length to avoid swallowing short signals.
What happens if I choose a frequency above the Nyquist limit?
Frequency must lie between 20 Hz and half the sample rate; anything higher is rejected with a validation error because the chosen sample rate cannot represent it.
Related tools
See categoryMetronome Click Track
Generate a metronome click track as a WAV file at any tempo, bars and time signature.
Audio File Info
Inspect an audio file: duration, sample rate, channels, bitrate, peak and clipping.
Barcode Generator
Create Code 128, Code 39, EAN-13/8, UPC-A, ITF-14 and DataMatrix barcodes as crisp, scannable SVG.
Fake Data Generator
Generate realistic fake datasets — people, contacts, addresses, products — as JSON, CSV or SQL.