You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check to see if your browser supports the Web MIDI API, then ask the navigator for `MIDIAccess` and pass the result to your handlers (eg. `onMIDIAccess` & `onMIDIAccessFailure`).
By looping through the available input values from connected devices, you can pass every message to a handler and begin doing incredible things with MIDI in your browser! Have fun! 🙌
72
-
```
74
+
```js
73
75
constonMIDIAccess= (midiAccessObject) => {
74
76
let inputs =midiAccessObject.inputs.values()
75
77
for (let input =inputs.next(); input &&!input.done; input =inputs.next()) {
0 commit comments