// ChimeFifteenAmpPedal.swift // Lyrebird // // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT import LyrebirdSynth import LyrebirdUI /// Chime-family **1×12 EL84 combo** — the lower-powered, earlier-breakup sibling of the top-boost /// voice. Chimey but grittier: the small power section saturates sooner. /// /// A ``ChimeAmpPedal`` (Cut voice) with a higher fixed power-amp drive and a bright cab. public final class ChimeFifteenAmpPedal: ChimeAmpPedal { /// Power-amp drive — higher than the base's fixed `1.5` so the EL84 stage breaks up earlier. private let fifteenPowerDrive: Double = 2.0 public override var summaryText: String { "Chime-style 1×12 EL84 combo — chimey but earlier-breakup, with a Cut control." } /// Driven harder than the base, so 4× oversampling for anti-alias headroom. public override var powerAmpOversample: Int { 4 } public override var powerAmpDriveInput: any ValidGeneratorInput { fifteenPowerDrive } /// Creates a Chime 15 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: "Chime 15", inputBus: inputBus, outputBus: outputBus) gain = 6.0 // grittier starting point than the big AC voice cab = 5.0 // Bright 1×12 } }