fix(shimmer): lower default + starter decay/shimmer to avoid self-oscillation
The shimmer reverb's regenerating loop gain is ~decay + shimmer, so hot values screech into sustained feedback with little or no input. The pedal defaults summed to 1.3 (0.8 + 0.5) — over unity on a fresh add — and several starter rigs ran 1.3–1.6. - Pedal defaults: decay 0.8 -> 0.5, shimmer 0.5 -> 0.25, damp 0.4 -> 0.5 (sum 0.75), with a doc note on keeping decay + shimmer < 1. - Starter rigs using it (Dreampop Chorus Cathedral, Ambient Shimmer Bed, Post-Rock Crescendo, Comfortably Numb Lead): decay/shimmer pulled down so each sums to ~0.8 or less; damping raised. Bumped seedVersion to 4 so existing libraries refresh. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -31,13 +31,16 @@ public final class ShimmerReverbPedal: Pedal {
|
||||
@UIParam public var size: Double = 0.06
|
||||
|
||||
/// Tail length (feedback). Range [0, 0.92].
|
||||
@UIParam public var decay: Double = 0.8
|
||||
///
|
||||
/// The regenerating loop gain is roughly `decay + shimmer`; keep their sum well under `1` to avoid
|
||||
/// self-oscillation (a sustaining screech with little or no input). Defaults sum to `0.75`.
|
||||
@UIParam public var decay: Double = 0.5
|
||||
|
||||
/// Octave-up regeneration amount. Range [0, 0.85].
|
||||
@UIParam public var shimmer: Double = 0.5
|
||||
/// Octave-up regeneration amount. Range [0, 0.85]. See ``decay`` on keeping `decay + shimmer < 1`.
|
||||
@UIParam public var shimmer: Double = 0.25
|
||||
|
||||
/// High-frequency damping. Range [0, 1].
|
||||
@UIParam public var damp: Double = 0.4
|
||||
@UIParam public var damp: Double = 0.5
|
||||
|
||||
// MARK: - Constants
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ public enum FactoryRigLibrary {
|
||||
/// an existing rig's definition corrected — so launch catch-up re-runs on already-populated
|
||||
/// libraries and refreshes every starter to its current form. Within a single version the marker
|
||||
/// only advances once, so a starter the user deletes stays deleted until the next bump.
|
||||
public static let seedVersion: Int = 3
|
||||
public static let seedVersion: Int = 4
|
||||
|
||||
/// Stable ids of every built-in rig, for detecting whether a library entry is a factory rig.
|
||||
///
|
||||
@@ -198,11 +198,11 @@ public enum FactoryRigLibrary {
|
||||
p.feedback = 1.5
|
||||
}
|
||||
try board.append(ShimmerReverbPedal()) { p in
|
||||
// Keep decay + shimmer feedback well below self-oscillation — high decay with the
|
||||
// octave-up regeneration screeches into runaway feedback within seconds.
|
||||
// Keep decay + shimmer well below self-oscillation — the loop gain is ~decay + shimmer, so
|
||||
// high values screech into runaway feedback with little or no input.
|
||||
p.size = 0.09
|
||||
p.decay = 0.55
|
||||
p.shimmer = 0.3
|
||||
p.decay = 0.5
|
||||
p.shimmer = 0.25
|
||||
p.damp = 0.5
|
||||
}
|
||||
}
|
||||
@@ -323,10 +323,12 @@ public enum FactoryRigLibrary {
|
||||
p.tone = 3500.0
|
||||
}
|
||||
try board.append(ShimmerReverbPedal()) { p in
|
||||
// Long ambient tail, but decay + shimmer kept under ~0.8 so it never self-oscillates; the
|
||||
// room reverb downstream supplies the extra length.
|
||||
p.size = 0.11
|
||||
p.decay = 0.9
|
||||
p.shimmer = 0.7
|
||||
p.damp = 0.3
|
||||
p.decay = 0.6
|
||||
p.shimmer = 0.2
|
||||
p.damp = 0.5
|
||||
}
|
||||
try board.append(RoomReverbPedal()) { p in
|
||||
p.size = 60.0
|
||||
@@ -506,9 +508,9 @@ public enum FactoryRigLibrary {
|
||||
}
|
||||
try board.append(ShimmerReverbPedal()) { p in
|
||||
p.size = 0.1
|
||||
p.decay = 0.88
|
||||
p.shimmer = 0.6
|
||||
p.damp = 0.3
|
||||
p.decay = 0.55
|
||||
p.shimmer = 0.25
|
||||
p.damp = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
@@ -613,9 +615,9 @@ public enum FactoryRigLibrary {
|
||||
}
|
||||
try board.append(ShimmerReverbPedal()) { p in
|
||||
p.size = 0.09
|
||||
p.decay = 0.85
|
||||
p.shimmer = 0.5
|
||||
p.damp = 0.35
|
||||
p.decay = 0.55
|
||||
p.shimmer = 0.25
|
||||
p.damp = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user