prep for 1.2.0 release updates

This commit is contained in:
2026-06-21 11:45:58 -07:00
parent 73191c958f
commit 032b7c39d3
286 changed files with 21116 additions and 121 deletions
+1
View File
@@ -1200,6 +1200,7 @@ These wrap the common pattern *"vectorise the full-block case, fall back to a sc
| `plateReverbTankHalf(...)` | `Generators/Reverb/PlateReverbHelpers.swift` | One half of the Dattorro figure-of-eight tank: modulated allpass → delay 1 → damping LP → decay scale → allpass 2 → delay 2 write. Used twice per sample in `PlateReverb.Audio._computeSamples` (left + right halves). All state mutated `inout`; opposite-half feedback is read by the caller as `dl2Buf[dl2Pos]` (oldest sample) before invoking this helper. `@inline(__always) internal`. |
| `gverbReadEarlyTaps(...)` | `Generators/Reverb/GVerbHelpers.swift` | Reads four pre-FDN early-reflection taps from `tapBuf` with branchless wrap + per-tap gains; returns the four samples as `(u0, u1, u2, u3)`. Consumed by `GVerb.Audio._computeSamples`. `@inline(__always) internal`. |
| `gverbFDNDamperCascade(...)` | `Generators/Reverb/GVerbHelpers.swift` | Applies four one-pole LP damper steps `y = x*(1-damp) + prev*damp` to the four raw FDN delay-line reads. Mutates `fdnDampState[0..3]` `inout` with denormal flush; returns `(d0, d1, d2, d3)`. Caller pre-computes `fdnPassThrough = 1 - dampingVal`. `@inline(__always) internal`. |
| `catmullRomCubic(_:_:_:_:t:)` | `Math/CubicInterpolation.swift` | The single shared 4-point Catmull-Rom cubic kernel. Args `(pM1, p0, p1, p2, t:)` — sample before the segment, the two bracketing it, the one after, `t ∈ [0, 1]`. Use instead of inlining the `t²`/`t³` expanded form. Consumers: oscillator table reads (`OscSin`, `oscillatorTableReadCubic`), `PlayBuffer`, `chaoticInterpolate`, fractional-delay lines (`DelayLine` / `DelayLineFeedback` / `CombFilter` / `AllpassFilter`). `@inline(__always) @_spi(LyrebirdExtensions) public`. |
| `makeSampleBuffer(_:)` / `makeResultBuffer(channels:)` | `ResultBuffer.swift` | Separately-owned scratch buffer or non-`GeneratorBase`-managed `_result` |
| `_mulAdd.applyIfNeeded(to:graph:count:)` | `MulAdd.swift` | Any generator with a `MulAddSpec` — audio or control rate |
| `fillRampedResult(into:from:to:mulAdd:graph:count:)` | `MulAdd.swift` | `ControlGenerator` with `_rampTarget` + `_mulAdd` following the standard ramp pattern |