feat(amps): Jazz Clean — stereo-chorus solid-state amp
First stereo (widener) amp, modeling the JC-style ultra-clean combo whose signature is a lush stereo chorus fed to two power amps / speakers. Refactor AmpVoicePedal.effect() into two reusable, behavior-preserving pieces: - preCabinetCore(_:) — inputShaping → preamp → tone → onboardEffects → power → shapeVoice (mono) - cabinetAndLimit(_:) — selected cab convolver → tanh soft-limit → Clip(±1) (per channel) effect() = cabinetAndLimit(preCabinetCore(dry)); the four existing amps are unchanged (verified by their suites). JazzCleanAmpPedal (widener, .fender): mono core (with spring reverb + bright) → Chorus (mono → stereo split) → per-channel cabinetAndLimit. Controls: Gain/Bass/Mid/Treble + Reverb/Rate/Depth knobs, Bright + Chorus switches, Cab selector; widthUnits 3; defaults to the Full-Range cab for a hi-fi voice. The Chorus footswitch gates the wet mix to 0 (dry pass-through, Rate/Depth kept). Registered across registry/type/category/palette/enclosure; Help acknowledgment lists its tone stack. 10 tests (chorus rate/depth, reverb, bright, footswitch bit-exact bypass, ceiling with FX, stereo/control-surface config, round-trip, registry). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -178,10 +178,10 @@ 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 California, British, Chime, and Fullerton Reverb 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 California, British, Chime, Fullerton Reverb, and Jazz Clean 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] = [
|
||||
"California": .gain, "British": .gain, "Chime": .gain, "Fullerton Reverb": .gain, "Neural Amp": .gain, "Overdrive": .gain, "Distortion": .gain, "Fuzz": .gain, "Volume": .gain,
|
||||
"California": .gain, "British": .gain, "Chime": .gain, "Fullerton Reverb": .gain, "Jazz Clean": .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] = [
|
||||
"California", "British", "Chime", "Fullerton Reverb", "Neural Amp", "Overdrive", "Distortion", "Compressor", "Sustainer", "Limiter", "Noise Gate", "Fuzz",
|
||||
"California", "British", "Chime", "Fullerton Reverb", "Jazz Clean", "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",
|
||||
|
||||
@@ -21,6 +21,7 @@ private func enclosureColor(for displayName: String) -> Color {
|
||||
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 "Fullerton Reverb": return Color(red: 0.15, green: 0.22, blue: 0.30) // blackface panel
|
||||
case "Jazz Clean": return Color(red: 0.14, green: 0.30, blue: 0.34) // solid-state silver-teal
|
||||
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