From 5040ea15180cd761bbd4785a0928cc6f1bcf05c1 Mon Sep 17 00:00:00 2001 From: Joshua Parmenter Date: Wed, 24 Jun 2026 21:00:02 -0700 Subject: [PATCH] Rename Mu-Tron pedal to Mutant (de-trademark) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename the user-facing 'Mu-Tron' pedal to the non-proprietary 'Mutant': displayName, registry key, PedalType.mutant, enclosure color, palette order, and the class (MuTronPedal -> MutantPedal) + test file. The underlying Lyrebird MuTronIII generator (and its Mode/Sweep types) keep their names — that's the dependency's DSP type, not user-facing. Note: displayName doubles as the rig-save key, so rigs saved with 'Mu-Tron' won't match on load (acceptable pre-1.0; nothing released). Co-Authored-By: Claude Opus 4.8 --- .../ShoeGazeDemo/ShoeGazeDemoController.swift | 4 ++-- README.md | 2 +- Sources/LyrebirdShoeGaze/PedalType.swift | 2 +- .../Pedals/AutoWahPedal.swift | 2 +- .../{MuTronPedal.swift => MutantPedal.swift} | 10 ++++----- .../Presets/PedalRegistry.swift | 4 ++-- .../LyrebirdShoeGazeUI/PedalPaletteView.swift | 2 +- Sources/LyrebirdShoeGazeUI/PedalView.swift | 2 +- ...edalTests.swift => MutantPedalTests.swift} | 22 +++++++++---------- 9 files changed, 25 insertions(+), 25 deletions(-) rename Sources/LyrebirdShoeGaze/Pedals/{MuTronPedal.swift => MutantPedal.swift} (96%) rename Tests/LyrebirdShoeGazeTests/{MuTronPedalTests.swift => MutantPedalTests.swift} (93%) diff --git a/Demo/ShoeGazeDemo/ShoeGazeDemoController.swift b/Demo/ShoeGazeDemo/ShoeGazeDemoController.swift index a3b38d0..c9c5059 100644 --- a/Demo/ShoeGazeDemo/ShoeGazeDemoController.swift +++ b/Demo/ShoeGazeDemo/ShoeGazeDemoController.swift @@ -248,7 +248,7 @@ final class ShoeGazeDemoController { /// /// Board 1: Overdrive → Delay → Reverb → Modulation /// Board 2: Fuzz → Tremolo → Phaser → Compressor - /// Board 3: Mu-Tron → Auto-Wah → Feedback Delay → Multi-Tap Delay + /// Board 3: Mutant → Auto-Wah → Feedback Delay → Multi-Tap Delay private func buildBoards() { do { let board1: PedalBoard = try shoeGaze.addBoard() @@ -269,7 +269,7 @@ final class ShoeGazeDemoController { let board3: PedalBoard = try shoeGaze.addBoard() board3.label = "Board 3" - try board3.add(MuTronPedal()) + try board3.add(MutantPedal()) try board3.add(AutoWahPedal()) try board3.add(FeedbackDelayPedal()) try board3.add(MultiTapDelayPedal()) diff --git a/README.md b/README.md index 7e0293f..4abba55 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ signal (no hardware needed) or on live guitar through an audio input. | Category | Pedals | |---|---| | Drive & dynamics | Overdrive, Fuzz, Compressor, Limiter, Noise Gate | -| EQ & filter | Graphic EQ, Auto-Wah, Mu-Tron, Phaser | +| EQ & filter | Graphic EQ, Auto-Wah, Mutant, Phaser | | Modulation | Tremolo, Modulation | | Delay & reverb | Delay, Feedback Delay, Multi-Tap Delay, Ping-Pong, Reverb | | Pitch & octave | Octave Splitter, Bass Octaver | diff --git a/Sources/LyrebirdShoeGaze/PedalType.swift b/Sources/LyrebirdShoeGaze/PedalType.swift index ef33293..f410259 100644 --- a/Sources/LyrebirdShoeGaze/PedalType.swift +++ b/Sources/LyrebirdShoeGaze/PedalType.swift @@ -53,7 +53,7 @@ public extension PedalType { // EQ & filter static let graphicEQ = PedalType("Graphic EQ") static let autoWah = PedalType("Auto-Wah") - static let muTron = PedalType("Mu-Tron") + static let mutant = PedalType("Mutant") static let phaser = PedalType("Phaser") // Modulation diff --git a/Sources/LyrebirdShoeGaze/Pedals/AutoWahPedal.swift b/Sources/LyrebirdShoeGaze/Pedals/AutoWahPedal.swift index fb2e143..c8e6928 100644 --- a/Sources/LyrebirdShoeGaze/Pedals/AutoWahPedal.swift +++ b/Sources/LyrebirdShoeGaze/Pedals/AutoWahPedal.swift @@ -9,7 +9,7 @@ import LyrebirdUI /// Amplitude-tracked auto-wah pedal built from discrete tracking + filter stages. /// -/// Unlike `MuTronPedal` (which wraps the single fused `MuTronIII` generator), this pedal +/// Unlike `MutantPedal` (which wraps the single fused `MuTronIII` generator), this pedal /// wires the envelope path explicitly: an `AmplitudeFollower` tracks the dry signal level, /// the envelope is scaled by `sensitivity` and clamped to `[0, 1]`, then mapped through an /// exponential `LinExp` curve to a cutoff frequency that sweeps a resonant `SVF` bandpass. diff --git a/Sources/LyrebirdShoeGaze/Pedals/MuTronPedal.swift b/Sources/LyrebirdShoeGaze/Pedals/MutantPedal.swift similarity index 96% rename from Sources/LyrebirdShoeGaze/Pedals/MuTronPedal.swift rename to Sources/LyrebirdShoeGaze/Pedals/MutantPedal.swift index bb9fb2d..c4eb1b0 100644 --- a/Sources/LyrebirdShoeGaze/Pedals/MuTronPedal.swift +++ b/Sources/LyrebirdShoeGaze/Pedals/MutantPedal.swift @@ -1,4 +1,4 @@ -// MuTronPedal.swift +// MutantPedal.swift // Lyrebird // // Copyright (c) 2026 Joshua Parmenter / realizedsound @@ -7,7 +7,7 @@ import LyrebirdSynth import LyrebirdUI -/// Envelope-following filter pedal modeled on the Musitronics Mu-Tron III. +/// Envelope-following auto-wah / funk-filter pedal. /// /// Wraps the Lyrebird `MuTronIII` generator. The input amplitude drives an exponential /// cutoff sweep through a resonant Chamberlin state-variable filter. Because `MuTronIII` @@ -24,7 +24,7 @@ import LyrebirdUI /// ## Switches /// - `direction` (two-state): `0` = Down (louder closes the filter), `1` = Up (louder opens it). /// - `mode` (three-state): `0` = lowpass, `1` = bandpass (classic vowel wah), `2` = highpass. -public final class MuTronPedal: Pedal { +public final class MutantPedal: Pedal { // MARK: - Parameters @@ -107,10 +107,10 @@ public final class MuTronPedal: Pedal { public init(inputBus: Int = 0, outputBus: Int = 0) { super.init( - name: "Mu-Tron", + name: "Mutant", inputBus: inputBus, outputBus: outputBus, - initialMix: MuTronPedal.defaultMix + initialMix: MutantPedal.defaultMix ) } diff --git a/Sources/LyrebirdShoeGaze/Presets/PedalRegistry.swift b/Sources/LyrebirdShoeGaze/Presets/PedalRegistry.swift index a6b9c70..dee0847 100644 --- a/Sources/LyrebirdShoeGaze/Presets/PedalRegistry.swift +++ b/Sources/LyrebirdShoeGaze/Presets/PedalRegistry.swift @@ -14,7 +14,7 @@ /// To register custom pedal types, extend `builtIn` by building your own dictionary /// and merging it before calling `loadRig`. The built-in registry covers the factory /// pedals: Overdrive, Delay, Reverb, Modulation, Fuzz, Tremolo, Phaser, Compressor, -/// Mu-Tron, Auto-Wah, Feedback Delay, Multi-Tap Delay, Octave Splitter, and Ping-Pong. +/// Mutant, Auto-Wah, Feedback Delay, Multi-Tap Delay, Octave Splitter, and Ping-Pong. /// /// > Note: A saved rig captures each board's *linear* pedal chain only (see `BoardState`). /// > When a registered widener (e.g. Octave Splitter) or stereo-native pedal (e.g. @@ -39,7 +39,7 @@ public enum PedalRegistry { "Tremolo": { TremoloPedal() }, "Phaser": { PhaserPedal() }, "Compressor": { CompressorPedal() }, - "Mu-Tron": { MuTronPedal() }, + "Mutant": { MutantPedal() }, "Auto-Wah": { AutoWahPedal() }, "Feedback Delay": { FeedbackDelayPedal() }, "Multi-Tap Delay": { MultiTapDelayPedal() }, diff --git a/Sources/LyrebirdShoeGazeUI/PedalPaletteView.swift b/Sources/LyrebirdShoeGazeUI/PedalPaletteView.swift index f1d7b5e..b40ba6d 100644 --- a/Sources/LyrebirdShoeGazeUI/PedalPaletteView.swift +++ b/Sources/LyrebirdShoeGazeUI/PedalPaletteView.swift @@ -47,7 +47,7 @@ public struct PedalPaletteView: View { private static let preferredOrder: [String] = [ "Overdrive", "Compressor", "Limiter", "Noise Gate", "Fuzz", "Graphic EQ", "Tremolo", "Phaser", "Modulation", - "Auto-Wah", "Mu-Tron", "Bass Octaver", "Octave Splitter", + "Auto-Wah", "Mutant", "Bass Octaver", "Octave Splitter", "Delay", "Feedback Delay", "Multi-Tap Delay", "Ping-Pong", "Reverb", ] diff --git a/Sources/LyrebirdShoeGazeUI/PedalView.swift b/Sources/LyrebirdShoeGazeUI/PedalView.swift index b2e722b..a9bee2a 100644 --- a/Sources/LyrebirdShoeGazeUI/PedalView.swift +++ b/Sources/LyrebirdShoeGazeUI/PedalView.swift @@ -24,7 +24,7 @@ private func enclosureColor(for displayName: String) -> Color { case "Tremolo": return Color(red: 0.20, green: 0.38, blue: 0.72) // cobalt blue case "Phaser": return Color(red: 0.60, green: 0.22, blue: 0.62) // violet case "Compressor": return Color(red: 0.18, green: 0.42, blue: 0.32) // forest green - case "Mu-Tron": return Color(red: 0.70, green: 0.12, blue: 0.48) // magenta / plum + case "Mutant": return Color(red: 0.70, green: 0.12, blue: 0.48) // magenta / plum case "Auto-Wah": return Color(red: 0.80, green: 0.62, blue: 0.10) // gold case "Feedback Delay": return Color(red: 0.48, green: 0.30, blue: 0.14) // tape sepia case "Multi-Tap Delay": return Color(red: 0.08, green: 0.48, blue: 0.68) // cyan diff --git a/Tests/LyrebirdShoeGazeTests/MuTronPedalTests.swift b/Tests/LyrebirdShoeGazeTests/MutantPedalTests.swift similarity index 93% rename from Tests/LyrebirdShoeGazeTests/MuTronPedalTests.swift rename to Tests/LyrebirdShoeGazeTests/MutantPedalTests.swift index c410db2..d5d550c 100644 --- a/Tests/LyrebirdShoeGazeTests/MuTronPedalTests.swift +++ b/Tests/LyrebirdShoeGazeTests/MutantPedalTests.swift @@ -1,4 +1,4 @@ -// MuTronPedalTests.swift +// MutantPedalTests.swift // Lyrebird // // Copyright (c) 2026 Joshua Parmenter / realizedsound @@ -11,8 +11,8 @@ import LyrebirdUI @testable import LyrebirdShoeGaze @MainActor -@Suite("MuTronPedal") -struct MuTronPedalTests { +@Suite("MutantPedal") +struct MutantPedalTests { @Test func buildsAndProducesNonSilentOutput() throws { let renderDuration: Double = 0.1 @@ -27,7 +27,7 @@ struct MuTronPedalTests { } let source: TestLoopSource = TestLoopSource(targetBus: srcBus.index) - let pedal: MuTronPedal = MuTronPedal( + let pedal: MutantPedal = MutantPedal( inputBus: srcBus.index, outputBus: dstBus.index ) @@ -40,7 +40,7 @@ struct MuTronPedalTests { let samples: [Float] = readStereoCAF(url: url) #expect(!samples.isEmpty) - #expect(hasNonSilentOutput(samples), "MuTronPedal produced silence") + #expect(hasNonSilentOutput(samples), "MutantPedal produced silence") } @Test func filterModesProduceDifferentOutput() throws { @@ -62,7 +62,7 @@ struct MuTronPedalTests { } let source: TestLoopSource = TestLoopSource(targetBus: srcBus.index) - let pedal: MuTronPedal = MuTronPedal( + let pedal: MutantPedal = MutantPedal( inputBus: srcBus.index, outputBus: dstBus.index ) @@ -96,27 +96,27 @@ struct MuTronPedalTests { } @Test func presetRoundTripPreservesSwitchPositions() throws { - let pedal: MuTronPedal = MuTronPedal() + let pedal: MutantPedal = MutantPedal() pedal.mode = 2.0 // highpass pedal.direction = 0.0 // down let state: PedalState = pedal.captureState() #expect(state.switchValues == [0.0, 2.0]) // [direction, mode] - let restored: MuTronPedal = MuTronPedal() + let restored: MutantPedal = MutantPedal() restored.applyState(state) #expect(restored.mode == 2.0) #expect(restored.direction == 0.0) } @Test func exposesSensitivityAndResonanceKnobs() throws { - let pedal: MuTronPedal = MuTronPedal() + let pedal: MutantPedal = MutantPedal() let labels: [String] = pedal.effectKnobs.map { $0.label } #expect(labels == ["Sensitivity", "Resonance"]) } @Test func exposesTwoStateSweepAndThreeStateModeSwitches() throws { - let pedal: MuTronPedal = MuTronPedal() + let pedal: MutantPedal = MutantPedal() let switches: [PedalSwitch] = pedal.effectSwitches #expect(switches.map { $0.label } == ["Sweep", "Mode"]) // Two-state sweep (Down/Up), three-state mode (LP/BP/HP). @@ -143,7 +143,7 @@ struct MuTronPedalTests { } let source: TestLoopSource = TestLoopSource(targetBus: srcBus.index) - let pedal: MuTronPedal = MuTronPedal( + let pedal: MutantPedal = MutantPedal( inputBus: srcBus.index, outputBus: dstBus.index )