feat(pedals): component Amp pedal (S2) on Lyrebird 1.7
Bump Lyrebird dependency to 1.7.0 and add a full white-box amp built on its new amp-modeling core. AmpPedal chain: preamp TriodeStage(drive: gain) → ToneStack(bass/mid/treble, model) → gentle power-amp TriodeStage → speaker-cabinet ConvolutionReverb. The tone-stack model (Fender/Marshall/Vox) and cabinet voice are each built per option and picked live with Select, so both round-trip through the rig save format. Fully wet (Level is master; Mix hidden). Controls: Gain, Bass, Mid, Treble knobs + Amp / Cab selectors. Registered in PedalRegistry / PedalType / PedalCategory (.gain) / palette / enclosure color; Help acknowledgments cite the Yeh & Smith tone-stack model. Tests: builds/non-silent/finite; gain, tone, amp-model, and cab all change the output; controls exposed; amp/cab selections round-trip through PedalState; registry resolves "Amp". Full suite 494. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,7 @@ 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 "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
|
||||
case "Delay": return Color(red: 0.10, green: 0.55, blue: 0.55) // teal
|
||||
|
||||
Reference in New Issue
Block a user