Soundor
VST3 Runtime

VST3 Runtime 0.1.0

Release notes for VST3 Runtime 0.1.0.

All VST3 Runtime releases

15 changes — 5 features, 10 fixes

Minor Changes

  • #348 4c20c74 Thanks @dm-balakin! - fetch(), DevTools and pointer lock move into the engine, for every runtime:

    • fetch() goes through the system's HTTP stack (platform::systemHttpClient()): NSURLSession on macOS and iOS, WinHTTP on Windows, and on Linux the system's libcurl, loaded when first used (libcurl.so.4, else libcurl-gnutls.so.4), never linked and never bundled, so HTTPS is as current as the system keeps it, with HTTP/3 where the system's stack has it. Where Linux has no libcurl, fetch() rejects, saying so.
    • The DevTools bridge is the engine's (debug::Bridge), over the same HTTP stack, so the VST3 runtime's Debug builds connect to DevTools too, and soundor build vst3 --debug builds one.
    • Pointer lock is the engine's (input::PointerLock): the VST3 runtime supports requestPointerLock(), and CSS's cursor: none hides its cursor.
    • The engine has one JSON implementation (soundor::json, strict, numbers kept as written), which the DevTools protocol and the VST3 adapter share.
    • The VST3 runtime's soundor doctor checks for libcurl.
  • #349 13a089b Thanks @dm-balakin! - Publish native.events from the Rust controller through typed ctx.events publishers in VST3 and the browser. UI subscriptions still use events.name.subscribe(callback).

    Regenerate and rebuild plugins with matching versions of the CLI and runtime for the updated controller contract.

  • #353 5d8656d Thanks @dm-balakin! - Open the plugin in the Soundor VST3 host automatically during soundor dev vst3. Install @soundor/vst3-host as a required peer dependency. The editor reloads UI edits in place and reopens after successful Rust rebuilds.

  • #356 826ca2a Thanks @dm-balakin! - The VST3 runtime now builds plugins on macOS (Apple silicon or Intel, for macOS 12 or later) and on Windows x64, as well as on Linux. Each platform builds for itself. The editor is an NSView on macOS and a child HWND on Windows. On both, the editor and the Rust controller run on a timer of the host's UI thread. macOS bundles are signed as the last build step. Windows plugins link the static C runtime with MSVC's link.exe, which the build finds with vswhere. The package ships prebuilt adapters for all three platforms.

  • #346 2f0dd59 Thanks @dm-balakin! - Add @soundor/vst3-runtime: Linux VST3 plugins without JUCE. A prebuilt, generic VST3 adapter (Steinberg's VST3 SDK 3.8.1) hosts the Soundor engine and the project's Rust processor and controller; soundor build vst3 links them into a .vst3 bundle, with no C++ compiled per plugin. The Rust SDK's controller now reads and edits int8, uint8, int16, uint16 and uint32 parameters (they failed to compile before).

Patch Changes

  • #352 e74a5cb Thanks @dm-balakin! - Use the engine's native text clipboard on Linux, Windows and Apple platforms. The direct VST3 editor now exchanges clipboard text with the Linux desktop.

  • #355 e94e1c3 Thanks @dm-balakin! - A change to persistent state now tells the host its project is modified: VST3's setDirty. A host's restore does not. The VST3 runtime also no longer declares its component distributable, since the component and its controller must share a process. After a restore it tells the host to read the parameters back. When the UI, the controller or History selects a factory preset, the host's program selector now follows.

  • #357 4a8f6a1 Thanks @dm-balakin! - Remove the JUCE runtime: @soundor/vst3-runtime builds the same plugins as VST3s on Linux, macOS and Windows, without JUCE, CMake or C++ compiled per plugin. Replace juceRuntime({ ... }) with vst3Runtime() in soundor.config.ts and @soundor/juce-runtime with @soundor/vst3-runtime (and its peer @soundor/vst3-host) in package.json; soundor dev vst3 and soundor build vst3 replace their juce forms, and builds go to .soundor/dist/vst3/. There are no AU or Standalone builds.

    create-soundor-app offers the VST3 and web runtimes. The engine's WebGL codegen is pnpm --filter @soundor/engine gen:webgl.

  • #358 eddafd8 Thanks @dm-balakin! - The VST3 runtime's prebuilt adapters are a GitHub release of their own, like the engine's archives, instead of being in the npm package. The package carries artifacts/manifest.json, and a build downloads the adapter for its platform and variant once into the Soundor cache (vst3-adapters/), checking its SHA-256 and size. SOUNDOR_VST3_ADAPTER_MANIFEST names another manifest. @soundor/engine/archives exposes the engine's cache and archive installer for this.

  • #354 16eeecf Thanks @dm-balakin! - The editor runs on the engine's editor::Editor, the engine's shared editor:

    • An editor with resize: 'layout' and a maximum size keeps its layout at the maximum, centred (fit: 'contain'), or covers the view and reports the maximum as its safe area (fit: 'cover'), when a host makes it larger.
    • On the GPU, a resize presents at the new size at once instead of on the next frame.
    • requestEditorSize() is available only when the size limits allow another size.
    • Debug builds show the SOUNDOR_SHOW_RENDERER=1 badge.
  • #350 d42e9bd Thanks @dm-balakin! - Expose the VST3 host name, track metadata, processing mode, loop bounds, and SMPTE timecode through soundor:host when the host provides them. Report sample precision as float32.

    Keep the in-process link alive so the editor can read the processor's audio settings and transport.

  • #357 4a8f6a1 Thanks @dm-balakin! - A new instance, and a restored project, select the first factory preset their parameters and state match, as the web runtime and the tests' simulated runtime do; before, nothing was selected until a preset was loaded, so usePresetSelection() and the host's program list showed none.

  • #360 ff33bd7 Thanks @dm-balakin! - The adapter builds with GCC without warnings, as source mode may build it on Linux.

  • #351 7e64784 Thanks @dm-balakin! - Report dynamic VST3 tail duration from Rust with ctx.report_tail_seconds(seconds) in prepare() or process(). VST3 hosts read the latest report when they query the processor. A fixed tail continues to use the configured duration.

  • #359 ded85dd Thanks @dm-balakin! - Source mode for the VST3 runtime: vst3Runtime({ engine: { mode: 'source' } }) builds the engine and the VST3 adapter on the machine with CMake (Ninja, or Visual Studio on Windows, and a C++20 compiler) instead of downloading their releases. Both builds go into the Soundor cache once per package version (engine-source/, vst3-adapter-source/), and soundor doctor checks CMake and Ninja in this mode. The package now carries the adapter's sources (native/). engine({ mode: 'source' }) builds an installed package's native engine, and in the other modes an installed package still never compiles. @soundor/engine/archives also exports withLock.

    soundor doctor on Windows now also checks that the linker's library paths have the Windows SDK and the static C runtimes (kernel32.lib, libucrt.lib, libcmt.lib). Visual Studio can have the C++ tools without an SDK, so this tells you what to add in the Visual Studio Installer. A Windows build gives the same message before linking, instead of link.exe's "cannot open file 'kernel32.lib'".

On this page