feat(reverb): add Freeze Reverb — a true spectral snapshot / infinite hold

A new reverb pedal that captures the sound at the instant you press Freeze and
holds it as an endless, smoothly-sustaining pad while you keep playing over it.

- Phase-vocoder SpectralFreeze (inside a SpectralChain) locks the magnitude
  spectrum of the moment and keeps each partial rotating at its own frequency,
  so the held chord is natural and glassy rather than a looped ring or a
  metallic feedback tank.
- The frozen spectrum is wrapped in a FreeVerb tank (summed to mono) for a
  diffuse, blooming space — the "reverb" half — then gated by a Lag ramp so the
  freeze blooms in and releases out over the Rise knob.
- The dry signal always passes through undelayed; the wash is layered on top
  (Mix hidden, base mix fully wet). The SpectralChain's FFT latency sits only on
  the gated wet path, and a frozen spectrum is uncorrelated with the moved-on
  dry, so there is no comb filtering.
- Latching Freeze footswitch (LED). On release the gate fades the held pad out
  and the return-to-live analysis is deferred until the fade completes (guarded
  by a generation token), so the fade is of the snapshot, not a live delayed
  copy that would comb against the dry.
- `frozen` is transport state (an @UIParam button indicator, like the Looper's
  isPlaying) and is not serialized into presets.

Wired at all four points (+ README catalog). 808 tests pass;
lyrebird_external_review clean (no blocking findings).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 18:10:09 -08:00
parent 0a8a8e549f
commit 843ae5b5f6
6 changed files with 562 additions and 2 deletions
@@ -60,7 +60,7 @@ public enum PedalCategory: String, CaseIterable, Identifiable, Sendable {
"Reverse Delay": .delay, "DL4": .delay,
"Reverb": .reverb, "Shimmer Reverb": .reverb,
"Plate Reverb": .reverb, "Room Reverb": .reverb, "Spring Reverb": .reverb,
"Reverse Reverb": .reverb, "Granular Reverb": .reverb,
"Reverse Reverb": .reverb, "Granular Reverb": .reverb, "Freeze Reverb": .reverb,
"Diffuser": .texture, "Bitcrusher": .texture, "Granulator": .texture, "Auto Granulator": .texture,
"Karplus Resonator": .texture, "Tape Looper": .texture,
]