Soundor 0.6.0
Release notes for Soundor 0.6.0.
5 changes — 5 features
Minor Changes
-
#90
03473ecThanks @dm-balakin! - macOS code signing. A config can name a signing identity (signing.macos.identity), andSOUNDOR_MACOS_SIGNING_IDENTITYoverrides it; without either, binaries are signed ad-hoc. Runtimes receive the resolved settings asctx.signing, andsoundor doctorreports 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 VST3moduleinfo.jsonno longer invalidates it (#63); with a real identity it adds the hardened runtime and a secure timestamp, which notarization requires.soundor devalways 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
d9df7bfThanks @dm-balakin! - Canvas nodes and a 2D context.createCanvas()(and<Canvas>in@soundor/react) makes a node code draws on, withwidth/heightandgetContext('2d')as on the Web, plus thedevicePixelRatio,ImageDataand canvas globals. The JUCE runtime draws with Skia on the CPU: state and compositing, transforms, paths, line styles, gradients and patterns, text,drawImageandImageData; 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
b3c6eebThanks @dm-balakin! - Three.js'sWebGLRendererruns 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'ssetSize()writes it), and lengths accept CSS pixels ('120px'), in both runtimes.Packages:
@soundor/core. -
#95
8118dabThanks @dm-balakin! - WebGL 2 on canvas nodes.getContext('webgl2')gives aWebGL2RenderingContextin 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,ImageDataand 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
77a3db1Thanks @dm-balakin! -ModalwithonRequestCloseoffers assistive technology'sescape(VoiceOver's scrub), which asks the topmost modal to close as Escape does. Activating aTextInputthrough 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. Theprimitivesexample gains an accessible knob.Packages:
@soundor/react.