web-midi-devices
v1.0.0
Published
Get a list of midi input or output device names
Downloads
4
Readme
web-midi-devices
Get a list of midi input or output device names
Install
npm install --save web-midi-devices
Example
var midiDevices = require("web-midi-devices");
midiDevices.inputs().then(log_names);
midiDevices.outputs().then(log_names);
function log_names(names){
console.log(names); // Array of strings of device names
}