fix(amps): Phase 2 review nits — Help scope, compose switches, test
- HelpView: scope the tone-stack acknowledgment to "tube-amp voice pedals" (the genericized "amp pedals" wrongly implied Neural Amp, which is .amp but has no tone stack, follows Yeh & Smith). - BritishBluesbreaker: compose super.effectSwitches for the Bright switch instead of re-declaring it, so it stays in sync with the base. - Test: round-trip now also asserts speed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -42,16 +42,9 @@ public final class BritishBluesbreakerAmpPedal: BritishComboAmpPedal {
|
||||
/// Wider card for the extra tremolo knobs plus the Bright and Tremolo switches.
|
||||
public override var widthUnits: Int { 3 }
|
||||
|
||||
/// The base Bright switch plus a Tremolo footswitch (compose `super` so Bright stays in sync).
|
||||
public override var effectSwitches: [PedalSwitch] {
|
||||
[
|
||||
PedalSwitch(
|
||||
label: "Bright",
|
||||
node: $bright,
|
||||
options: [
|
||||
PedalSwitch.Option(title: "Off", value: switchOffValue),
|
||||
PedalSwitch.Option(title: "On", value: switchOnValue),
|
||||
]
|
||||
),
|
||||
super.effectSwitches + [
|
||||
PedalSwitch(
|
||||
label: "Tremolo",
|
||||
node: $tremoloEnabled,
|
||||
|
||||
Reference in New Issue
Block a user