First Sounds: Making Music in the Browser
Learning objectives
- learner can explain music as organized relationships between sounds rather than isolated notes
- learner can distinguish pitch from noise and sequence a drum pattern by ear in a zero-install browser tool
- learner can combine and re-combine small musical loops into an evolving short piece
Capstone — one whole task that evidences the objectives
In a browser music sandbox (no install, no account), build a 30-second loop-based sketch that layers a programmed drum pattern under a simple pitched idea, and narrate how you combined and changed the small ideas over time.
This module is the very first contact with making music the way live coders and electronic producers actually work: not by writing a melody on staff paper, but by layering and mutating small loops in real time. The whole task is a 30-second sketch built in a zero-install browser sandbox (Chrome Music Lab or similar) — the same browser-first posture that tools like Strudel and Hydra assume later, so the habits formed here transfer directly to a live-coding rig.
The arc starts fully supported. Open the sandbox one click away — the point of “a browser music sandbox lets first-contact learners hear a concept before any install” — and simply toggle pre-made loops on and off, discovering by ear that “music is made by mixing and matching small musical ideas.” Next comes ear training in miniature: using the distinction between a singable pitch and mere high/low noise, the learner sorts the sandbox’s sounds into pitched material and percussive noise. Then a guided round of drum programming — sequencing kick, snare, and hats by ear — before scaffolding is removed for the capstone: build the sketch alone and narrate the choices.
Each required atom gates that capstone. Without the relationships-not-isolated-notes framing, the narration collapses into a parts list; without the pitch/noise distinction, the learner can’t deliberately layer a pitched idea over drums; without drum programming and loop combination, there is no sketch at all. The supporting atoms enrich rather than gate: the notation misconception removes gatekeeping anxiety (“I can’t read music, so I can’t do this”), the periodic-vs-aperiodic waveform picture behind tone and noise offers a deeper acoustic explanation for learners who want it, while swing’s jazz origins and the cents unit offer first glimpses of the rhythm and tuning depths later modules explore.
Runnable examples
Generated from the context/ instrument corpus by concept (redistributable idioms only). Do not edit — regenerate with gen-module-examples.mjs.
swing
s("hh*8").swingBy(1/3, 4)
strudel-0008 · CC0
d1 $ swingBy (1/3) 4 $ sound "hh*8"
tidal-0008 · CC0
Atoms in this module
Required — these gate the capstone
Supporting — enrichment, not gating
Part of curricula
- DJ / Selector — from track selection to a mixed set — Behind the decks: signal, cue and the first blend required
- Electronic Music Producer — from raw sound to a released track — Make your first loop — sound, DAW, and the ear required
- Live Coder — zero to performing live-coded music — First Sounds in the Browser required
- Music Culture Writer — scenes, lineages & critical practice — Orientation & the origin stories recommended
- Sampling Artist — from crate-digging to a curated sample practice — Turn recorded sound into an instrument recommended
- Synthesist / Sound Designer — deep DSP to a performed live synth rig — The synthesis palette — FM, additive, wavetable, granular, drums optional
Unlocks — modules that require this one