VST3 Runtime 0.1.0
Release notes for VST3 Runtime 0.1.0.
15 changes — 5 features, 10 fixes
Minor Changes
-
#348
4c20c74Thanks @dm-balakin! -fetch(), DevTools and pointer lock move into the engine, for every runtime:fetch()goes through the system's HTTP stack (platform::systemHttpClient()):NSURLSessionon macOS and iOS, WinHTTP on Windows, and on Linux the system's libcurl, loaded when first used (libcurl.so.4, elselibcurl-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, andsoundor build vst3 --debugbuilds one. - Pointer lock is the engine's (
input::PointerLock): the VST3 runtime supportsrequestPointerLock(), and CSS'scursor: nonehides 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 doctorchecks for libcurl.
-
#349
13a089bThanks @dm-balakin! - Publishnative.eventsfrom the Rust controller through typedctx.eventspublishers in VST3 and the browser. UI subscriptions still useevents.name.subscribe(callback).Regenerate and rebuild plugins with matching versions of the CLI and runtime for the updated controller contract.
-
#353
5d8656dThanks @dm-balakin! - Open the plugin in the Soundor VST3 host automatically duringsoundor dev vst3. Install@soundor/vst3-hostas a required peer dependency. The editor reloads UI edits in place and reopens after successful Rust rebuilds. -
#356
826ca2aThanks @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'slink.exe, which the build finds withvswhere. The package ships prebuilt adapters for all three platforms. -
#346
2f0dd59Thanks @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 vst3links them into a.vst3bundle, with no C++ compiled per plugin. The Rust SDK's controller now reads and editsint8,uint8,int16,uint16anduint32parameters (they failed to compile before).
Patch Changes
-
#352
e74a5cbThanks @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
e94e1c3Thanks @dm-balakin! - A change to persistent state now tells the host its project is modified: VST3'ssetDirty. 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
4a8f6a1Thanks @dm-balakin! - Remove the JUCE runtime:@soundor/vst3-runtimebuilds the same plugins as VST3s on Linux, macOS and Windows, without JUCE, CMake or C++ compiled per plugin. ReplacejuceRuntime({ ... })withvst3Runtime()insoundor.config.tsand@soundor/juce-runtimewith@soundor/vst3-runtime(and its peer@soundor/vst3-host) inpackage.json;soundor dev vst3andsoundor build vst3replace theirjuceforms, and builds go to.soundor/dist/vst3/. There are no AU or Standalone builds.create-soundor-appoffers the VST3 and web runtimes. The engine's WebGL codegen ispnpm --filter @soundor/engine gen:webgl. -
#358
eddafd8Thanks @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 carriesartifacts/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_MANIFESTnames another manifest.@soundor/engine/archivesexposes the engine's cache and archive installer for this. -
#354
16eeecfThanks @dm-balakin! - The editor runs on the engine'seditor::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=1badge.
- An editor with
-
#350
d42e9bdThanks @dm-balakin! - Expose the VST3 host name, track metadata, processing mode, loop bounds, and SMPTE timecode throughsoundor:hostwhen the host provides them. Report sample precision asfloat32.Keep the in-process link alive so the editor can read the processor's audio settings and transport.
-
#357
4a8f6a1Thanks @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, sousePresetSelection()and the host's program list showed none. -
#360
ff33bd7Thanks @dm-balakin! - The adapter builds with GCC without warnings, as source mode may build it on Linux. -
#351
7e64784Thanks @dm-balakin! - Report dynamic VST3 tail duration from Rust withctx.report_tail_seconds(seconds)inprepare()orprocess(). VST3 hosts read the latest report when they query the processor. A fixed tail continues to use the configured duration. -
#359
ded85ddThanks @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/), andsoundor doctorchecks 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/archivesalso exportswithLock.soundor doctoron 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 oflink.exe's "cannot open file 'kernel32.lib'".