Installation
To start working with MIDIVal in Node.js environment, you will need to install the following:
npm install --save @midival/core @midival/node midi
Plug Node.js adapter
Before running any MIDIVal code run the following.
// For Node.js
import { MIDIVal } from "@midival/core";
import { NodeMIDIAccess } from "@midival/node";
import * as midi from "midi";
MIDIVal.configureAccessObject(new NodeMIDIAccess(midi));
The rest of your code should remain the same. For tutorials about specific features just follow regular tutorials for web version.