diff --git a/Sources/LyrebirdShoeGaze/Pedals/ChimeAmpPedal.swift b/Sources/LyrebirdShoeGaze/Pedals/ChimeAmpPedal.swift index dd4792c..fb1806e 100644 --- a/Sources/LyrebirdShoeGaze/Pedals/ChimeAmpPedal.swift +++ b/Sources/LyrebirdShoeGaze/Pedals/ChimeAmpPedal.swift @@ -12,7 +12,7 @@ import LyrebirdUI /// /// A ``AmpVoicePedal`` fixed to the chime tone stack. The base of the Vox-voiced family — the /// AC-style variants (Chime 15 / Chime Normal / Chime Baby) subclass it and differ by gain, cab, -/// tone defaults, and power-amp breakup. +/// and tone defaults (and, for the smaller combos, an earlier power-amp breakup). open class ChimeAmpPedal: AmpVoicePedal { /// Cut amount in [0, 1]: `0` = fully open/bright, `1` = darkest. Maps to a low-pass cutoff @@ -33,11 +33,12 @@ open class ChimeAmpPedal: AmpVoicePedal { /// Creates a Chime amp. /// + /// The AC-style variants call the inherited `AmpVoicePedal.init(name:inputBus:outputBus:)` to set + /// their own name while inheriting the shared Cut voice. + /// /// - 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`. - /// The AC-style variants call the inherited `AmpVoicePedal.init(name:inputBus:outputBus:)` to set - /// their own name while inheriting the shared Cut voice. public convenience init(inputBus: Int = 0, outputBus: Int = 0) { self.init(name: "Chime", inputBus: inputBus, outputBus: outputBus) gain = 5.0 diff --git a/Tests/LyrebirdShoeGazeTests/ChimeVariantsTests.swift b/Tests/LyrebirdShoeGazeTests/ChimeVariantsTests.swift index 9a64ac8..da1d5b2 100644 --- a/Tests/LyrebirdShoeGazeTests/ChimeVariantsTests.swift +++ b/Tests/LyrebirdShoeGazeTests/ChimeVariantsTests.swift @@ -93,6 +93,7 @@ struct ChimeVariantsTests { let baby: [Float] = try render({ ChimeBabyAmpPedal() }, configure: cfg) #expect(windowedSSD(fifteen, normal) > 0, "Chime 15 and Normal should voice differently") #expect(windowedSSD(normal, baby) > 0, "Chime Normal and Baby should voice differently") + #expect(windowedSSD(fifteen, baby) > 0, "Chime 15 and Baby should voice differently") } @Test func stayWithinCeilingAtMaxGain() throws {