VST3 Host 0.1.0
Release notes for VST3 Host 0.1.0.
10 changes — 2 features, 8 fixes
Minor Changes
-
#214
cdbebe4Thanks @dm-balakin! - Add@soundor/vitest-e2e: Vitest tests of a built VST3 plugin in the real host, withlaunchPlugin(),launchHost(), thesoundor({ vst3 })plugin and thetoBeVisible,toBeHiddenandtoHaveTextmatchers.Vst3Pluginfrom@soundor/driver/vst3gains locators that survive a reopened editor,pointer,keyboard,screenshot()andparameter().Vst3Hostgainsparameter(title). -
#211
d25004fThanks @dm-balakin! - New package: a standalone VST3 host for tests and development.launchHost()starts a native host process that loads a.vst3bundle by path, headless or with the plugin's editor in a native window, and processes audio offline: buses and channel layouts, sample-accurate parameter changes, MIDI in and out, transport, latency and tail, state, reset and recreate. Its executables ship as platform packages for Linux x64, macOS (universal) and Windows x64, installed as exact-version optional dependencies.
Patch Changes
-
#213
c6a011fThanks @dm-balakin! - Add@soundor/driver/vst3:launch()runs a Debug build of a Soundor plugin in the VST3 host, in a private DevTools session, and gives a Driver for its UI beside the host for its audio.@soundor/vst3-hostis an optional peer, and@soundor/devtools-serveris now a dependency of the Driver. In the host, a handler that a plugin unregisters from Linux's run loop is released at once rather than on a later turn, which crashedrecreate()on JUCE plugins, whose handlers can be gone by then. -
#221
658a9c0Thanks @dm-balakin! - A grip drag ends where the pointer does, even when the mouse button is released in the same frame as its last move. -
#219
f485471Thanks @dm-balakin! - AddprepareHost({ mode: 'published' }), which uses the published executable or fails rather than building, andselectHost(), which reports whether a published executable matches this checkout. A CI artifact keeps working after an upload loses its file modes. -
#222
7fb3f13Thanks @dm-balakin! -soundor dev juceopens the VST3 in@soundor/vst3-host, now an optional peer, when the project installs it andformatshasvst3; otherwise the Standalone, as before.juceRuntime({ dev: { launch } })chooses ('vst3','standalone'orfalse), and thevandskeys open either at any time. The plugin's state is kept in.soundor/state/juce/vst3.jsonbetween launches of the host. New projects with the JUCE runtime get the host as a devDependency. In the host,launchHost({ detached: true })runs it in a process group of its own, so that a terminal's Ctrl+C reaches only Node. Runtimes getctx.paths.state,.soundor/state/<id>, for what they keep between sessions and cannot make again. A local build of the host no longer needs a static libstdc++ (Fedora'slibstdc++-static); only the published executables link it. -
#224
e30a086Thanks @dm-balakin! - On Linux, every plugin build and every build of the VST3 host links the C++ runtime statically, and a plugin's is hidden from other plugins, so a plugin no longer needs alibstdc++as new as its build machine's, and needs neitherlibatomicnor, as a VST3,libasound. A build machine now needs the compiler's static C++ library (Fedora, RHEL:libstdc++-static): without it, a build stops first and says what to install, andsoundor doctorreports it.soundor buildprints the glibc a release needs, andsoundor doctorwarns when the machine's is newer than the 2.39 of Ubuntu 24.04, as a release built there may not load on older systems. -
#223
5f9a5a3Thanks @dm-balakin! - A JUCE plugin now runs on macOS 12 or later by default, whatever macOS it is built on, where it used to require the macOS of the machine that built it.juceRuntime({ macos: { deploymentTarget } })asks for a newer minimum, and anything below the engine's 12.0 is refused.soundor doctorchecks for the Metal tools a source build of the engine needs. A prebuilt macOS engine no longer lists a framework by its path inside the Xcode that built it. Source builds of the VST3 host target macOS 12 too, as its published executables do. -
#227
b836a81Thanks @dm-balakin! - Avoid CMake CMP0169 deprecation warnings when fetching the host's dependencies, while preserving the existing minimum CMake version. -
#212
7535f74Thanks @dm-balakin! - In the host presentation, resizing or maximizing the window now changes only the stage around the editor, as in the web host, whether or not the plugin can be resized, and the window's minimum keeps room for it. Parameter checkboxes match the web panel's. Open the editor at the display's scale on Linux in the host presentation, as the interface around it already was. Deliver events waiting in the queue of a plugin's X connection, which a round trip of its own could leave unnoticed until the next event, such as a click that seemed to do nothing. Add a plugin resize grip to the host interface, present each change of the editor's geometry as one frame on Linux (the host draws the editor's last complete image, through XComposite, and answers the window manager's sync requests), keep the editor centred with its corner under the pointer and within the stage's room as in the web host, for the grip and for the plugin's own requests, and preserve extra stage space when the plugin constrains a window resize. Handle native window-manager changes asynchronously, keep maximized windows fixed, and target the current monitor's refresh rate. Retain accelerated host drawing with a software fallback, and make audio startup explicit so Start/Stop responds consistently on the first click. The editor presentation's window can no longer be maximized or minimized, and on Linux it now opens at the display's scale. Its border asks the plugin for each size through VST3 alone, presents the editor's last complete image until the editor has painted, and the window takes the editor's size once the drag stops.