Making your own plugins
The plugin kit checks and packs a plugin, with an example of each kind to start from.
If you write a little code, you can make plugins. The plugin kit is in the plugin-kit folder of Spectra Studio's web repository. It has:
spectra-plugin.js, which checks a plugin folder and packs it into a.spxpluginfile (it needs Node.js),- a full guide to the format in
README.md, - an example plugin with one of each kind: a glow effect, a spin transition, a bit crusher audio effect, a whoosh sound and a chapter marker tool.
What each kind is made of
- Picture effects and transitions: a short GLSL shader.
- Audio effects: an AudioWorklet processor in JavaScript.
- Sounds: WAV, MP3 or OGG files.
- Tools: a JavaScript file and a simple description of their settings and buttons, which Spectra Studio draws for you.
Try it
- Copy the example folder and change it.
- Run
node spectra-plugin.js check your-folder, thennode spectra-plugin.js pack your-folder. - Install the
.spxpluginfile with Install from file… on the Plugins screen. It is unsigned, so Spectra Studio warns you first.
To have a plugin listed in the directory, send it to me for review; reviewed plugins are signed and install without the warning.
Related
What plugins arePlugins add picture effects, transitions, audio effects, sounds and tools to the desktop app.Signed and unsigned pluginsWhat the "Signed" badge means, and when to install a plugin that is not signed.Installing, updating and removing pluginsInstall from the directory or a file, switch plugins on and off, update them and remove them.