Pixel Synth
A chiptune step sequencer. Paint notes on the grid (drag to paint a run), press play, and every note blooms in the dithered light show above, in the same spot it sits on the grid. One of the experiments in the Lab.
How it works: three voices modeled on an NES sound chip. The lead is a pulse wave with the chip's duty cycles, the bass a triangle wave, and the drums run through a 15-bit noise register (the hi-hat uses its short, metallic mode). WebAudio schedules each step a little ahead so the timing holds even when the page is busy. Each note drops a ring of light where its cell sits; the rings add up into a brightness per pixel, which a 4×4 Bayer pattern turns into on-or-off ink. Space plays and stops, arrow keys move around the grid, and the pattern lives in the URL, so Copy link shares your tune.