Music theory for programmers

What happened
I can't play an instrument, so I worked out music theory in JavaScript instead. Twelve notes, scales and chords, derived from scratch with code you can hear.
Summary assembled by rule from the sources below
Why it's spreading
Timeline
- First appeared on LobstersLobsters
- Discussion started on Hacker NewsHacker News