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
+2 -2
View File
@@ -292,11 +292,11 @@ final class Tone: SynthesizerBase {
override func build() {
let env = EnvelopeGen.Control(
envelope: Envelope(levels: [0, 1, 0], durations: [0.01, 0.4], curves: [2, -3])
envelope: Envelope(levels: [0, 1, 0], durations: [0.01, 0.4], curves: [2, -3]),
doneAction: .freeNode // engine removes this synth when the envelope ends
)
let sig = OscSin.Audio(freq: freq) * env * amp
output(bus: 0, source: Pan2(input: sig, pan: 0))
doneAction = .freeEnclosing
}
}