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 - Release v3.0.16

Published by djipco over 2 years ago

webmidi - Release v3.0.11

Published by djipco over 2 years ago

Minor release with improvements to events, particularly for TypeScript users.

webmidi - Release v3.0.10

Published by djipco almost 3 years ago

  • Improved support for environments with both Node.js and browser JavaScript engines (e.g. Electron, NW.js, etc.)

  • Fixed regression bug where note on events with velocity of 0 were not considered as note off events as they should have been.

webmidi - Release v3.0.9

Published by djipco almost 3 years ago

More improvements for TypeScript users

webmidi - Release v3.0.8

Published by djipco almost 3 years ago

Minor release:

  • Using Webpack or a framework that uses Webpack (React, Next.js, etc.) no longer causes a warning to appear in console

  • The TypeScript declaration file has been improved

  • Various fixes and improvements to the documentation

webmidi - Release v3.0.1

Published by djipco almost 3 years ago

Version 3 brings a ton of new features such as Node.js support, TypeScript support, new objects, better sysex support, message forwarding, various flavours (ESM, IIFE, CJS), modern syntax, and so much more!

You can check out the new website for more details.

webmidi - Release v3.0.0-alpha.23

Published by djipco almost 3 years ago

webmidi - v2.5.3

Published by djipco about 3 years ago

This release includes a minor security fix that does not concern end-users.

webmidi - Release v3.0.0-alpha.4

Published by djipco over 3 years ago

This patch release fixes an issue with playNote() when options.time is not specified. This is an alpha version intended for testing only. Do not use this version in production! Version 3.x introduces MANY changes from v2.5.x. It should be mostly compatible but some breaking changes were introduced.

webmidi - Release v2.5.2

Published by djipco over 3 years ago

This patch release fixes an issue with listeners not being properly removed when calling WebMidi.disable().

webmidi - Release v3.0.0-alpha.2

Published by djipco over 4 years ago

Changed the way channels are handled by the Output object. This is a pre-release version. Do NOT use in production.

webmidi - Release v3.0.0-alpha.1

Published by djipco over 4 years ago

This is the first public release of version 3 of WebMidi.js. This is an alpha version intended for testing only. Do not use this version in production! This version introduces MANY changes from v2.5.1. It should be mostly compatible but some breaking changes were introduced.

webmidi - Release v2.5.1

Published by djipco about 5 years ago

This release fixes an issue with inbound note on messages for note numbers 6 and 38 throwing errors since the implementation of NRPNs in v2.5.0.

webmidi - Release v2.5.0

Published by djipco about 5 years ago

Thanks to @misterinterrupt, this release introduces support for NRPN events on the Input object. NRPN events can be of the entry, increment or decrement type.

webmidi - 2.3.3

Published by djipco over 5 years ago

Patch release in which Output.sendControlChange() now properly accepts bankselectcoarse as first parameter.

webmidi - 2.3.2

Published by djipco over 5 years ago

Patch release which fixes a small issue with the options parameter being altered by the playNote() method (see PR #56). This would cause frozen options object to throw an error.

webmidi - 2.4.0

Published by djipco over 5 years ago

In this minor release, TypeScript interfaces are now being exported so they can be used for compile-time type checking (issue #54).

webmidi - 2.3.1

Published by djipco almost 6 years ago

This version introduces a minor change in the way the WebMidi.getInputById() and WebMidi.getOutputById() functions work. They both now force the id parameter to a string before looking it up.

webmidi - 2.3.0

Published by djipco almost 6 years ago

This version adds TypeScript type definitions.

webmidi - 2.1

Published by djipco over 6 years ago

  • Middle C (note number 60) is now considered to be C4.
  • An issue with Bluetooth devices has been corrected.
Package Rankings
Top 1.82% on Npmjs.org
Badges
Extracted from project README
npm npm npm