v2.4.1 release: scratchpad polish + demo cleanup

Maintenance release, no framework API changes.

Scratchpad: Kill All Sound (⌘K) rename, mode-switch desync fix,
code-completion prefix filtering restored (⌃Space Show Completions).
Demos: GUIDemo voices + CLI EventPattern BlipVoice moved into
Synthesizers/, EventPattern demo split into makeLead/makeBass, GUIDemo
doc drift fixed (conductor default). LyrebirdScratch gains a SwiftPM
package so the workspace shows it like GUIDemo (.xcodeproj kept for
distribution). Linux live-coding scratchpad documented.
This commit is contained in:
2026-12-03 11:39:40 -08:00
parent 6da3615707
commit ec72bd3a4c
29 changed files with 510 additions and 110 deletions
+32
View File
@@ -7,6 +7,38 @@ functionality in a backward-compatible way.
---
## 2.4.1 — Scratchpad polish and demo cleanup
A maintenance release: no framework API changes. It sharpens the LiveCompile
scratchpad's UX and tidies the demos and their documentation.
**Scratchpad — "Kill All Sound".** The panic command that stops every tracked
synth and clears the slots is now named **Kill All Sound** (⌘K) in the macOS
menu, and **Kill audio** on the Linux button, so the control is discoverable
rather than buried under a vague label.
**Scratchpad — mode switch fixed.** Switching the editor between Swift and
graph-DSL mode no longer desyncs when ⌘K (or any command) fires mid-switch. The
segmented control now binds the model's mode directly and applies the
placeholder/diagnostic reset as an `onChange` side effect, so the picker and the
model can never disagree.
**Scratchpad — code completion restored.** Manual completion (⌃Space) works
again and no longer floods the editor: the client now derives the typed prefix
and filters/ranks the language-server candidates against it, instead of dumping
the entire visible-symbol universe over the caret. Member completion after `.`
is unchanged (already server-scoped).
**Demos — cleanup.** The GUI demo's three voices moved into a `Synthesizers/`
folder to match the per-demo convention, and the CLI `EventPattern` demo was
split so its lead and bass builders are separate helpers and its `BlipVoice`
lives in its own file. Demo READMEs and `LYREBIRD_START_HERE` were corrected to
match the code — the cross-platform GUI demo now defaults to the event
conductor, and the live-coding scratchpad's Linux (GTK4) support is documented
alongside macOS.
---
## 2.4.0 — Event patterns and the live event conductor
An additive, source-compatible release that adds a declarative, event-driven