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:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
+5
-5
@@ -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
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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() },
|
||||
|
||||
@@ -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",
|
||||
]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user