feat(amps): channel-switch enabler + drive-channel amps (Phase 4)
Enabler: - PedalSwitch.rebuildsOnChange (mirrors PedalSelectorKnob): a switch that changes graph topology asks the host to rebuild. Wired through PedalSwitchView (onCommit on a changed tap) and PedalView.switchRow → pedalRebuildAction. - AmpVoicePedal.preampStage(_:) overridable hook (default: one TriodeStage at Gain). preCabinetCore feeds it; a channel amp cascades an extra stage on its drive channel. Named preampOversample constant (4). Amps: - Fullerton Drive — American two-channel combo: blackface Clean + an overdrive channel (cascaded TriodeStage set by Drive), spring reverb, Bright. Channel switch is rebuildsOnChange, so only the selected channel's stages are built. - Jazz Clean — add the JC onboard Distortion channel (Clean/Dist switch + Drive knob) via the same preampStage cascade; flows through its stereo wideEffect. Registered Fullerton Drive across 6 sites as .amp. 22 tests across the two amps (channel switch changes output, drive knob, rebuildsOnChange, ceiling on the drive channel, control surface, round-trip, registry). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -44,7 +44,7 @@ public enum PedalCategory: String, CaseIterable, Identifiable, Sendable {
|
||||
}
|
||||
|
||||
private static let mapping: [String: PedalCategory] = [
|
||||
"California": .amp, "British": .amp, "British Plexi": .amp, "British JTM": .amp, "British Bluesbreaker": .amp, "Chime": .amp, "Chime 15": .amp, "Chime Normal": .amp, "Chime Baby": .amp, "Fullerton Reverb": .amp, "Fullerton Deluxe": .amp, "Fullerton Princeton": .amp, "Jazz Clean": .amp, "Chime Top Boost": .amp, "Neural Amp": .amp,
|
||||
"California": .amp, "British": .amp, "British Plexi": .amp, "British JTM": .amp, "British Bluesbreaker": .amp, "Chime": .amp, "Chime 15": .amp, "Chime Normal": .amp, "Chime Baby": .amp, "Fullerton Reverb": .amp, "Fullerton Deluxe": .amp, "Fullerton Princeton": .amp, "Fullerton Drive": .amp, "Jazz Clean": .amp, "Chime Top Boost": .amp, "Neural Amp": .amp,
|
||||
"Overdrive": .gain, "Distortion": .gain, "Fuzz": .gain, "Volume": .gain,
|
||||
"Compressor": .dynamics, "Sustainer": .dynamics, "Limiter": .dynamics, "Noise Gate": .dynamics,
|
||||
"Graphic EQ": .filter, "Auto-Wah": .filter, "Wah": .filter, "Mutant": .filter,
|
||||
|
||||
Reference in New Issue
Block a user