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:
@@ -49,7 +49,7 @@ signal (no hardware needed) or on live guitar through an audio input.
|
|||||||
| Modulation | Tremolo, Phaser, Script Phaser, Modulation, Chorus, Flanger, Vibrato, Vibe, Rotary, Ring Modulator |
|
| Modulation | Tremolo, Phaser, Script Phaser, Modulation, Chorus, Flanger, Vibrato, Vibe, Rotary, Ring Modulator |
|
||||||
| Pitch | Bass Octaver, Octave Splitter, Harmonizer, Whammy, Poly Octave |
|
| Pitch | Bass Octaver, Octave Splitter, Harmonizer, Whammy, Poly Octave |
|
||||||
| Delay | Delay, Feedback Delay, Multi-Tap Delay, Ping-Pong, Reverse Delay, DL4 |
|
| Delay | Delay, Feedback Delay, Multi-Tap Delay, Ping-Pong, Reverse Delay, DL4 |
|
||||||
| Reverb | Reverb, Shimmer Reverb, Plate Reverb, Room Reverb, Spring Reverb, Reverse Reverb, Granular Reverb, Freeze Reverb, FreezVerb |
|
| Reverb | Reverb, Shimmer Reverb, Plate Reverb, Room Reverb, Spring Reverb, Reverse Reverb, Granular Reverb, Freeze, FreezVerb |
|
||||||
| Texture | Diffuser, Bitcrusher, Granulator, Auto Granulator, Karplus Resonator, Looper, Tape Looper |
|
| Texture | Diffuser, Bitcrusher, Granulator, Auto Granulator, Karplus Resonator, Looper, Tape Looper |
|
||||||
| Amp Model | Fullerton Reverb / Deluxe / Ivy League / Drive, California, Jazz Clean, British / Plexi / JTM / Bluesbreaker / Master / Dual, Chime / Chime Top Boost / 15 / Normal / Baby, Boutique Lead / OD, Cali Hi-Gain, Modern High-Gain, Command, Citrus, Sixties Combo, Magna Vibrato, Anaheim |
|
| Amp Model | Fullerton Reverb / Deluxe / Ivy League / Drive, California, Jazz Clean, British / Plexi / JTM / Bluesbreaker / Master / Dual, Chime / Chime Top Boost / 15 / Normal / Baby, Boutique Lead / OD, Cali Hi-Gain, Modern High-Gain, Command, Citrus, Sixties Combo, Magna Vibrato, Anaheim |
|
||||||
| Cabinet | Cabinet (speaker-voice + microphone modeling) |
|
| Cabinet | Cabinet (speaker-voice + microphone modeling) |
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ public extension PedalType {
|
|||||||
static let springReverb = PedalType("Spring Reverb")
|
static let springReverb = PedalType("Spring Reverb")
|
||||||
static let reverseReverb = PedalType("Reverse Reverb")
|
static let reverseReverb = PedalType("Reverse Reverb")
|
||||||
static let granularReverb = PedalType("Granular Reverb")
|
static let granularReverb = PedalType("Granular Reverb")
|
||||||
static let freezeReverb = PedalType("Freeze Reverb")
|
static let freeze = PedalType("Freeze")
|
||||||
static let freezVerb = PedalType("FreezVerb")
|
static let freezVerb = PedalType("FreezVerb")
|
||||||
|
|
||||||
// Pitch & octave
|
// 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
|
/// 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.
|
/// 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
|
/// *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
|
/// 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.
|
/// the template freezes, so the captured moment becomes a fixed formant mask on your ongoing signal.
|
||||||
|
|||||||
+9
-9
@@ -1,4 +1,4 @@
|
|||||||
// FreezeReverbPedal.swift
|
// FreezePedal.swift
|
||||||
// Lyrebird
|
// Lyrebird
|
||||||
//
|
//
|
||||||
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
||||||
@@ -8,7 +8,7 @@ import Foundation
|
|||||||
import LyrebirdSynth
|
import LyrebirdSynth
|
||||||
import LyrebirdUI
|
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.
|
/// 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
|
/// Unlike a feedback-tank "infinite reverb" (which just pushes a reverb's decay toward forever and
|
||||||
@@ -30,7 +30,7 @@ import LyrebirdUI
|
|||||||
///
|
///
|
||||||
/// ## Transport
|
/// ## Transport
|
||||||
/// - `Freeze`: latching footswitch — press to snapshot and hold, press again to release.
|
/// - `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.
|
/// One-line description shown in the picker and info panel.
|
||||||
public override var summary: String {
|
public override var summary: String {
|
||||||
@@ -136,7 +136,7 @@ public final class FreezeReverbPedal: Pedal {
|
|||||||
frozen = 0.0
|
frozen = 0.0
|
||||||
releaseGeneration += 1
|
releaseGeneration += 1
|
||||||
let generation: Int = releaseGeneration
|
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
|
DispatchQueue.main.asyncAfter(deadline: .now() + fadeSeconds) { [weak self] in
|
||||||
self?.completeRelease(generation: generation)
|
self?.completeRelease(generation: generation)
|
||||||
}
|
}
|
||||||
@@ -157,7 +157,7 @@ public final class FreezeReverbPedal: Pedal {
|
|||||||
|
|
||||||
// MARK: - Init
|
// MARK: - Init
|
||||||
|
|
||||||
/// Creates a freeze / snapshot reverb pedal.
|
/// Creates a freeze-and-hold pedal.
|
||||||
///
|
///
|
||||||
/// - Parameters:
|
/// - Parameters:
|
||||||
/// - inputBus: Audio bus index to read the dry input from. Defaults to `0`.
|
/// - 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
|
outputBus: Int = 0
|
||||||
) {
|
) {
|
||||||
super.init(
|
super.init(
|
||||||
name: "Freeze Reverb",
|
name: "Freeze",
|
||||||
inputBus: inputBus,
|
inputBus: inputBus,
|
||||||
outputBus: outputBus,
|
outputBus: outputBus,
|
||||||
initialMix: 1.0
|
initialMix: 1.0
|
||||||
@@ -183,12 +183,12 @@ public final class FreezeReverbPedal: Pedal {
|
|||||||
|
|
||||||
// Phase-vocoder spectral freeze: live analysis until `freeze()` captures the current spectrum,
|
// Phase-vocoder spectral freeze: live analysis until `freeze()` captures the current spectrum,
|
||||||
// then an infinite, naturally-rotating held pad regardless of further input.
|
// 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
|
freezeProcessor = freeze
|
||||||
let pad: SpectralChain.Audio = SpectralChain.Audio(
|
let pad: SpectralChain.Audio = SpectralChain.Audio(
|
||||||
input: dry,
|
input: dry,
|
||||||
fftSize: FreezeReverbPedal.fftSize,
|
fftSize: FreezePedal.fftSize,
|
||||||
hopSize: FreezeReverbPedal.hopSize,
|
hopSize: FreezePedal.hopSize,
|
||||||
stages: [.mono(freeze)]
|
stages: [.mono(freeze)]
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -91,7 +91,7 @@ public enum PedalRegistry {
|
|||||||
"Spring Reverb": { SpringReverbPedal() },
|
"Spring Reverb": { SpringReverbPedal() },
|
||||||
"Reverse Reverb": { ReverseReverbPedal() },
|
"Reverse Reverb": { ReverseReverbPedal() },
|
||||||
"Granular Reverb": { GranularReverbPedal() },
|
"Granular Reverb": { GranularReverbPedal() },
|
||||||
"Freeze Reverb": { FreezeReverbPedal() },
|
"Freeze": { FreezePedal() },
|
||||||
"FreezVerb": { FreezVerbPedal() },
|
"FreezVerb": { FreezVerbPedal() },
|
||||||
"Limiter": { LimiterPedal() },
|
"Limiter": { LimiterPedal() },
|
||||||
"Cabinet": { CabinetPedal() },
|
"Cabinet": { CabinetPedal() },
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ public enum PedalCategory: String, CaseIterable, Identifiable, Sendable {
|
|||||||
"Reverse Delay": .delay, "DL4": .delay,
|
"Reverse Delay": .delay, "DL4": .delay,
|
||||||
"Reverb": .reverb, "Shimmer Reverb": .reverb,
|
"Reverb": .reverb, "Shimmer Reverb": .reverb,
|
||||||
"Plate Reverb": .reverb, "Room Reverb": .reverb, "Spring 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,
|
"Diffuser": .texture, "Bitcrusher": .texture, "Granulator": .texture, "Auto Granulator": .texture,
|
||||||
"Karplus Resonator": .texture, "Tape Looper": .texture,
|
"Karplus Resonator": .texture, "Tape Looper": .texture,
|
||||||
]
|
]
|
||||||
|
|||||||
+17
-17
@@ -1,4 +1,4 @@
|
|||||||
// FreezeReverbPedalTests.swift
|
// FreezePedalTests.swift
|
||||||
// Lyrebird
|
// Lyrebird
|
||||||
//
|
//
|
||||||
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
||||||
@@ -31,8 +31,8 @@ private final class GatedSineSource: SynthesizerBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@MainActor
|
@MainActor
|
||||||
@Suite("FreezeReverbPedal")
|
@Suite("FreezePedal")
|
||||||
struct FreezeReverbPedalTests {
|
struct FreezePedalTests {
|
||||||
|
|
||||||
private let sampleRate: Double = 44_100.0
|
private let sampleRate: Double = 44_100.0
|
||||||
private let sineHz: Double = 220.0
|
private let sineHz: Double = 220.0
|
||||||
@@ -41,7 +41,7 @@ struct FreezeReverbPedalTests {
|
|||||||
|
|
||||||
private func render(
|
private func render(
|
||||||
duration: Double,
|
duration: Double,
|
||||||
configure: (FreezeReverbPedal) -> Void
|
configure: (FreezePedal) -> Void
|
||||||
) throws -> [Float] {
|
) throws -> [Float] {
|
||||||
let numAudioBuses: Int = 64
|
let numAudioBuses: Int = 64
|
||||||
let (engine, url): (SynthesisEngine, URL) = makeNRTEngine(
|
let (engine, url): (SynthesisEngine, URL) = makeNRTEngine(
|
||||||
@@ -58,7 +58,7 @@ struct FreezeReverbPedalTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let source: GatedSineSource = GatedSineSource(targetBus: srcBus.index, freq: sineHz)
|
let source: GatedSineSource = GatedSineSource(targetBus: srcBus.index, freq: sineHz)
|
||||||
let pedal: FreezeReverbPedal = FreezeReverbPedal(inputBus: srcBus.index, outputBus: dstBus.index)
|
let pedal: FreezePedal = FreezePedal(inputBus: srcBus.index, outputBus: dstBus.index)
|
||||||
configure(pedal)
|
configure(pedal)
|
||||||
let master: TestRouteMaster = TestRouteMaster(inputBusIndex: dstBus.index)
|
let master: TestRouteMaster = TestRouteMaster(inputBusIndex: dstBus.index)
|
||||||
|
|
||||||
@@ -77,8 +77,8 @@ struct FreezeReverbPedalTests {
|
|||||||
private func stepRender(
|
private func stepRender(
|
||||||
totalFrames: Int,
|
totalFrames: Int,
|
||||||
blockSize: Int,
|
blockSize: Int,
|
||||||
configure: (FreezeReverbPedal) -> Void,
|
configure: (FreezePedal) -> Void,
|
||||||
onFrame: (_ frame: Int, _ source: GatedSineSource, _ pedal: FreezeReverbPedal) -> Void
|
onFrame: (_ frame: Int, _ source: GatedSineSource, _ pedal: FreezePedal) -> Void
|
||||||
) throws -> [Float] {
|
) throws -> [Float] {
|
||||||
let numAudioBuses: Int = 64
|
let numAudioBuses: Int = 64
|
||||||
let numControlBuses: Int = 512
|
let numControlBuses: Int = 512
|
||||||
@@ -101,7 +101,7 @@ struct FreezeReverbPedalTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let source: GatedSineSource = GatedSineSource(targetBus: srcBus.index, freq: sineHz)
|
let source: GatedSineSource = GatedSineSource(targetBus: srcBus.index, freq: sineHz)
|
||||||
let pedal: FreezeReverbPedal = FreezeReverbPedal(inputBus: srcBus.index, outputBus: dstBus.index)
|
let pedal: FreezePedal = FreezePedal(inputBus: srcBus.index, outputBus: dstBus.index)
|
||||||
configure(pedal)
|
configure(pedal)
|
||||||
let master: TestRouteMaster = TestRouteMaster(inputBusIndex: dstBus.index)
|
let master: TestRouteMaster = TestRouteMaster(inputBusIndex: dstBus.index)
|
||||||
|
|
||||||
@@ -156,7 +156,7 @@ struct FreezeReverbPedalTests {
|
|||||||
// Unfrozen, the dry signal passes straight through — output is never silent.
|
// Unfrozen, the dry signal passes straight through — output is never silent.
|
||||||
let out: [Float] = try render(duration: 1.0) { _ in }
|
let out: [Float] = try render(duration: 1.0) { _ in }
|
||||||
#expect(!out.isEmpty)
|
#expect(!out.isEmpty)
|
||||||
#expect(hasNonSilentOutput(out), "freeze reverb output was silent")
|
#expect(hasNonSilentOutput(out), "Freeze output was silent")
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test func renderIsDeterministic() throws {
|
@Test func renderIsDeterministic() throws {
|
||||||
@@ -255,7 +255,7 @@ struct FreezeReverbPedalTests {
|
|||||||
// MARK: - Wiring
|
// MARK: - Wiring
|
||||||
|
|
||||||
@Test func exposesControls() throws {
|
@Test func exposesControls() throws {
|
||||||
let pedal: FreezeReverbPedal = FreezeReverbPedal()
|
let pedal: FreezePedal = FreezePedal()
|
||||||
#expect(pedal.effectKnobs.map { $0.label } == ["Verb", "Tone", "Rise"])
|
#expect(pedal.effectKnobs.map { $0.label } == ["Verb", "Tone", "Rise"])
|
||||||
#expect(pedal.effectTransportButtons.map { $0.label } == ["Freeze"])
|
#expect(pedal.effectTransportButtons.map { $0.label } == ["Freeze"])
|
||||||
#expect(pedal.showsMixControl == false)
|
#expect(pedal.showsMixControl == false)
|
||||||
@@ -263,7 +263,7 @@ struct FreezeReverbPedalTests {
|
|||||||
|
|
||||||
@Test func freezeTogglesHoldState() throws {
|
@Test func freezeTogglesHoldState() throws {
|
||||||
// The transport latch flips the held state without needing a running engine.
|
// The transport latch flips the held state without needing a running engine.
|
||||||
let pedal: FreezeReverbPedal = FreezeReverbPedal()
|
let pedal: FreezePedal = FreezePedal()
|
||||||
#expect(pedal.holding == false)
|
#expect(pedal.holding == false)
|
||||||
pedal.toggleFreeze()
|
pedal.toggleFreeze()
|
||||||
#expect(pedal.holding == true)
|
#expect(pedal.holding == true)
|
||||||
@@ -274,13 +274,13 @@ struct FreezeReverbPedalTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test func presetRoundTripPreservesControls() throws {
|
@Test func presetRoundTripPreservesControls() throws {
|
||||||
let pedal: FreezeReverbPedal = FreezeReverbPedal()
|
let pedal: FreezePedal = FreezePedal()
|
||||||
pedal.verb = 0.33
|
pedal.verb = 0.33
|
||||||
pedal.tone = 0.8
|
pedal.tone = 0.8
|
||||||
pedal.rise = 1.5
|
pedal.rise = 1.5
|
||||||
|
|
||||||
let state: PedalState = pedal.captureState()
|
let state: PedalState = pedal.captureState()
|
||||||
let restored: FreezeReverbPedal = FreezeReverbPedal()
|
let restored: FreezePedal = FreezePedal()
|
||||||
restored.applyState(state)
|
restored.applyState(state)
|
||||||
|
|
||||||
#expect(restored.verb == 0.33)
|
#expect(restored.verb == 0.33)
|
||||||
@@ -291,14 +291,14 @@ struct FreezeReverbPedalTests {
|
|||||||
@Test func heldSnapshotIsNotPersisted() throws {
|
@Test func heldSnapshotIsNotPersisted() throws {
|
||||||
// `frozen` is transport state, not a preset control: a pedal captured mid-freeze must restore
|
// `frozen` is transport state, not a preset control: a pedal captured mid-freeze must restore
|
||||||
// released, with no phantom pad blooming on load.
|
// released, with no phantom pad blooming on load.
|
||||||
let pedal: FreezeReverbPedal = FreezeReverbPedal()
|
let pedal: FreezePedal = FreezePedal()
|
||||||
pedal.verb = 0.4
|
pedal.verb = 0.4
|
||||||
pedal.toggleFreeze()
|
pedal.toggleFreeze()
|
||||||
#expect(pedal.holding == true)
|
#expect(pedal.holding == true)
|
||||||
#expect(pedal.frozen == 1.0)
|
#expect(pedal.frozen == 1.0)
|
||||||
|
|
||||||
let state: PedalState = pedal.captureState()
|
let state: PedalState = pedal.captureState()
|
||||||
let restored: FreezeReverbPedal = FreezeReverbPedal()
|
let restored: FreezePedal = FreezePedal()
|
||||||
restored.applyState(state)
|
restored.applyState(state)
|
||||||
|
|
||||||
#expect(restored.frozen == 0.0, "a held snapshot must not persist into a preset")
|
#expect(restored.frozen == 0.0, "a held snapshot must not persist into a preset")
|
||||||
@@ -307,7 +307,7 @@ struct FreezeReverbPedalTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test func registeredInBuiltInRegistry() throws {
|
@Test func registeredInBuiltInRegistry() throws {
|
||||||
let pedal: Pedal? = PedalRegistry.makePedal(type: "Freeze Reverb")
|
let pedal: Pedal? = PedalRegistry.makePedal(type: "Freeze")
|
||||||
#expect(pedal is FreezeReverbPedal)
|
#expect(pedal is FreezePedal)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user