Music Viz
✓ Published0🌍 Public
SSpaceActuary
Last edited Mar 10, 2017
Created on Mar 8, 2017
A single highlighted note travels across a musical staff while the tune "Twinkle, Twinkle, Little Star" plays as a square-wave audio tone. The pitch of each played note determines the note’s vertical position via a D3 ordinal scale mapping clef pitches to y-coordinates. The visualization uses D3 v4 to render SVG elements and animate the note’s position with `requestAnimationFrame`, while the `tones.js` library generates the audio through the Web Audio API.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed