webmidi

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.).

APACHE-2.0 License

Downloads
11.7K
Stars
1.5K
Committers
32

Bot releases are visible (Hide)

webmidi - 2.0.5

Published by djipco over 6 years ago

WebMidi.getOctave() now properly reports the octave for MIDI note number 0.

webmidi - 2.0.2

Published by djipco over 6 years ago

Fixed problem with sending sysex messages.

webmidi - 2.0.0

Published by djipco almost 7 years ago

webmidi - 2.0.0-rc.11

Published by djipco almost 7 years ago

The Output object now properly reports its type.

webmidi - 2.0.0-rc.9

Published by djipco about 7 years ago

State change event listeners are now properly removed when WebMidi.disable() is called.

webmidi - 2.0.0-rc.8

Published by djipco about 7 years ago

The value parameter of the sendChannelMode() function now defaults to 0.

webmidi - 2.0.0-rc.6

Published by djipco about 7 years ago

Prior to this version, inbound MIDI note numbers were reported two octaves lower than they should have been. Now, inbound and outbound octaves are on par.

If you are upgrading from a prior version, this may require you to compensate for this 2-octave change.

webmidi - 2.0.0-rc.3

Published by djipco almost 8 years ago

The stopNote() function can now stop all notes using the special value all.

webmidi -

Published by djipco almost 8 years ago

Velocities can now also be sent and received using their raw MIDI value (0-127). To receive the raw value, just use e.rawVelocity. To send raw value, use playNote(60, 1, velocity: 125, rawVelocity: true).

Package Rankings
Top 1.82% on Npmjs.org
Badges
Extracted from project README
npm npm npm