v2.3.1 release: cross-platform LyrebirdGUIDemo + Linux demo ports + doc refresh

- New Demos/LyrebirdGUIDemo: one shared source (synths + node-based views) that
  bootstraps SwiftUI on macOS and GTK4/SwiftOpenUI on Linux; LYREBIRD_DEMO=vector|sine.
- The four CLI demos (Quickstart/Demo/NRT/Score) now build and run on Linux.
- README + Linux getting-started refreshed; LyrebirdATK row removed from the
  Extensions section pending collaborator sign-off.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-29 11:34:24 -08:00
parent 162da89319
commit 06bdcbbe92
17 changed files with 717 additions and 45 deletions
+29
View File
@@ -124,6 +124,35 @@ swift run # a 440 Hz sine for a few seconds
built with `LYREBIRD_DISABLE_ALSA=1`), in which case `makeDefaultAudioDriver()`
returns a silent `OfflineDriver`.
### The bundled CLI demos
The scaffold templates above make a *new* project. To run the demos that ship in
this repo instead, each lives in its own package under `Demos/` and runs with
`swift run` from its folder — the same source as the macOS Xcode schemes:
```bash
(cd Demos/LyrebirdNRTDemo && swift run) # offline render → ./nrt_output.wav (no audio device)
(cd Demos/LyrebirdQuickstartDemo && swift run) # a 440 Hz sine (needs libasound + a device)
(cd Demos/LyrebirdDemo && swift run) # reverb smoke-test through the default output
(cd Demos/LyrebirdScoreDemo && swift run) # notated Score → MusicXML + a rendered WAV (no device)
```
`LyrebirdNRTDemo` and `LyrebirdScoreDemo` write a WAV off Apple (CAF is Apple-only)
into the current directory; the live demos use `makeDefaultAudioDriver()` →
`ALSAAudioDriver`.
There is also a cross-platform **GUI** demo — `Demos/LyrebirdGUIDemo` — whose synths
and views are one shared source that bootstraps SwiftUI on macOS and GTK4 on Linux.
It needs `libgtk-4-dev` + `libgtksourceview-5-dev` (and `libasound2-dev` + a device
for sound):
```bash
(cd Demos/LyrebirdGUIDemo && swift run) # vector oscillator (default)
(cd Demos/LyrebirdGUIDemo && LYREBIRD_DEMO=sine swift run) # stereo sine tone
```
The AUv3 / iOS / `LyrebirdMacOSDemo` GUI demos are Apple-only.
### REPL and live coding
```bash