feat(pedals): add Sustain Fuzz pedal + Gilmour/doom rigs

New "Sustain Fuzz": a mid-scooped, high-sustain fuzz distinct from the
single-stage Fuzz. Two cascaded soft-clip (softClipNormalized) stages
compress and stack harmonics for smooth violin-like sustain; a fixed
midrange scoop (RBJPeakingEQ cut at 750 Hz) hollows the mids; a tone
low-pass sets the top end. Sustain/Tone/Scoop knobs. Composed in effect(),
no new RT generator.

Registered in PedalType/PedalRegistry, enclosure colour, palette order.
Tests cover build+non-silent, each knob changing output, knob listing,
preset round-trip.

Adds two factory rigs: Comfortably Numb Lead and Doom Riff Wall.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-09 13:10:16 -07:00
parent 965633de34
commit 75b99a547b
7 changed files with 315 additions and 1 deletions
@@ -80,6 +80,8 @@ public enum FactoryRigLibrary {
ringModTexture,
rockabillySlapback,
psychVibeLead,
comfortablyNumbLead,
doomRiffWall,
]
// MARK: Shoegaze walls
@@ -539,6 +541,65 @@ public enum FactoryRigLibrary {
}
}
/// Compressed sustaining fuzz into a dotted delay and shimmer — a soaring, singing lead.
static let comfortablyNumbLead: FactoryRig = FactoryRig(
id: stableID("Comfortably Numb Lead"),
name: "Comfortably Numb Lead",
blurb: "Compressed, mid-scooped sustain fuzz into a dotted delay and octave-up shimmer — a "
+ "soaring, singing lead that holds forever. Bend into long notes and let them bloom.",
category: .classic
) { _, board in
try board.append(CompressorPedal()) { p in
p.inputGain = 4.0
p.threshold = -18.0
p.ratio = 4.0
}
try board.append(SustainFuzzPedal()) { p in
p.sustain = 14.0
p.tone = 3000.0
p.scoop = 10.0
}
try board.append(DelayPedal()) { p in
// Dotted eighth at ~100 BPM.
p.time = 0.45
p.feedback = 2.2
}
try board.append(ShimmerReverbPedal()) { p in
p.size = 0.09
p.decay = 0.85
p.shimmer = 0.5
p.damp = 0.35
}
}
/// Sub-octave under a huge scooped fuzz into a cavernous room — heavy, slow doom.
static let doomRiffWall: FactoryRig = FactoryRig(
id: stableID("Doom Riff Wall"),
name: "Doom Riff Wall",
blurb: "A sub-octave stacked under a huge mid-scooped fuzz, into a cavernous room — crushing, "
+ "slow doom. Down-tune, play half-time and let the low end swallow the room.",
category: .experimental
) { _, board in
try board.append(BassOctaverPedal()) { p in
p.oct1 = 0.8
p.oct2 = 0.3
p.direct = 0.9
// Track mode: follow the played pitch.
p.mode = 1.0
}
try board.append(SustainFuzzPedal()) { p in
p.sustain = 22.0
p.tone = 2200.0
p.scoop = 6.0
}
try board.append(RoomReverbPedal()) { p in
p.size = 70.0
p.decay = 6.0
p.damp = 0.55
p.tail = 0.7
}
}
// MARK: - Seeding
/// Builds every factory rig into a ``RigEntry`` snapshot suitable for the rig library.
@@ -66,6 +66,7 @@ public enum PedalRegistry {
"Reverb": { ReverbPedal() },
"Modulation": { ModulationPedal() },
"Fuzz": { FuzzPedal() },
"Sustain Fuzz": { SustainFuzzPedal() },
"Tremolo": { TremoloPedal() },
"Phaser": { PhaserPedal() },
"Compressor": { CompressorPedal() },