8a08264fb4
Make FullertonReverbAmpPedal open with a name-taking designated init, then derive two lower-headroom blackface combos that inherit its reverb + tremolo + bright control surface and differ only in voicing: - Fullerton Deluxe — 1×12, power-amp drive 2.2 (earlier breakup than the Twin's 1.5), americanCombo cab, slightly less bass. - Fullerton Princeton — 1×10, drive 2.6 (breaks up earliest), Vintage Dark cab, least bass, a shade darker. Both override powerAmpDriveInput (headroom via power-amp saturation) and powerAmpOversample → 4 for the harder drive. Registered across all 6 sites as .amp. 7 tests (variants differ from Twin + each other, inherited reverb/bright, ceiling at max gain, inherited control surface + oversample 4, round-trip, registry). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
42 lines
1.7 KiB
Swift
42 lines
1.7 KiB
Swift
// FullertonPrincetonAmpPedal.swift
|
||
// Lyrebird
|
||
//
|
||
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
||
// SPDX-License-Identifier: MIT
|
||
|
||
import LyrebirdSynth
|
||
import LyrebirdUI
|
||
|
||
/// American blackface **1×10 combo** — the smallest, darkest blackface voice, below
|
||
/// ``FullertonDeluxeAmpPedal``.
|
||
///
|
||
/// Same reverb + tremolo + Bright control surface, but voiced smaller: a darker cabinet, less low
|
||
/// end, and the earliest, most compressed breakup of the three — the classic small-studio recording
|
||
/// combo.
|
||
public final class FullertonPrincetonAmpPedal: FullertonReverbAmpPedal {
|
||
|
||
/// Power-amp drive — the highest of the blackface trio, so it breaks up earliest.
|
||
private let princetonPowerDrive: Double = 2.6
|
||
|
||
public override var summaryText: String {
|
||
"American 1×10 combo — small, dark, early-breakup blackface with reverb, tremolo, and Bright."
|
||
}
|
||
|
||
/// Driven hardest of the blackface trio, so 4× oversampling for anti-alias headroom.
|
||
public override var powerAmpOversample: Int { 4 }
|
||
public override var powerAmpDriveInput: any ValidGeneratorInput { princetonPowerDrive }
|
||
|
||
/// Creates a Fullerton Princeton 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: "Fullerton Princeton", inputBus: inputBus, outputBus: outputBus)
|
||
gain = 5.0 // hotter still — the small combo grits up soonest
|
||
bass = 0.4 // least low end of the trio
|
||
treble = 0.55 // a shade darker
|
||
cab = 2.0 // Vintage Dark — the small, dark 1×10 voice
|
||
}
|
||
}
|