refactor(amps): hoist shared switch/leadBias constants to AmpVoicePedal
switchOffValue (0.0) / switchOnValue (1.0) were re-declared in six amp files and leadBias (0.15) in two. Hoist all three onto AmpVoicePedal as internal `let`s so every subclass inherits them; remove the per-file duplicates. Pure refactor — no behavior change; 610 tests stay green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -50,8 +50,6 @@ public final class ChimeTopBoostAmpPedal: AmpVoicePedal {
|
||||
private let cutRange: ClosedRange<Double> = 0.0 ... 1.0
|
||||
private let speedRange: ClosedRange<Double> = 0.5 ... 12.0
|
||||
private let intensityRange: ClosedRange<Double> = 0.0 ... 1.0
|
||||
private let switchOffValue: Double = 0.0
|
||||
private let switchOnValue: Double = 1.0
|
||||
|
||||
// MARK: - Voice configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user