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:
@@ -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", "Overdrive", "Distortion", "Compressor", "Sustainer", "Limiter", "Noise Gate", "Fuzz",
|
||||
"Amp", "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",
|
||||
|
||||
Reference in New Issue
Block a user