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:
2026-07-17 14:05:01 -07:00
parent 63d6e0746f
commit 560724d116
149 changed files with 5010 additions and 1029 deletions
+3 -2
View File
@@ -38,7 +38,8 @@ Swift-Package-only templates (lightweight; open `Package.swift` in Xcode for Swi
| Template | Command | Description |
|---|---|---|
| `basic` (default) | `lyrebird new MyPiece` | Minimal engine + `RunLoop.main.run()` |
| `quickstart` | `lyrebird new MyFirstSound --template quickstart` | Fastest sound — a one-oscillator `SineTone` that plays 440 Hz for 10 s and exits |
| `basic` (default) | `lyrebird new MyPiece` | Minimal engine + `RunLoop.main.run()` (no synth wired yet) |
| `demo` | `lyrebird new MyPiece --template demo` | `SineTone` with `@LiveParam` frequency and amplitude |
| `ui-demo` | `lyrebird new MyApp --template ui-demo` | AppKit window with `@UIParam` controls and `LyrebirdWindow`; adds `LyrebirdUI` to package deps |
| `nrt` | `lyrebird new MyRender --template nrt` | `NRTDriver` renders to `output.caf` and exits — no audio hardware needed |
@@ -234,7 +235,7 @@ final class Tone: SynthesizerBase {
// MARK: - Parameters
// Declare parameters here. Example:
// let freq: LyrebirdFloat = 440.0
// let freq: Double = 440.0
// MARK: - Build