home/ modules/ first-sounds-browser-sandbox

First Sounds: Making Music in the Browser

  • 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

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

A browser music sandbox lets first-contact learners hear a concept before any install or account
Concept L0 Orientation AF
Music is created by exploiting relationships between sounds, not by sounds in isolation
Concept L0 Orientation A
Music is made by mixing and matching small musical ideas, then changing those combinations over time
Concept L0 Orientation AF
Pitch is the singable 'how high or low' quality of a sound, distinct from noise you can only call high or low
Concept L0 Orientation A
Drum programming sequences rhythmic patterns using electronic or digital sounds instead of a live kit
Concept L0 Orientation AN

Supporting — enrichment, not gating

Musical tones have regular periodic waveforms; noise is aperiodic and chaotic
Concept L1 Foundations AB
Music notation is a tool for storing and communicating musical ideas, not a prerequisite for musicianship
Misconception L0 Orientation A
Swing was first popularized in 1930s US jazz, with no single formula across players
Fact L0 Orientation AO
A cent is 1/100 of a semitone; cents are logarithmic so intervals add while ratios multiply
Fact L0 Orientation AB