Oscillator tools
Waveform generator
Four classic oscillator shapes at any frequency — hear what the harmonics do to the same note.
Stopped
Frequency
A4 · 0 cents
Quick tones
Waveform
Pure tone, single harmonic.
Stereo balance
Balance position: Center
Note
Octave
Auto-stop timer
Space play/stop · ←/→ ±1 Hz (Shift ±10, Alt ±0.1) · ↑/↓ semitone · W waveform
The four boxed waveforms
Synthesizers, test equipment, and programming languages settle on four stock waveforms: sine, square, sawtooth, and triangle. The tool above plays all four at any frequency you choose, one at a time, so you can press play at 220 Hz and flip between shapes with the pitch held constant. That single control change is the fastest lesson in timbre you can give yourself.
The shapes differ only in their overtone recipe — the raw pitch is the same — yet they sound roughly like a pure flute, a brassy buzzer, a raspy kazoo, and a soft clarinet respectively. Every waveform above is built from sine waves added together, which electronics people call Fourier synthesis; the ear hears the mixture as one tone with a particular color.
- Sine: the fundamental alone — pure, round, single pitch
- Square: odd harmonics in a strong series — hollow, buzzy, game-console
- Sawtooth: odd and even harmonics together — bright, brash, cutting
- Triangle: quiet odd harmonics only — mellow, flute-like, soft
Hearing the harmonics one by one
A clean way to understand the shapes is to stack them yourself. Play 220 Hz as a sine, then open the multi tone generator in a second tab. Add a second voice at 660 Hz — the third harmonic, an octave and a fifth above — and you have just built the core of a square wave by hand. Adding 1100 and 1540 Hz extends the odd-number series further, and each addition thickens the buzz the way the square selector does automatically.
The sawtooth tells the opposite story: it contains every harmonic, odd and even, at strengths set by one simple rule. That completeness is why saw sounds bright and aggressive, why analog synthesizers love it for leads and basses, and why filter sweeps that shave those harmonics off one by one sound so remarkably musical when you play with a classic synth.
Which waveform for which job
For measurements, stay on sine: meters, crossovers, and hearing conventions all assume a pure tone, as the sine wave generator page explains. For actual music-making the other three shapes are palette. Square waves read as chip-tune and woody reeds, sawtooth reads as classic analog lead and fat strings, and triangle covers soft bass lines and gentle pads that sit behind vocals without fighting them.
Electronics bench work uses the same boxes differently: a square wave into an amplifier reveals low-end tilt and ringing on its flat top, a triangle tests for midband distortion between the extremes, and the sine remains the distortion-measurement reference. Whichever direction you work from, the tool above gives each shape at any hertz with the same sliders, balance, and download.
| Wave | Harmonics | Sounds like | Common use |
|---|---|---|---|
| Sine | Fundamental only | Flute, tuning fork | Testing, tuning, calibration |
| Square | Odd harmonics, strong | Buzzer, chip-tune leads | Electronics stimulus, retro synths |
| Sawtooth | All harmonics, bright | Brass, raspy lead | Analog-style leads, filter demos |
| Triangle | Odd harmonics, soft | Clarinet-ish flute | Soft bass, sub lines, gentle pads |
Digital synthesis: where these shapes come from
Generators like this one build the shapes mathematically rather than electronically: the browser computes a smooth sine curve sample by sample, and the other three shapes come from simple formulas — square from a sign flip, sawtooth from a rising ramp that resets, triangle from folding that ramp into a mirror. The output reconnects with decades of analog hardware history while staying perfectly repeatable, which is exactly what you want from a reference tool.
Because the math is exact, the tool renders identical results on every visit and every machine: the same frequency, the same shape, the same level. That repeatability is why browser synthesis suits testing at least as well as dedicated hardware, and the downloaded WAV carries the identical waveform into any project offline for keeps.
Frequently asked questions
What is a waveform generator?
A waveform generator synthesizes an oscillator shape — sine, square, sawtooth, triangle, or similar — at a frequency you choose. The browser version above plays the four classic shapes live over the full audible range, with sliders for frequency, volume, and balance, plus a download button that renders your exact settings to a WAV file.
Why does a square wave sound different from a sine wave?
A square wave contains the fundamental plus a series of odd harmonics that a sine lacks. Your ear hears those extra components as buzz. Switch between the two at the same frequency above and the pitch stays put while the color jumps from pure smoothness to hollow game-console buzz — that contrast is the whole difference.
What are harmonics?
Harmonics are whole-number multiples of a frequency: 3 × 220 Hz is 660, 5 × 220 Hz is 1100, and so on. Any repetitive waveform equals its fundamental (first harmonic) plus a weighted stack of these, so a wave with many strong harmonics sounds bright and complex, while a sine with only the first sounds pure.
Which waveform is best for testing speakers?
Sine, without contest — the tone is a single frequency, so any speaker anomaly directly reveals itself at that frequency. Buzzier waves muddle conclusions because the harmonics span several octaves at once; if the test tone generator routine sounds confusing, confirm you left it on sine.
Can I use these waveforms for music production?
Yes — the WAV download hands your chosen shape and frequency to your DAW as a sample, ready to layer, filter, or process. Producers commonly drop triangle basses, square blips, and filtered saw drones straight under a session. For realtime chord and beat stacking with several pitches together, the multi tone generator is the better surface.
Does this waveform generator cost anything?
Nothing — all four shapes, the full frequency range, and the WAV download are free with no account. Everything is synthesized locally by your browser, so audio never leaves your device, and there is no session limit to interrupt an evening of experimenting.