Soundor
Soundor

Soundor 0.6.0

Release notes for Soundor 0.6.0.

All Soundor releases

5 changes — 5 features

Minor Changes

  • #90 03473ec Thanks @dm-balakin! - macOS code signing. A config can name a signing identity (signing.macos.identity), and SOUNDOR_MACOS_SIGNING_IDENTITY overrides it; without either, binaries are signed ad-hoc. Runtimes receive the resolved settings as ctx.signing, and soundor doctor reports the identity and where it came from. The JUCE runtime now signs every macOS bundle as the last build step and verifies the signature, so the VST3 moduleinfo.json no longer invalidates it (#63); with a real identity it adds the hardened runtime and a secure timestamp, which notarization requires. soundor dev always signs ad-hoc. The JUCE runtime builds with Ninja on macOS and Linux (an existing build tree from another generator is recreated) and keeps Visual Studio on Windows.

    Packages: @soundor/config, soundor.

  • #94 d9df7bf Thanks @dm-balakin! - Canvas nodes and a 2D context. createCanvas() (and <Canvas> in @soundor/react) makes a node code draws on, with width/height and getContext('2d') as on the Web, plus the devicePixelRatio, ImageData and canvas globals. The JUCE runtime draws with Skia on the CPU: state and compositing, transforms, paths, line styles, gradients and patterns, text, drawImage and ImageData; what it does not draw yet (shadows, filters, Path2D) throws instead of drawing something else. The web runtime's canvas is a real <canvas>.

    Packages: @soundor/core, @soundor/react.

  • #97 b3c6eeb Thanks @dm-balakin! - Three.js's WebGLRenderer runs unmodified on Soundor's WebGL 2. The native tests cover it against the npm package, pinned. Nodes' styles can now be written one property at a time (node.style.width = 120, which is how Three's setSize() writes it), and lengths accept CSS pixels ('120px'), in both runtimes.

    Packages: @soundor/core.

  • #95 8118dab Thanks @dm-balakin! - WebGL 2 on canvas nodes. getContext('webgl2') gives a WebGL2RenderingContext in both runtimes, typed from the Khronos IDL. The JUCE runtime runs it on the GPU through ANGLE's WebGL-compatible OpenGL ES 3.0 context, so calls are validated as in a browser. It returns null where there is no hardware GPU, and the log says why. What it draws is read back into the canvas for now. Texture uploads take arrays, ImageData and canvas nodes. getContext() now returns null for types other than '2d' and 'webgl2' in both runtimes, and the web runtime's contexts take canvas and image nodes wherever they take an image.

    Packages: @soundor/core, @soundor/react.

  • #87 77a3db1 Thanks @dm-balakin! - Modal with onRequestClose offers assistive technology's escape (VoiceOver's scrub), which asks the topmost modal to close as Escape does. Activating a TextInput through assistive technology starts editing it (keyboard focus). The README documents the accessibility architecture: the three trees, the backend matrix, framework independence and coordinates, with examples for a button, a toggle, an adjustable gain control, a text input and a modal. The primitives example gains an accessible knob.

    Packages: @soundor/react.

On this page