Add keyboard DOM widget
benbovy opened this issue · comments
Benoit Bovy commented
An example here: https://codepen.io/andrewphillipdoss/pen/rJXeeW
Benoit Bovy commented
NexusUI provides a keyboard widget too: http://nexus-js.github.io/ui/api/#Piano
David Brochart commented
We could also interface with external MIDI devices using the set of Web MIDI APIs, e.g. https://developer.mozilla.org/en-US/docs/Web/API/MIDIInput.
Benoit Bovy commented
Benoit Bovy commented
As an alternative to MIDI, we could also look to libraries implementing the OSC protocol (Python and/or JS).
Benoit Bovy commented
react-piano looks very nice, unless we don't want react as a dependency.