rename(reverb): Freeze Reverb → Freeze

Shorten the pedal's display name to just "Freeze". Renames the type, registry
key, category entry, class (FreezeReverbPedal → FreezePedal) and its files/tests,
and updates the FreezVerb doc cross-reference. Behaviour unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 20:07:11 -08:00
parent 0873bbd82e
commit b1e59d2c03
7 changed files with 31 additions and 31 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ public extension PedalType {
static let springReverb = PedalType("Spring Reverb")
static let reverseReverb = PedalType("Reverse Reverb")
static let granularReverb = PedalType("Granular Reverb")
static let freezeReverb = PedalType("Freeze Reverb")
static let freeze = PedalType("Freeze")
static let freezVerb = PedalType("FreezVerb")
// Pitch & octave
@@ -11,7 +11,7 @@ import LyrebirdUI
/// at that instant is locked in as a fixed filter, and everything you play afterwards is poured
/// through that frozen spectral shape into a big reverb.
///
/// Where ``FreezeReverbPedal`` holds a snapshot as a *sounding* pad, this holds a snapshot as a
/// Where ``FreezePedal`` holds a snapshot as a *sounding* pad, this holds a snapshot as a
/// *filter*. A `SpectralCrossMap` masks the live spectrum bin-by-bin against a template taken from a
/// side-chain analysis of the input: while live, the template tracks what you play; press Capture and
/// the template freezes, so the captured moment becomes a fixed formant mask on your ongoing signal.
@@ -1,4 +1,4 @@
// FreezeReverbPedal.swift
// FreezePedal.swift
// Lyrebird
//
// Copyright (c) 2026 Joshua Parmenter / realizedsound
@@ -8,7 +8,7 @@ import Foundation
import LyrebirdSynth
import LyrebirdUI
/// A true freeze / snapshot reverb — press **Freeze** and the sound playing at that instant is
/// A true freeze-and-hold — press **Freeze** and the sound playing at that instant is
/// captured and held as an infinite, smoothly-sustaining pad while you keep playing over it.
///
/// Unlike a feedback-tank "infinite reverb" (which just pushes a reverb's decay toward forever and
@@ -30,7 +30,7 @@ import LyrebirdUI
///
/// ## Transport
/// - `Freeze`: latching footswitch — press to snapshot and hold, press again to release.
public final class FreezeReverbPedal: Pedal {
public final class FreezePedal: Pedal {
/// One-line description shown in the picker and info panel.
public override var summary: String {
@@ -136,7 +136,7 @@ public final class FreezeReverbPedal: Pedal {
frozen = 0.0
releaseGeneration += 1
let generation: Int = releaseGeneration
let fadeSeconds: Double = max(rise, FreezeReverbPedal.minReleaseDefer)
let fadeSeconds: Double = max(rise, FreezePedal.minReleaseDefer)
DispatchQueue.main.asyncAfter(deadline: .now() + fadeSeconds) { [weak self] in
self?.completeRelease(generation: generation)
}
@@ -157,7 +157,7 @@ public final class FreezeReverbPedal: Pedal {
// MARK: - Init
/// Creates a freeze / snapshot reverb pedal.
/// Creates a freeze-and-hold pedal.
///
/// - Parameters:
/// - inputBus: Audio bus index to read the dry input from. Defaults to `0`.
@@ -167,7 +167,7 @@ public final class FreezeReverbPedal: Pedal {
outputBus: Int = 0
) {
super.init(
name: "Freeze Reverb",
name: "Freeze",
inputBus: inputBus,
outputBus: outputBus,
initialMix: 1.0
@@ -183,12 +183,12 @@ public final class FreezeReverbPedal: Pedal {
// Phase-vocoder spectral freeze: live analysis until `freeze()` captures the current spectrum,
// then an infinite, naturally-rotating held pad regardless of further input.
let freeze: SpectralFreeze = SpectralFreeze(fftSize: FreezeReverbPedal.fftSize)
let freeze: SpectralFreeze = SpectralFreeze(fftSize: FreezePedal.fftSize)
freezeProcessor = freeze
let pad: SpectralChain.Audio = SpectralChain.Audio(
input: dry,
fftSize: FreezeReverbPedal.fftSize,
hopSize: FreezeReverbPedal.hopSize,
fftSize: FreezePedal.fftSize,
hopSize: FreezePedal.hopSize,
stages: [.mono(freeze)]
)
@@ -91,7 +91,7 @@ public enum PedalRegistry {
"Spring Reverb": { SpringReverbPedal() },
"Reverse Reverb": { ReverseReverbPedal() },
"Granular Reverb": { GranularReverbPedal() },
"Freeze Reverb": { FreezeReverbPedal() },
"Freeze": { FreezePedal() },
"FreezVerb": { FreezVerbPedal() },
"Limiter": { LimiterPedal() },
"Cabinet": { CabinetPedal() },
@@ -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, "Freeze Reverb": .reverb, "FreezVerb": .reverb,
"Reverse Reverb": .reverb, "Granular Reverb": .reverb, "Freeze": .reverb, "FreezVerb": .reverb,
"Diffuser": .texture, "Bitcrusher": .texture, "Granulator": .texture, "Auto Granulator": .texture,
"Karplus Resonator": .texture, "Tape Looper": .texture,
]