Rename Mu-Tron pedal to Mutant (de-trademark)

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 <noreply@anthropic.com>
This commit is contained in:
2026-06-24 21:00:02 -07:00
parent 21b9123a87
commit 5040ea1518
9 changed files with 25 additions and 25 deletions
@@ -248,7 +248,7 @@ final class ShoeGazeDemoController {
/// ///
/// Board 1: Overdrive → Delay → Reverb → Modulation /// Board 1: Overdrive → Delay → Reverb → Modulation
/// Board 2: Fuzz → Tremolo → Phaser → Compressor /// 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() { private func buildBoards() {
do { do {
let board1: PedalBoard = try shoeGaze.addBoard() let board1: PedalBoard = try shoeGaze.addBoard()
@@ -269,7 +269,7 @@ final class ShoeGazeDemoController {
let board3: PedalBoard = try shoeGaze.addBoard() let board3: PedalBoard = try shoeGaze.addBoard()
board3.label = "Board 3" board3.label = "Board 3"
try board3.add(MuTronPedal()) try board3.add(MutantPedal())
try board3.add(AutoWahPedal()) try board3.add(AutoWahPedal())
try board3.add(FeedbackDelayPedal()) try board3.add(FeedbackDelayPedal())
try board3.add(MultiTapDelayPedal()) try board3.add(MultiTapDelayPedal())
+1 -1
View File
@@ -29,7 +29,7 @@ signal (no hardware needed) or on live guitar through an audio input.
| Category | Pedals | | Category | Pedals |
|---|---| |---|---|
| Drive & dynamics | Overdrive, Fuzz, Compressor, Limiter, Noise Gate | | 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 | | Modulation | Tremolo, Modulation |
| Delay & reverb | Delay, Feedback Delay, Multi-Tap Delay, Ping-Pong, Reverb | | Delay & reverb | Delay, Feedback Delay, Multi-Tap Delay, Ping-Pong, Reverb |
| Pitch & octave | Octave Splitter, Bass Octaver | | Pitch & octave | Octave Splitter, Bass Octaver |
+1 -1
View File
@@ -53,7 +53,7 @@ public extension PedalType {
// EQ & filter // EQ & filter
static let graphicEQ = PedalType("Graphic EQ") static let graphicEQ = PedalType("Graphic EQ")
static let autoWah = PedalType("Auto-Wah") static let autoWah = PedalType("Auto-Wah")
static let muTron = PedalType("Mu-Tron") static let mutant = PedalType("Mutant")
static let phaser = PedalType("Phaser") static let phaser = PedalType("Phaser")
// Modulation // Modulation
@@ -9,7 +9,7 @@ import LyrebirdUI
/// Amplitude-tracked auto-wah pedal built from discrete tracking + filter stages. /// 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, /// 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 /// 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. /// exponential `LinExp` curve to a cutoff frequency that sweeps a resonant `SVF` bandpass.
@@ -1,4 +1,4 @@
// MuTronPedal.swift // MutantPedal.swift
// Lyrebird // Lyrebird
// //
// Copyright (c) 2026 Joshua Parmenter / realizedsound // Copyright (c) 2026 Joshua Parmenter / realizedsound
@@ -7,7 +7,7 @@
import LyrebirdSynth import LyrebirdSynth
import LyrebirdUI 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 /// Wraps the Lyrebird `MuTronIII` generator. The input amplitude drives an exponential
/// cutoff sweep through a resonant Chamberlin state-variable filter. Because `MuTronIII` /// cutoff sweep through a resonant Chamberlin state-variable filter. Because `MuTronIII`
@@ -24,7 +24,7 @@ import LyrebirdUI
/// ## Switches /// ## Switches
/// - `direction` (two-state): `0` = Down (louder closes the filter), `1` = Up (louder opens it). /// - `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. /// - `mode` (three-state): `0` = lowpass, `1` = bandpass (classic vowel wah), `2` = highpass.
public final class MuTronPedal: Pedal { public final class MutantPedal: Pedal {
// MARK: - Parameters // MARK: - Parameters
@@ -107,10 +107,10 @@ public final class MuTronPedal: Pedal {
public init(inputBus: Int = 0, outputBus: Int = 0) { public init(inputBus: Int = 0, outputBus: Int = 0) {
super.init( super.init(
name: "Mu-Tron", name: "Mutant",
inputBus: inputBus, inputBus: inputBus,
outputBus: outputBus, outputBus: outputBus,
initialMix: MuTronPedal.defaultMix initialMix: MutantPedal.defaultMix
) )
} }
@@ -14,7 +14,7 @@
/// To register custom pedal types, extend `builtIn` by building your own dictionary /// 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 /// and merging it before calling `loadRig`. The built-in registry covers the factory
/// pedals: Overdrive, Delay, Reverb, Modulation, Fuzz, Tremolo, Phaser, Compressor, /// 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`). /// > 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. /// > When a registered widener (e.g. Octave Splitter) or stereo-native pedal (e.g.
@@ -39,7 +39,7 @@ public enum PedalRegistry {
"Tremolo": { TremoloPedal() }, "Tremolo": { TremoloPedal() },
"Phaser": { PhaserPedal() }, "Phaser": { PhaserPedal() },
"Compressor": { CompressorPedal() }, "Compressor": { CompressorPedal() },
"Mu-Tron": { MuTronPedal() }, "Mutant": { MutantPedal() },
"Auto-Wah": { AutoWahPedal() }, "Auto-Wah": { AutoWahPedal() },
"Feedback Delay": { FeedbackDelayPedal() }, "Feedback Delay": { FeedbackDelayPedal() },
"Multi-Tap Delay": { MultiTapDelayPedal() }, "Multi-Tap Delay": { MultiTapDelayPedal() },
@@ -47,7 +47,7 @@ public struct PedalPaletteView: View {
private static let preferredOrder: [String] = [ private static let preferredOrder: [String] = [
"Overdrive", "Compressor", "Limiter", "Noise Gate", "Fuzz", "Overdrive", "Compressor", "Limiter", "Noise Gate", "Fuzz",
"Graphic EQ", "Tremolo", "Phaser", "Modulation", "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", "Delay", "Feedback Delay", "Multi-Tap Delay", "Ping-Pong", "Reverb",
] ]
+1 -1
View File
@@ -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 "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 "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 "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 "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 "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 case "Multi-Tap Delay": return Color(red: 0.08, green: 0.48, blue: 0.68) // cyan
@@ -1,4 +1,4 @@
// MuTronPedalTests.swift // MutantPedalTests.swift
// Lyrebird // Lyrebird
// //
// Copyright (c) 2026 Joshua Parmenter / realizedsound // Copyright (c) 2026 Joshua Parmenter / realizedsound
@@ -11,8 +11,8 @@ import LyrebirdUI
@testable import LyrebirdShoeGaze @testable import LyrebirdShoeGaze
@MainActor @MainActor
@Suite("MuTronPedal") @Suite("MutantPedal")
struct MuTronPedalTests { struct MutantPedalTests {
@Test func buildsAndProducesNonSilentOutput() throws { @Test func buildsAndProducesNonSilentOutput() throws {
let renderDuration: Double = 0.1 let renderDuration: Double = 0.1
@@ -27,7 +27,7 @@ struct MuTronPedalTests {
} }
let source: TestLoopSource = TestLoopSource(targetBus: srcBus.index) let source: TestLoopSource = TestLoopSource(targetBus: srcBus.index)
let pedal: MuTronPedal = MuTronPedal( let pedal: MutantPedal = MutantPedal(
inputBus: srcBus.index, inputBus: srcBus.index,
outputBus: dstBus.index outputBus: dstBus.index
) )
@@ -40,7 +40,7 @@ struct MuTronPedalTests {
let samples: [Float] = readStereoCAF(url: url) let samples: [Float] = readStereoCAF(url: url)
#expect(!samples.isEmpty) #expect(!samples.isEmpty)
#expect(hasNonSilentOutput(samples), "MuTronPedal produced silence") #expect(hasNonSilentOutput(samples), "MutantPedal produced silence")
} }
@Test func filterModesProduceDifferentOutput() throws { @Test func filterModesProduceDifferentOutput() throws {
@@ -62,7 +62,7 @@ struct MuTronPedalTests {
} }
let source: TestLoopSource = TestLoopSource(targetBus: srcBus.index) let source: TestLoopSource = TestLoopSource(targetBus: srcBus.index)
let pedal: MuTronPedal = MuTronPedal( let pedal: MutantPedal = MutantPedal(
inputBus: srcBus.index, inputBus: srcBus.index,
outputBus: dstBus.index outputBus: dstBus.index
) )
@@ -96,27 +96,27 @@ struct MuTronPedalTests {
} }
@Test func presetRoundTripPreservesSwitchPositions() throws { @Test func presetRoundTripPreservesSwitchPositions() throws {
let pedal: MuTronPedal = MuTronPedal() let pedal: MutantPedal = MutantPedal()
pedal.mode = 2.0 // highpass pedal.mode = 2.0 // highpass
pedal.direction = 0.0 // down pedal.direction = 0.0 // down
let state: PedalState = pedal.captureState() let state: PedalState = pedal.captureState()
#expect(state.switchValues == [0.0, 2.0]) // [direction, mode] #expect(state.switchValues == [0.0, 2.0]) // [direction, mode]
let restored: MuTronPedal = MuTronPedal() let restored: MutantPedal = MutantPedal()
restored.applyState(state) restored.applyState(state)
#expect(restored.mode == 2.0) #expect(restored.mode == 2.0)
#expect(restored.direction == 0.0) #expect(restored.direction == 0.0)
} }
@Test func exposesSensitivityAndResonanceKnobs() throws { @Test func exposesSensitivityAndResonanceKnobs() throws {
let pedal: MuTronPedal = MuTronPedal() let pedal: MutantPedal = MutantPedal()
let labels: [String] = pedal.effectKnobs.map { $0.label } let labels: [String] = pedal.effectKnobs.map { $0.label }
#expect(labels == ["Sensitivity", "Resonance"]) #expect(labels == ["Sensitivity", "Resonance"])
} }
@Test func exposesTwoStateSweepAndThreeStateModeSwitches() throws { @Test func exposesTwoStateSweepAndThreeStateModeSwitches() throws {
let pedal: MuTronPedal = MuTronPedal() let pedal: MutantPedal = MutantPedal()
let switches: [PedalSwitch] = pedal.effectSwitches let switches: [PedalSwitch] = pedal.effectSwitches
#expect(switches.map { $0.label } == ["Sweep", "Mode"]) #expect(switches.map { $0.label } == ["Sweep", "Mode"])
// Two-state sweep (Down/Up), three-state mode (LP/BP/HP). // 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 source: TestLoopSource = TestLoopSource(targetBus: srcBus.index)
let pedal: MuTronPedal = MuTronPedal( let pedal: MutantPedal = MutantPedal(
inputBus: srcBus.index, inputBus: srcBus.index,
outputBus: dstBus.index outputBus: dstBus.index
) )