feat(amps): split combined Amp pedal into California/British/Chime voices
Replace the single AmpPedal (a model-selector pedal) with three dedicated amp-voice blocks, each fixing one tone-stack model and adding a signature control so the per-amp UI can be customized: - AmpVoicePedal: open base — shared Gain/Bass/Mid/Treble/Cab chain (TriodeStage preamp → ToneStack → TriodeStage power amp → shapeVoice → ConvolutionReverb cab), overridable toneStackModel/summary/signatureKnobs/ shapeVoice. - CaliforniaAmpPedal (.fender): Bright high-shelf, clean-leaning gain default. - BritishAmpPedal (.marshall): Presence high-shelf, crunch gain default. - ChimeAmpPedal (.vox): Cut low-pass, top-boost jangle. Registered in PedalRegistry / PedalType / PedalCategory / palette order / enclosure colors. Help acknowledgment updated for the three tone stacks. 12 new tests in AmpVoicePedalTests; removed AmpPedal + its tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -178,9 +178,9 @@ public struct HelpView: View {
|
||||
+ "built-in speaker impulse responses.",
|
||||
"The Cabinet pedal's built-in cab voicings are original impulse responses generated in "
|
||||
+ "code — not captures of any third-party hardware or IR pack.",
|
||||
"The Amp pedal's tone stack follows the Yeh & Smith analysis of the Fender/Marshall/Vox "
|
||||
+ "tone-stack circuit (\"Discretization of the '59 Fender Bassman Tone Stack\", DAFx-06); "
|
||||
+ "its models are original code, not captures of specific hardware.",
|
||||
"The California, British, and Chime amp pedals' tone stacks follow the Yeh & Smith analysis "
|
||||
+ "of the classic passive tone-stack circuit (\"Discretization of the '59 Fender Bassman Tone "
|
||||
+ "Stack\", DAFx-06); their models are original code, not captures of specific hardware.",
|
||||
"The Neural Amp pedal loads GuitarML Proteus / NeuralPi capture models (the open LSTM "
|
||||
+ "format from github.com/GuitarML). You supply the model file; none are bundled, and "
|
||||
+ "those models are licensed by their respective authors.",
|
||||
|
||||
@@ -42,7 +42,7 @@ public enum PedalCategory: String, CaseIterable, Identifiable, Sendable {
|
||||
}
|
||||
|
||||
private static let mapping: [String: PedalCategory] = [
|
||||
"Amp": .gain, "Neural Amp": .gain, "Overdrive": .gain, "Distortion": .gain, "Fuzz": .gain, "Volume": .gain,
|
||||
"California": .gain, "British": .gain, "Chime": .gain, "Neural Amp": .gain, "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,
|
||||
"Cabinet": .filter,
|
||||
|
||||
@@ -54,7 +54,7 @@ public struct PedalPaletteView: View {
|
||||
/// Preferred display order for the built-in pedals. Any registered pedal not listed here is
|
||||
/// appended afterwards (sorted) so the palette never silently drops a newly added pedal.
|
||||
private static let preferredOrder: [String] = [
|
||||
"Amp", "Neural Amp", "Overdrive", "Distortion", "Compressor", "Sustainer", "Limiter", "Noise Gate", "Fuzz",
|
||||
"California", "British", "Chime", "Neural Amp", "Overdrive", "Distortion", "Compressor", "Sustainer", "Limiter", "Noise Gate", "Fuzz",
|
||||
"Volume",
|
||||
"Graphic EQ", "Tremolo", "Phaser", "Modulation", "Chorus", "Flanger", "Vibrato", "Rotary",
|
||||
"Auto-Wah", "Wah", "Mutant", "Cabinet", "Ring Modulator", "Diffuser", "Bitcrusher", "Granulator",
|
||||
|
||||
@@ -17,7 +17,9 @@ import LyrebirdShoeGaze
|
||||
/// here in the UI target. Unrecognised names fall through to `.gray`.
|
||||
private func enclosureColor(for displayName: String) -> Color {
|
||||
switch displayName {
|
||||
case "Amp": return Color(red: 0.18, green: 0.17, blue: 0.20) // amp-head charcoal
|
||||
case "California": return Color(red: 0.20, green: 0.28, blue: 0.34) // West-Coast steel blue
|
||||
case "British": return Color(red: 0.30, green: 0.16, blue: 0.10) // oxblood tolex
|
||||
case "Chime": return Color(red: 0.16, green: 0.24, blue: 0.22) // vintage green
|
||||
case "Neural Amp": return Color(red: 0.22, green: 0.16, blue: 0.30) // deep neural violet
|
||||
case "Overdrive": return Color(red: 0.85, green: 0.42, blue: 0.08) // warm orange
|
||||
case "Distortion": return Color(red: 0.80, green: 0.26, blue: 0.12) // hot rust
|
||||
|
||||
Reference in New Issue
Block a user