Follow-up cleanup now that card width is content-derived. Redefine widthUnits
as the card's base width in knob columns (1 = 3-wide, 2 = 4-wide) — both the
knob-grid column count and the card's minimum width — with selector/switch rows
able to push wider. Values above 2 no longer do anything.
- Delete the now-misleading widthUnits 3/4 overrides on 11 amps; they inherit
AmpVoicePedal's 2 (all full-surface amps → the same tight 4-wide card).
- Remove Mutant's redundant override (2 knobs + 2 switches → 3-wide either way).
- Cabinet: keep widthUnits 2 so it's 4-wide like the amps — its Cab/Mic/Mic B
selector captions (voice names) need the room to stay readable (per request).
- Looper keeps widthUnits 3 (the one pedal still using the flat multiple for its
bespoke timeline/knobs/transport layout).
- Refresh the widthUnits docs (base + AmpVoicePedal + Cabinet); update the amp
tests' widthUnits assertions (3/4 → 2; Looper stays 3).
675 tests pass; no visual change to the amps, Cabinet now matches their width.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Every amp's Gain (and the boutique/drive-channel Drive) is now a 1–11 dial —
yes, it goes to eleven — instead of the raw 1–30 tube-drive number.
- New AmpVoicePedal.taperedDrive(_:) maps the 1–11 dial to the 1–30 tube drive
through an exponential LinExp taper, so 1 is nearly clean, 11 is full
saturation, and the useful grind spreads across the dial (fine at the bottom,
steep at the top) rather than bunching near the low end.
- Wired into the base preampStage and every override that feeds a drive:
Boutique / Fullerton Drive / Jazz Clean / British Dual (Drive channel),
Anaheim (SS preamp), British Master (cascaded stage).
- gainRange / driveRange → 1...11; every amp's default gain/drive reconverted
from drive-space to the equivalent dial value (dial = 1 + 10·ln(drive)/ln(30)),
so each amp's shipped voicing is preserved.
- No preset migration (nothing shipped — per product owner); all knob work
stays within ShoeGaze (no core Lyrebird change).
- Tests updated to the 1–11 scale; added range + exponential-taper assertions.
671 tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Review nits: rename the reverb-enable switch "Reverb" → "Reverb FX" so it no
longer collides with the "Reverb" level knob in the flat control surface
(clearer, better for VoiceOver). Note in the vibrato bypass test why the
differing speed between the two renders is intentional (depth gated to 0 makes
the LFO a constant regardless of frequency).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Model the amp's two-button footswitch: Reverb and Vibrato switches that bypass
each onboard effect to a dry pass-through while preserving the knob positions.
Both gate live by scaling the wet amount to zero — reverb mix → 0 (SpringReverb
passes dry), tremolo depth → 0 (LFO collapses to a constant 1.0) — so Off is a
true identity and no rebuild is needed.
reverbEnabled / vibratoEnabled default on. Tests assert each footswitch-off is a
bit-exact pass-through (equals the knob-at-zero render) and differs when engaged;
state round-trip and control-surface exposure updated.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- AmpVoicePedal class doc lists Fullerton Reverb as a subclass.
- Ceiling test exercises the tremolo path (intensity/speed set).
- amp-modeling-2.0-plan S2 notes the Fullerton Reverb full-surface block.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
First combo amp with onboard effects, modeling the American blackface clean
voice. Adds two overridable hooks to AmpVoicePedal so an amp can insert stages
without touching the fixed chain:
- inputShaping(_:) — pre-preamp (bright switch here)
- onboardEffects(_:) — after tone stack, before power amp (reverb + tremolo here)
FullertonReverbAmpPedal (.fender):
- Spring reverb (SpringReverb) with a Reverb mix knob.
- Tremolo (unipolar sine gain LFO) with Speed + Intensity knobs; defaults off so
the amp opens as a clean reverbed platform. ("Vibrato" channel is really AM.)
- Bright switch: a pre-preamp high-shelf whose gain is scaled by the toggle, so
Off is a true identity and the switch is live (no rebuild).
- Full surface: Gain/Bass/Mid/Treble + Reverb/Speed/Intensity knobs, Bright
switch, Cab selector; widthUnits 3.
Registered across registry / type / category / palette / enclosure color; Help
acknowledgment lists its tone stack. 9 tests (FX effect, ceiling with FX on,
control surface, state round-trip, registry).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>