React beyond markup
summary
A small JSX-based sequencer composes timed musical events by mapping and cloning child components to assign start times, using the browser Web Audio API to build and connect AudioContext nodes like oscillator node and buffer source. It loads WAVs via fetch + decodeAudioData, passes one shared audio context through React context to avoid recreating it, and computes offsets from tempo and notes-per-quarter to schedule kicks, snares, synths and a Moog-style bass. Live demo plays the assembled tracks successfully.
AI-written summary · about
chapters (11)
- 0:00Start
- 1:57Music Theory
- 4:09Oscillator Node
- 5:15Audio Routing
- 8:46Create an Oscillator
- 10:40Note Parser
- 12:31Fetch Api
- 22:35Notes per Quarter
- 27:14Snare Drum
- 29:33Bars and Sections
- 30:48Synth Line








