v2.1.1 release: delay-click fix + internal consolidation
Mirror of Lyrebird dev HEAD (9f791c7c) minus maintainer-only paths. Patch release: fixes the allpass fractional-delay click (DelayLine/CombFilter/AllpassFilter/ DelayLineFeedback under a modulated delay) and lands the internal code-quality consolidation pass (~160 deduped sites + shared base classes/helpers, bit-identical output). No public API removed or changed. See RELEASES.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+31
@@ -7,6 +7,37 @@ functionality in a backward-compatible way.
|
||||
|
||||
---
|
||||
|
||||
## 2.1.1 — Delay-click fix + internal consolidation
|
||||
|
||||
A patch release: one audible bug fix in the delay/comb/allpass family, plus a
|
||||
large internal code-quality pass. No public API is removed or changed — the few
|
||||
new types are internal-facing scaffolding — so this is drop-in over 2.1.0.
|
||||
|
||||
**Fix — allpass fractional-delay click under modulation.** The allpass
|
||||
interpolation mode (`.allpass`) of `DelayLine`, `CombFilter`, `AllpassFilter`,
|
||||
and `DelayLineFeedback` mishandled its recursive filter state when a modulated
|
||||
delay crossed an exact integer-sample boundary: `AllpassFilter` and
|
||||
`DelayLineFeedback` produced an audible click (a sample-to-sample step several
|
||||
times the surrounding signal), and the four generators disagreed on the
|
||||
behavior. All four now record the integer-delayed sample as the interpolator's
|
||||
previous output, which is click-free and consistent. Only `.allpass`
|
||||
interpolation under a *modulated* delay was affected; `.none` / `.linear` /
|
||||
`.cubic` and static delays were already correct. Guarded by a per-generator
|
||||
regression suite.
|
||||
|
||||
**Internal consolidation (no behavioral change).** Roughly 160 duplicated
|
||||
call-site patterns and several near-identical generator shells were folded into
|
||||
shared helpers and base classes — block-boundary input reads, the per-sample
|
||||
phase wrap, the scalar mul/add fold, the held-constant control fill, the
|
||||
single-input math operators (`UnaryMathBase`), the chaotic oscillators'
|
||||
render body, the spectral FFT-size guards, the spectral feature analysers
|
||||
(`SpectralFeatureControlBase`), and the ~96 block-rate control generators that
|
||||
bypass sub-blocking (now a `BlockRateControlGenerator` marker protocol, which
|
||||
also drops an unused ~4 KB per-instance buffer allocation). Output is
|
||||
bit-identical across the generator library; the full test suite is unchanged.
|
||||
|
||||
---
|
||||
|
||||
## 2.1.0 — Swift 6.4 modernization
|
||||
|
||||
An internal-hardening release adopting modern Swift on the 6.4 toolchain. No
|
||||
|
||||
Reference in New Issue
Block a user