feat(amp): shared power-amp Sag + Bias in an advanced pop-over
Phase 11. Promote Sag from Modern High-Gain to a shared AmpVoicePedal capability and add a Bias control, both surfaced in a new pedal-card pop-over rather than on the amp face. - AmpVoicePedal gains `sag` [0,1] (AmplitudeFollower gain-droop, clamped [0.15,1] to prevent phase inversion) and `bias` [0,1] mapped to the power-amp TriodeStage grid bias ([-0.25,0.25], neutral 0.5 → 0.0 so existing voices are unchanged at defaults). Both applied in preCabinetCore; new `applySag(_:)` + `powerAmpBiasInput` helpers. - Modern High-Gain drops its bespoke sag (now inherited); keeps sag=0.3 default. Sag moves off its face into the pop-over. - Pedal gains an `advancedKnobs` surface; PedalView draws a gear button (top-right) presenting them in a popover, reusing the existing pattern. - Advanced knobs round-trip through PedalState (new `advancedValues`, backward-compatible decode) and are MIDI-CC-mappable (appended last). De-branding (review nits): "Vox" removed from the Chime family's user-visible summaries + docs; "Fullerton Princeton" renamed to display "Fullerton Ivy League". Palette horizontal picker second row now shows Routing before the Amp Model group. 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, "British Master": .amp, "British Dual": .amp, "Boutique Lead": .amp, "Boutique OD": .amp, "Cali Hi-Gain": .amp, "Command": .amp, "Citrus": .amp, "Sixties Combo": .amp, "Magna Vibrato": .amp, "Anaheim": .amp, "Modern High-Gain": .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,
|
||||
"California": .amp, "British": .amp, "British Plexi": .amp, "British JTM": .amp, "British Bluesbreaker": .amp, "British Master": .amp, "British Dual": .amp, "Boutique Lead": .amp, "Boutique OD": .amp, "Cali Hi-Gain": .amp, "Command": .amp, "Citrus": .amp, "Sixties Combo": .amp, "Magna Vibrato": .amp, "Anaheim": .amp, "Modern High-Gain": .amp, "Chime": .amp, "Chime 15": .amp, "Chime Normal": .amp, "Chime Baby": .amp, "Fullerton Reverb": .amp, "Fullerton Deluxe": .amp, "Fullerton Ivy League": .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