Oscillators and the four basic waveforms
Every synthesizer starts in the same place: an oscillator, a circuit or piece of code that produces a repeating wave. Understanding oscillators and the shapes they produce is the first step to designing your own sounds.
Sound as a wave
Sound is air vibrating. When the vibration repeats regularly, we hear a pitch. Two properties matter:
- Frequency: how many times the wave repeats per second, measured in hertz (Hz). Higher frequency means higher pitch. A4 is 440 Hz; each octave up doubles the frequency.
- Amplitude: how big the wave is — heard as volume.
Harmonics
Most sounds contain more than one frequency. On top of the main note (the fundamental) are quieter frequencies at whole-number multiples — 2×, 3×, 4× and so on. These are harmonics, and which harmonics are present (and how loud) is why a flute and a trumpet sound different on the same note.
The four basic waves
- Sine: a single frequency with no harmonics. Pure, smooth and round. Ideal for sub bass, whistles and soft tones.
- Triangle: a few odd harmonics that fade quickly. Soft and mellow, a little brighter than a sine — flute-like.
- Square: odd harmonics only, fairly strong. Hollow and woody — the classic sound of old video-game consoles and clarinet-like tones.
- Sawtooth: every harmonic. Bright, buzzy and rich — the raw material for strings, brass, leads and supersaws.
Noise
Noise isn't a repeating wave at all: it's random, containing all frequencies at once. Synths use it for hi-hats, snares, wind, breath and risers.
Why the wave choice matters
Because synths often shape sound by removing harmonics with a filter (subtractive synthesis), starting with a harmonic-rich wave like a saw or square gives you the most to work with. A sine has nothing to filter, so it's used where you want purity.
Stacking oscillators
Most synths have two or more oscillators. Layering a second one an octave higher adds brightness; a fifth higher sounds powerful and organ-like; the same pitch slightly detuned creates a thick, chorused sound. That's where the next steps of sound design begin.