Skip to main content

API Documentation

Core Classes

These classes are the ones developers are most likely to be dealing with while working on their MIDI projects. Note that all these classes are pre-instantiated within WEBMIDI.js.

The exception are the Note class which you can instantiate when you need to store a musical note and the Forwarder class used to forward messages from an input to an output:

Support Classes

These classes are mostly for internal use, but you might find them useful in some contexts. The Enumerations class contains static enums of MIDI messages, registered parameters, etc. The Utilities class contains various static methods.

DjipEvents Classes

The EventEmitter and Listener classes from the DjipEvents module are extended by various WEBMIDI.js classes. So, in the interest of completeness, we include their full documentation here and cross-reference it with the core classes