v1.6.4 release: LookAheadLimiter releaseTime decoupled from lookAheadTime

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 18:10:54 -07:00
parent 5e6534a615
commit d6875da2cb
5 changed files with 89 additions and 23 deletions
+23
View File
@@ -7,6 +7,29 @@ functionality in a backward-compatible way.
---
## 1.6.4 — `LookAheadLimiter` release time decoupled from look-ahead
A patch release. One backward-compatible library addition.
`LookAheadLimiter` gains a `releaseTime` parameter, independent of
`lookAheadTime`:
```swift
LookAheadLimiter(in:maxAmplitude:lookAheadTime:releaseTime:sampleRate:)
```
Previously the gain-release one-pole coefficient was derived from
`lookAheadTime` (default 5 ms), so the release was fast enough to modulate the
gain within a single cycle of a low-frequency signal — audible as distortion on
sustained bass when the limiter was driven hard. `releaseTime` (default
`0.050`) is now a separate control, read per block from a `ValidGeneratorInput`
so it can be driven by a live parameter / knob. The look-ahead window size and
the no-overshoot ceiling guarantee are unchanged.
The new parameter has a default, so existing call sites are source-compatible.
---
## 1.6.3 — Notarization-ready `macos-ui-xcode` template
A patch release. Project-scaffolding fixes; no library API changes.