Launch offer 30% off your first year with LAUNCH30, or your first 3 months with LAUNCH30M. Applied for you at checkout.

Help Center / Plugins

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 .spxplugin file (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

  1. Copy the example folder and change it.
  2. Run node spectra-plugin.js check your-folder, then node spectra-plugin.js pack your-folder.
  3. Install the .spxplugin file 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