31fa1b9cd3
- BoutiqueAmpPedal: drop the duplicate signatureAmount range, use the inherited AmpVoicePedal.signatureRange; make leadBias private (in-class only). - BoutiqueLead: drop the redundant toneStackModel override (base is already .marshall). Filed a follow-up task to hoist the shared switchOff/On + leadBias constants onto AmpVoicePedal (now re-declared across several amp bases). 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 {
|
||
|
||
// toneStackModel inherits the base's .marshall (aggressive British stack).
|
||
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
|
||
}
|
||
}
|