Files
ShoeGaze/Sources/LyrebirdShoeGaze/Pedals/BoutiqueLeadAmpPedal.swift
T
josh 31fa1b9cd3 fix(amps): Phase 6 review nits — reuse signatureRange, private leadBias
- 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>
2026-08-03 14:18:43 -07:00

33 lines
1.2 KiB
Swift
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 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
}
}