Quick start

// Import MIDI functions as object
import * as MIDI from 'http://stephen.band/midi/midi.js';

// Listen to incoming 'noteon' and 'noteoff' messages on channel 1
MIDI.on({channel: 1, type: 'note'}, (e) => {

On this page, functions have been imported to the object window.MIDI so that you may play with them in the console.


// Import Soundstage
import Soundstage from 'http://stephen.band/soundstage/soundstage.js';




Return the plugin with id, or undefined.


Returns audio context time at a given DOM time, where domTime is a time in seconds relative to window.performance.now().