Oscillators: raw waveforms, phase, sync, and unison
Learning objectives
- learner can select and shape raw oscillator waveforms (saw, square/pulse, noise) for a target harmonic character
- learner can apply oscillator techniques — pulse-width modulation, hard sync, start-phase/retrigger, sub-oscillators, unison detune — to thicken and animate a voice
- learner can build simple chords and layered timbres within a single multi-oscillator patch
Capstone — one whole task that evidences the objectives
In a soft synth, design four contrasting raw oscillator sources — a fat unison saw widened into a chord via stack mode or semitone-interval transposition, a PWM-animated pulse, a hard-synced lead, and a tuned atmospheric noise layer whose color (white/pink/brown, looped for tunability) you choose by its spectrum — verifying each source's spectrum before adding any filter.
Prerequisite modules
Everything downstream in subtractive synthesis — filters, envelopes, effects — can only sculpt what the oscillators supply. This module builds the whole task of choosing and animating raw sources on purpose: in a live-coding or soft-synth rig (Surge XT, Serum, Vital), you rarely have time to fix a thin source later, so a trance supersaw, a warm PWM pad, or an aggressive synced lead must be right at the oscillator stage. The capstone asks for exactly that: four contrasting sources — a chord-stacked unison saw, a PWM pulse, a synced lead, and a tuned noise layer — each verified on a spectrum analyzer before any filter touches them.
The arc starts supported. First exercises revisit a single pulse wave, hearing how duty cycle sets harmonic content, then adding an LFO — the “sweeping pulse width with an LFO” move — to turn one static oscillator into a chorused, living pad. From there the learner stacks: detuned unison copies for width, a sub oscillator an octave down for weight (guided by the “sub oscillator adds low-end weight” procedure), and stack mode or semitone transposition to fold a fifth or a full chord into one patch — the chord requirement of the saw leg. The “supersaw lead” recipe serves as a JIT how-to for the fat-saw leg of the capstone, while hard sync’s phase-reset behavior explains the screaming lead leg. The noise leg draws on the noise-color cluster — white’s flat spectrum versus pink and brown rolloffs, and looped noise as the trick that makes a noise layer tunable. Phase atoms — start phase, retrig vs. random, and cancellation when layering — are the debugging lens when a bass mysteriously thins out or attacks click.
Required atoms gate the capstone directly: without pulse-width harmonics, sync, unison, stack/interval stacking, phase, and noise-color knowledge, the four sources cannot be designed or verified. Supporting atoms enrich rather than gate — VCO voltage control and 1V/octave connect the ideas to analog and modular hardware, band-limited oscillators explain why digital saws stay clean, and the Surge XT oscillator atoms map the concepts onto one concrete free instrument. Drill unison detune, PWM setup, and sub layering until they are reflexive; they recur in nearly every patch you will build after this.
Runnable examples
Generated from the context/ instrument corpus by concept (redistributable idioms only). Do not edit — regenerate with gen-module-examples.mjs.
detune-thickening
saw [110, 110.2] >> audio
punctual-0009 · CC0-1.0
d1 $ note "c2" # sound "supersaw" # detune 0.3
tidal-0039 · CC0
bitcrush
s("bd*4").crush(4)
strudel-0022 · CC0
d1 $ sound "bd*4" # crush 4
tidal-0021 · CC0
chord-extension
[60,63,67,70] @=> int ch[]; SawOsc s => ADSR e => dac; e.set(2::ms,120::ms,0,2::ms);
for(0=>int i;i<ch.size();i++){ Std.mtof(ch[i]) => s.freq; e.keyOn(); 150::ms => now; }
chuck-0035 · MIT
mono-bass
mono (saw [110,220,330]) >> audio
punctual-0013 · CC0-1.0
reese-bass
use_synth :dsaw; play :e1, detune: 0.3, cutoff: 70, release: 0.4
sonicpi-0039 · CC0
Atoms in this module
Required — these gate the capstone
Supporting — enrichment, not gating
Part of curricula
- Dawless Performer — hardware jam to recorded live take — Signals, voices, and the DAWless mindset required
- Electronic Music Producer — from raw sound to a released track — Design your palette — synthesis and groove required
- Live Coder — zero to performing live-coded music — Patterns, Grooves & Voices recommended
- Synthesist / Sound Designer — deep DSP to a performed live synth rig — Hearing sound as spectrum, shaping a first voice required
Unlocks — modules that require this one
- Drum synthesis: kicks, snares, hats, claps, and toms from scratch
- FM synthesis: carriers, modulators, ratios, and index
- Max/MSP and computer-music environments: dataflow patching
- Ring modulation, AM, frequency shifting, and vocoding
- Procedural audio and creative sound-design practice
- Subtractive synthesis: from raw wave to shaped voice
- Waveshaping and distortion: nonlinear timbre and saturation
- Wavetable synthesis: scanning single-cycle frames for evolving timbre