📄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:
id
A unique ID for the plugin in reverse domain name notationname
The name of the plugin as it appears in the UIversion
The version of the plugin, shown to the user but used for releases in the futureauthor
The author of the plugin (that's you!)main
The file to load to start the pluginicon
A path to the icon to display next to the plugin for buttons, assignments, and other listssettings
Settings 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?