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
+5 -5
View File
@@ -43,9 +43,9 @@ Requires a **mono** buffer (`channelCount == 1`). Use `RecordBuffer.Audio` for m
```swift
// Both variants inherit these from RecordBuffer._Base:
@LiveParam public var run: LyrebirdFloat // > 0 = recording, ≤ 0 = paused (default 1.0)
@LiveParam public var recLevel: LyrebirdFloat // scale on incoming signal (default 1.0)
@LiveParam public var preLevel: LyrebirdFloat // scale on existing buffer (default 0.0 = overwrite)
@LiveParam public var run: Double // > 0 = recording, ≤ 0 = paused (default 1.0)
@LiveParam public var recLevel: Double // scale on incoming signal (default 1.0)
@LiveParam public var preLevel: Double // scale on existing buffer (default 0.0 = overwrite)
public let buffer: LyrebirdBuffer
public let doneAction: DoneAction
@@ -288,10 +288,10 @@ Free function used by `PlayBuffer` (and available to future generators like `Gra
internal func lyrebirdBufferRead(
_ buffer: LyrebirdBuffer,
channel: Int,
phase: LyrebirdFloat,
phase: Double,
interpolation: TableInterpolation,
loop: Bool
) -> LyrebirdFloat
) -> Double
```
Frame boundaries are **clamped** when `loop == false`, **wrapped modulo** `buffer.count` when `loop == true`.