v1.3.0 release: graceful-release fix, quickstart template + demo, documentation accuracy pass
- Fixed: SynthesizerBase subclasses' release/free now dispatch correctly (gated synths were hard-freed instead of released). - New: quickstart project template + LyrebirdQuickstartDemo. - Docs: every example typechecked or provably illustrative (426->542); ~20 wrong-API examples fixed; root docs brought under the compile guard. - Fixed: NRT/Score demo Package.swift build from terminal again. See RELEASES.md for details.
This commit is contained in:
+48
@@ -7,6 +7,54 @@ functionality in a backward-compatible way.
|
||||
|
||||
---
|
||||
|
||||
## 1.3.0 — Graceful-release fix, quickstart template, documentation accuracy pass
|
||||
|
||||
A minor release. Backward-compatible: one real-time behavior fix, one new
|
||||
project template, and a large sweep that makes the documentation's code
|
||||
examples verifiably correct.
|
||||
|
||||
### Fixed — graceful release now works for `SynthesizerBase` subclasses
|
||||
|
||||
`release(engine:)` and `free(engine:)` were `Synthesizer` protocol requirements
|
||||
satisfied only by extension defaults; `SynthesizerBase` declared neither, so a
|
||||
subclass override was unreachable through an `any Synthesizer` reference. Because
|
||||
`Group.release(engine:)` cascades to its children through exactly that
|
||||
existential, **every gated `SynthesizerBase` subclass was hard-freed instead of
|
||||
released** — envelope release phases were skipped (audible as clicks and missing
|
||||
release tails). `SynthesizerBase` now declares both as `open` members, so
|
||||
overrides dispatch through the vtable. Pinned by `SynthesizerReleaseDispatchTests`.
|
||||
|
||||
### New — `quickstart` project template + demo
|
||||
|
||||
- `lyrebird new MyFirstSound --template quickstart` scaffolds the shortest path
|
||||
to sound: a one-oscillator `SineTone`, the engine, and a `main` that plays a
|
||||
440 Hz tone for ten seconds and exits. Featured as the fast option across the
|
||||
CLI help, README, and getting-started docs.
|
||||
- A matching bundled **`LyrebirdQuickstartDemo`** Xcode project ships in the
|
||||
workspace so the same starting point is runnable without the CLI.
|
||||
|
||||
### Documentation — every example now typechecked or provably illustrative
|
||||
|
||||
- Extended the doc-snippet compile guard to the published entry-point articles,
|
||||
the generator reference, and the root docs (`README` / `LYREBIRD_START_HERE` /
|
||||
`INSTALLATION_AND_USAGE`), which were previously checked by nothing. Recorded
|
||||
compilable examples rose from 426 to 542.
|
||||
- Fixed roughly twenty copy-paste examples that never compiled — wrong parameter
|
||||
labels and orders (`LinLin`, `SpringReverb`, `BufferGrain`), nonexistent APIs
|
||||
(`LFNoise2`, `DoneAction.freeSynth`, `buildGraph()`, `midiNoteToHz`,
|
||||
`LyrebirdBuffer(path:)`, a `>` operator on generators), missing required
|
||||
arguments (`CombFilter`/`AllpassFilter` `maxDelay`), a Swift 6 concurrency
|
||||
violation in the canonical routine example, and stale test counts. Removed an
|
||||
unsupported NRT-replay workflow that documented a fabricated driver API.
|
||||
|
||||
### Fixed — demo terminal builds
|
||||
|
||||
`LyrebirdNRTDemo` and `LyrebirdScoreDemo` pinned a stale `package: "LyrebirdII"`
|
||||
in their `Package.swift`, so standalone `swift build` / `swift run` from the demo
|
||||
directory failed. Corrected to `Lyrebird`.
|
||||
|
||||
---
|
||||
|
||||
## 1.2.0 — Generator catalog expansion *(planned)*
|
||||
|
||||
A minor release. Adds roughly forty SuperCollider-parity generators —
|
||||
|
||||
Reference in New Issue
Block a user