feat(pedals): Neural Amp pedal (S3) + PedalState resource path; Lyrebird 1.7.1

Bump Lyrebird to 1.7.1 (ProteusModelImporter) and add a neural amp-capture pedal.

- NeuralAmpPedal: loads a GuitarML Proteus/NeuralPi model (via ProteusModelImporter)
  and runs it with LSTMAmp on the gain-trimmed input; passes through clean when no
  model is loaded. Model files are user-supplied, not bundled (GuitarML = GPL-3.0).
- PedalState gains an optional `resourcePath` (backward-compatible, decodeIfPresent)
  and Pedal a matching `resourcePath` property, wired through captureState/applyState
  — so the loaded model file persists across rig save/load. The neural pedal reads it
  at build() (applied on rebuild). This foundation also unblocks a future
  custom-cabinet-IR path.
- Registered in PedalRegistry / PedalType / PedalCategory (.gain) / palette /
  enclosure color; Help acknowledges the GuitarML model format.

Tests: no-model passthrough; loaded model transforms output & differs from
passthrough; gain affects modeled output; resourcePath round-trips through
PedalState; gain knob exposed; registry resolves "Neural Amp". Full suite 501.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-01 20:39:18 -07:00
parent fe31eb6d7d
commit 40fa590196
13 changed files with 271 additions and 8 deletions
@@ -181,6 +181,9 @@ public struct HelpView: View {
"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 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.",
]
)
}