Skip to Content
Soundor Skills

Look at the plugin

A reference of the soundor-create-plugin skill.

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

Source code does not show what the user will see. Capture the real rendering and open the image.

VST3: the Debug build in the VST3 host

@soundor/driver/vst3 loads a Debug build in Soundor's VST3 host, opens its editor, and gives a Driver for the UI beside the host for audio. Install the Driver at the project's Soundor version:

npm install -D @soundor/driver@<soundor version>
npx soundor build vst3 --debug

Save as scripts/look.mjs (the bundle's file name is plugin.name plus .vst3; ls .soundor/debug/vst3 shows it):

import { launch } from '@soundor/driver/vst3';

const plugin = await launch({
  plugin: '.soundor/debug/vst3/My Plugin.vst3',
  sampleRate: 48_000,
});
try {
  const tree = await plugin.driver.getTree();
  console.log(`${tree.nodes.length} nodes in the UI`);
  await plugin.screenshot({ path: 'look.png' });
} finally {
  await plugin.close();
}
node scripts/look.mjs                 # on a desktop
xvfb-run -a node scripts/look.mjs     # Linux without a display

A screenshot is drawn by Soundor's engine, so it is the plugin's view without the host window around it. Only Debug builds connect a UI: a release build fails with NO_TARGETS.

Web: the built page in a browser

npm run build:web
npx vite preview --outDir .soundor/dist/web --port 4173

Any static server works (python3 -m http.server in .soundor/dist/web). Then capture it with Playwright, in a script or from its CLI:

npx playwright screenshot --wait-for-timeout 2000 --viewport-size 1000,700 \
  "http://localhost:4173/" web.png
npx playwright screenshot --wait-for-timeout 2000 --viewport-size 800,600 \
  "http://localhost:4173/?embed" web-embed.png

Without ?embed the page shows the web host around the plugin (its transport and settings); with it, the plugin view alone. Audio starts only after a user gesture in the page.

What to check in the image

Open the file and look at it. Do not report a screenshot you have not looked at.

  • Every control the brief asked for is there, labelled, with its value and unit.
  • No text is cut off or overlapping; nothing spills past the window.
  • Contrast is enough to read labels; the layout groups related controls.
  • Values match the parameters' defaults.

Fix what is wrong, capture again, and compare the two images.

On this page