Skip to content

Web MIDI Link

spessasus edited this page Aug 26, 2024 · 1 revision

Web MIDI Link

This simple module adds Web MIDI Link support to the Synthetizer instance.

Importing

// normal install
import { WebMidiLinkHandler } from "./spessasynth_lib/external_midi/web_midi_link.js";
// npm package
import { WebMidiLinkHandler } from "spessasynth_lib";

Tip

Using the npm package? Make sure you've read this

Initialization

new WebMidiLinkHandler(synth);
  • synth - a Synthetizer instance to connect the link to.