πplugin.json
The manifest file for our MIDI Mixer plugin.
The plugin.json file (also known as the "manifest") in the root of your plugin is used to tell MIDI Mixer some basic information about the plugin, as well as what can be configured. It provides:
idA unique ID for the plugin in reverse domain name notationnameThe name of the plugin as it appears in the UIversionThe version of the plugin, shown to the user but used for releases in the futureauthorThe author of the plugin (that's you!)mainThe file to load to start the pluginiconA path to the icon to display next to the plugin for buttons, assignments, and other listssettingsSettings for your plugin that are set by the user and accessible in code (see the Settings page for the schema)
Example
Here's an example of a basic plugin.json pulled from the MIDI Mixer Template Plugin.
{
"$schema": "./node_modules/midi-mixer-plugin/plugin.schema.json",
"id": "com.midi-mixer.template",
"name": "Template Plugin",
"type": "node",
"version": "1.0.1",
"author": "MIDI Mixer",
"main": "lib/main.js",
"settings": {
"text": {
"label": "A text field",
"type": "text",
"required": false
}
}
}Next, let's have a look at how to add assignments so our users can control our plugin with faders and buttons.
Last updated
Was this helpful?