Learning to Read Music with the Web MIDI API
summary
A small web app connects a USB digital keyboard to the browser via navigator.requestMIDIAccess and the Web MIDI API, listens for MIDI note on (144) messages, reads note numbers (middle C = 60, range used 60–72 = 13 notes) and velocity, compares incoming note numbers to a shuffled target sequence, marks each note green or red, waits 1.5s, advances and reports a score out of 13; it runs in Chrome/Opera and the demo works.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:32Who are we
- 1:02How this came about
- 2:31What is MIDI
- 2:57MIDI is not sound
- 3:55MIDI messages
- 6:35Web MIDI API
- 6:53Browser support
- 7:47Browser alternatives
- 8:22Getting MIDI support
- 10:26Getting MIDI data
- 12:06Treble Clef demo
- 16:42Resources
- 18:39Google Magenta
related talks
30mSmartWeb 2016 - Ruth John
29mMIDI A New Dimension in Controlling Your Browser
23mLet's talk about MIDI
20mLook What You MIDI Me Do!
14mMusical Creativity in the Browser
26mBeats in the Browser - Coding Music with JavaScript
40mBeats in the Browser - Coding Music with JavaScript
40mBeats in the Browser: Coding Music withJavaScript
