Lyrebird 2.0.0 — Linux support

Consolidated release: the cross-platform Linux port (engine, generators, CLI,
REPL, NRT, portable DSP), live ALSA audio + ALSA MIDI + POSIX OSC + portable
WAV codec, the GTK4 GUI (LyrebirdUI on the SwiftOpenUI backend), and the Linux
live-coding scratchpad (LiveCompile). Apple platforms unchanged; all additive.
See RELEASES.md and LINUX_README.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-09-10 21:09:11 -07:00
parent 77580ee98e
commit b6fdee8bfc
293 changed files with 16800 additions and 775 deletions
+44
View File
@@ -7,6 +7,50 @@ functionality in a backward-compatible way.
---
## 2.0.0 — Linux support
The major release: Lyrebird now runs on **Linux**, in addition to macOS and iOS.
Everything on Apple platforms is unchanged — the entire Linux surface is additive
— but the port is large enough to warrant a major version.
**Cross-platform core.** The engine, the full generator library, the CLI, the
REPL, offline render (NRT → WAV), and the interpreted graph DSL build and run on
Linux (Ubuntu 24.04, swift.org toolchain). A new `LyrebirdDSP` module provides
portable `vDSP`/`vv` implementations so the DSP that relied on Accelerate runs
off Apple; the portable FFT, biquad, and vector paths are golden-value verified.
CI covers x86_64; ARM64 (e.g. a Parallels VM) is a supported dev target.
**Live audio, MIDI, OSC on Linux.**
- **`ALSAAudioDriver`** — live full-duplex audio over ALSA. `makeDefaultAudioDriver()`
resolves to it on Linux; build with `LYREBIRD_DISABLE_ALSA=1` on boxes with no
sound stack.
- **ALSA-sequencer MIDI** and a **POSIX-UDP OSC** transport, replacing the
CoreMIDI / Network.framework backends off Apple.
- A **portable WAV codec** (`WavFileWriter` / `WavFileReader`) for soundfile I/O
and DiskIn where AudioToolbox is unavailable (CAF/AIFF/AAC stay Apple-only).
**GTK4 GUI.** `LyrebirdUI` is now one cross-platform module — SwiftUI on Apple,
GTK4 (on the SwiftOpenUI backend) on Linux. Ported controls: knob, slider, label,
button, XY pad, plus the oscilloscope, envelope, and CPU-status views, with
standalone windows and live mouse input (`Mouse.X` / `Mouse.Y` / `Mouse.Click`).
Every control bound to a `@UIParam` node stays in sync — the same parameter model
the macOS controls use.
**Live-coding scratchpad on Linux.** The `LiveCompile` live-coding subsystem runs
on Linux: a GtkSourceView editor with Swift highlighting and a gutter, `Ctrl+Space`
sourcekit-lsp completion, run-fresh / run-additive / line-evaluation, a Stop-audio
panic button, a live oscilloscope, and a native File menu (New / Open… / Save /
Save As…) with `Ctrl+N/O/S` accelerators and `GtkFileDialog` save/load.
**Behavioral change (all platforms).** `SynthesisEngine.stop()` now tears down the
node tree and unbinds every non-persistent synth it was hosting, so a stop → re-add
of the same instance needs no intervening `processBlock`.
See `LINUX_README.md` for Linux setup, build, and usage.
---
## 1.7.1 — Neural-amp model importer
A patch release. One backward-compatible addition: