Tame the Web MIDI API. Send and receive MIDI messages with ease. Control instruments with user-friendly functions (playNote, sendPitchBend, etc.). React to MIDI input with simple event listeners (noteon, pitchbend, controlchange, etc.).
flavour
property to WebMidi
object (a9870ad3f)jzz
module to fix Apple M1 support in Node.js (6414f5e2d & 04622d3ee)djipevents
(71ee5923e)This release fixes an issue with TypeScript projects that use "type": "module"
and "moduleResolution": "nodenext"
(thanks to Torgeir Hovden for catching and fixing the problem).
This is a minor release that now exports the EventEmitter
and Listener
objects in the TypeScript type declarations. It also includes a bunch of third-party security updates.
This release removes code triggering the 'unsafe-eval' context which fixes a problem when using WEBMIDI.js inside an Electron application. See issue #277 for details.
This release fixes a regression issue causing Node.js to fail to correctly identify the proper flavour of module to load (ESM vs CJS).
Minor release with improvements to events, particularly for TypeScript users.