// ChimeBabyAmpPedal.swift // Lyrebird // // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT import LyrebirdSynth import LyrebirdUI /// Chime-family **practice combo** — the tiny, low-power amp: low headroom, a small boxy /// speaker, and the earliest breakup of the chime family. /// /// A ``ChimeAmpPedal`` (Cut voice) driven hardest into the power stage, with the small lo-fi cab. public final class ChimeBabyAmpPedal: ChimeAmpPedal { /// Power-amp drive — the highest of the chime family, so it breaks up earliest. private let babyPowerDrive: Double = 2.5 public override var summaryText: String { "Chime-style practice combo — tiny, boxy, earliest-breakup chime with a Cut control." } /// Driven hardest of the chime family, so 4× oversampling for anti-alias headroom. public override var powerAmpOversample: Int { 4 } public override var powerAmpDriveInput: any ValidGeneratorInput { babyPowerDrive } /// Creates a Chime Baby 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 Baby", inputBus: inputBus, outputBus: outputBus) gain = 6.0 bass = 0.4 // small speaker, less low end cab = 7.0 // Lo-Fi 1×8 — the small, boxy voice } }