Armagan Amcalar
You Gotta Love Frontend, Vilnius
May 16th, 2019
Armagan Amcalar
Senior Engineering Manager @ Wayfair
Founder @ Lonca Works
dashersw dashersw
dashersw
dashersw
Musical Instrument Digital Interface
A communication protocol for
digital musical instruments.
dashersw
dashersw
dashersw
dashersw
dashersw
[144, 48, 127] // C3 on
[144, 48, 0] // C3 off
Status byte
Data byte 1
Data byte 2
dashersw
dashersw
dashersw
const access = await navigator.requestMIDIAccess()
const inputs = access.inputs.values()
for (let input of inputs) {
input.onmidimessage = ({ data }) => console.log(data)
}
dashersw
dashersw
dashersw
dashersw
dashersw
dashersw
dashersw
dashersw
Armagan Amcalar
get these slides at: