Skip to Content
Soundor Skills

Plugin brief

A reference of the soundor-create-plugin skill.

soundor-create-plugin reads this reference when a task needs it. Source on GitHub

Write the brief before scaffolding, and show it to the user when anything in it was assumed rather than asked. It turns into soundor.config.ts almost line by line.

Questions to settle

TopicAskBecomes
PurposeWhat does it do to the sound, in one sentence?plugin.name, plugin.categories
KindDoes it process audio, or make sound from MIDI notes?plugin.kind: 'effect' or 'instrument'
ChannelsMono, stereo, or both? A sidechain?audio.buses, audio.layouts
MIDIDoes it receive notes or controllers? Send MIDI?midi: { input, output }
ControlsWhich values does the user set, with which ranges?parameters
DisplaysMeters, spectra, gain reduction, a playhead?native.streams or read-only parameters
Saved dataAnything kept with the session that is not a parameter?state
PresetsFactory presets?presets
WindowSize, and may the user resize it?editor
RuntimesA VST3 for DAWs, a web build for the browser, or both?the runtimes chosen when scaffolding
PlatformsWhich operating systems must the VST3 run on?where it must be built (no cross-builds)
IdentityWhose plugin is it? (a domain they own, for the id)plugin.id, plugin.vendor

Choices the current runtimes do not have are worth saying early: the web runtime supports one main input and one main output in mono or stereo only (no sidechain, no surround); a VST3 is built on, and for, the machine that builds it; midiEffect plugins are not supported yet; dynamic latency is reported to VST3 hosts as zero. Check the installed version's documentation for what changed since.

Parameters

For each parameter, write:

  • id: camelCase, short, permanent (cutoff, drive, mix). Hosts store automation and sessions by it.
  • label: what hosts and the UI show; may change later.
  • type: float32 for continuous values, an integer type for counts, boolean for switches, choice for modes (new options go at the end).
  • range and default, with a unit (dB, Hz, ms, %).
  • mapping: 'log' for frequencies and times spanning decades, a power curve where the low end needs more travel, linear otherwise.
  • access: 'automatable' (default), 'manual' for costly switches, 'readOnly' for values the processing reports (a meter).

A dB-labelled parameter should hold decibels, converted to linear gain in the processor. A linear 0 to 1 value labelled dB shows wrong numbers to the host.

Example: a stereo distortion

Drive, a stereo distortion effect. Soft clipping with drive, tone and mix, output gain, and an output meter. VST3 and web.

idtyperangedefaultunitmapping
drivefloat320 to 3612dBlinear
tonefloat32500 to 120004000Hzlog
mixfloat320 to 100100%linear
outputfloat32-24 to 120dBlinear
bypassbooleanfalserole: 'bypass'
  • Audio: stereo in, stereo out (and mono to mono).
  • Display: a float32 stream outputPeak, in dBFS, published every block.
  • Editor: 640 × 360, fixed size.
  • Risks to check: aliasing at high drive (consider oversampling), level jumps when drive moves (smooth it), DC offset after asymmetric clipping.

On this page