Installation
Core Package
The core package consists of all main methods as well as adapter for Web MIDI (browser) implementation. If you wish to run MIDIVal only in the browser, that is the only package you need.
npm install --save @midival/core
Node.js Package
To run MIDIVal in the Node.js environment (for example to create CLI synthesiser or send MIDI Out notes to your synth from the terminal) you need @midival/node
package in addition to @midival/core
:
npm install --save @midival/node
For more details about setup for Node.js environment, follow our separate Node.js tutorial
React Native Package
To run MIDIVal in React Native environment (when developing applications for iOS and Android), you will need to install @midival/react-native
package in addition to @midival/core
:
npm install --save @midival/react-native
For more details about setup for React Native environment, follow our separate React Native tutorial