9c0f89bae6
Add a shared BoutiqueAmpPedal base: a rebuildsOnChange Clean/Lead channel switch (Lead cascades a stage set by Drive), a Master (via masterDrive), and Presence (top-end high-shelf) + Depth (low-end low-shelf, RBJLowShelf) power-amp shaping; widthUnits 4, 4× power-amp oversample. - Boutique Lead — SLO-style aggressive super-lead (.marshall, hot Lead drive). - Boutique OD — D-style smooth overdrive (.fender) with a Mid Boost switch (RBJPeakingEQ peak scaled by the switch, identity when off) layered on the base Presence/Depth shaping. Registered across 6 sites as .amp. 10 tests (channel switch + rebuildsOnChange, presence/depth, master drives power amp via RMS-normalized SSD, drive, ceiling on lead channel, control surfaces, OD mid boost, round-trip, registry). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
33 lines
1.2 KiB
Swift
33 lines
1.2 KiB
Swift
// BoutiqueLeadAmpPedal.swift
|
||
// Lyrebird
|
||
//
|
||
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
||
// SPDX-License-Identifier: MIT
|
||
|
||
import LyrebirdSynth
|
||
import LyrebirdUI
|
||
|
||
/// Boutique **super-lead** — the SLO-style high-gain singing lead: aggressive cascaded overdrive on
|
||
/// the Lead channel, a Master volume, and Presence / Depth power-amp shaping.
|
||
///
|
||
/// A ``BoutiqueAmpPedal`` fixed to the aggressive British tone stack, defaulting to a hot Lead drive.
|
||
public final class BoutiqueLeadAmpPedal: BoutiqueAmpPedal {
|
||
|
||
public override var toneStackModel: ToneStackModel { .marshall }
|
||
public override var summaryText: String {
|
||
"Boutique super-lead — aggressive cascaded high gain with Master, Presence, and Depth."
|
||
}
|
||
|
||
/// Creates a Boutique Lead amp.
|
||
///
|
||
/// - Parameters:
|
||
/// - inputBus: Audio bus index to read the dry input from. Defaults to `0`.
|
||
/// - outputBus: Audio bus index to write the processed output to. Defaults to `0`.
|
||
public init(inputBus: Int = 0, outputBus: Int = 0) {
|
||
super.init(name: "Boutique Lead", inputBus: inputBus, outputBus: outputBus)
|
||
gain = 6.0
|
||
drive = 14.0 // hot singing lead
|
||
cab = 1.0 // British 4×12
|
||
}
|
||
}
|