diff --git a/Sources/LyrebirdShoeGaze/Presets/PedalRegistry.swift b/Sources/LyrebirdShoeGaze/Presets/PedalRegistry.swift index 10260d6..4a43cb2 100644 --- a/Sources/LyrebirdShoeGaze/Presets/PedalRegistry.swift +++ b/Sources/LyrebirdShoeGaze/Presets/PedalRegistry.swift @@ -57,7 +57,9 @@ public enum PedalRegistry { "Fullerton Drive": { FullertonDriveAmpPedal() }, "Jazz Clean": { JazzCleanAmpPedal() }, "Chime Top Boost": { ChimeTopBoostAmpPedal() }, - "Neural Amp": { NeuralAmpPedal() }, + // "Neural Amp" intentionally NOT registered -- hidden from the palette while the neural + // model-loader's security-scoped file access is unresolved. NeuralAmpPedal + its UI are kept + // for later iteration; re-add this entry (and the palette order below) to re-enable. "Overdrive": { OverdrivePedal() }, "Distortion": { DistortionPedal() }, "Delay": { DelayPedal() }, diff --git a/Sources/LyrebirdShoeGazeUI/HelpView.swift b/Sources/LyrebirdShoeGazeUI/HelpView.swift index d8c61dc..270bf2d 100644 --- a/Sources/LyrebirdShoeGazeUI/HelpView.swift +++ b/Sources/LyrebirdShoeGazeUI/HelpView.swift @@ -182,9 +182,6 @@ public struct HelpView: View { + "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.", ] ) } diff --git a/Sources/LyrebirdShoeGazeUI/PedalPaletteView.swift b/Sources/LyrebirdShoeGazeUI/PedalPaletteView.swift index b256693..c0bddac 100644 --- a/Sources/LyrebirdShoeGazeUI/PedalPaletteView.swift +++ b/Sources/LyrebirdShoeGazeUI/PedalPaletteView.swift @@ -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", "British Plexi", "British JTM", "British Bluesbreaker", "British Master", "British Dual", "Boutique Lead", "Boutique OD", "Cali Hi-Gain", "Command", "Citrus", "Sixties Combo", "Magna Vibrato", "Anaheim", "Modern High-Gain", "Chime", "Chime 15", "Chime Normal", "Chime Baby", "Fullerton Reverb", "Fullerton Deluxe", "Fullerton Princeton", "Fullerton Drive", "Jazz Clean", "Chime Top Boost", "Neural Amp", "Overdrive", "Distortion", "Compressor", "Sustainer", "Limiter", "Noise Gate", "Fuzz", + "California", "British", "British Plexi", "British JTM", "British Bluesbreaker", "British Master", "British Dual", "Boutique Lead", "Boutique OD", "Cali Hi-Gain", "Command", "Citrus", "Sixties Combo", "Magna Vibrato", "Anaheim", "Modern High-Gain", "Chime", "Chime 15", "Chime Normal", "Chime Baby", "Fullerton Reverb", "Fullerton Deluxe", "Fullerton Princeton", "Fullerton Drive", "Jazz Clean", "Chime Top Boost", "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", diff --git a/Tests/LyrebirdShoeGazeTests/NeuralAmpPedalTests.swift b/Tests/LyrebirdShoeGazeTests/NeuralAmpPedalTests.swift index cf0e655..cf1511b 100644 --- a/Tests/LyrebirdShoeGazeTests/NeuralAmpPedalTests.swift +++ b/Tests/LyrebirdShoeGazeTests/NeuralAmpPedalTests.swift @@ -113,8 +113,10 @@ struct NeuralAmpPedalTests { #expect(pedal.effectKnobs.map { $0.label } == ["Gain"]) } - @Test func registeredInBuiltInRegistry() throws { - let pedal: Pedal? = PedalRegistry.makePedal(type: "Neural Amp") - #expect(pedal is NeuralAmpPedal) + @Test func notRegisteredWhileHidden() throws { + // Neural Amp is intentionally not in the palette/registry for now (unresolved security-scoped + // model-file access); the class + UI are kept for later iteration. Re-add to + // PedalRegistry.builtIn + PedalPaletteView.preferredOrder to re-enable. + #expect(PedalRegistry.makePedal(type: "Neural Amp") == nil) } }