fix(amps): Phase 1 review nits — docs, redundant init, test style
- AmpVoicePedal: powerAmpDriveInput / powerAmpOversample docs now cover the lower-headroom-variant case (fixed higher drive), not just master-volume amps. - FullertonReverbAmpPedal: drop the redundant override init(name:) — the class inherits AmpVoicePedal's designated init, so the convenience init and the subclasses' super.init(name:) resolve without it. - FullertonDeluxe doc: correct "2×12 Twin"/"Master drives" wording (both share the American cab; the difference is a higher fixed power-amp drive). - Tests: explicit for-loop binding type annotations; accurate diff comment. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -7,21 +7,22 @@
|
||||
import LyrebirdSynth
|
||||
import LyrebirdUI
|
||||
|
||||
/// American blackface **1×12 combo** — the lower-powered sibling of ``FullertonReverbAmpPedal``.
|
||||
/// American blackface **lower-headroom combo** — the smaller-powered sibling of
|
||||
/// ``FullertonReverbAmpPedal``.
|
||||
///
|
||||
/// Same reverb + tremolo + Bright control surface, but with less clean headroom: the power-amp
|
||||
/// stage is driven harder so it breaks up earlier and grittier than the big 2×12 Twin voice. The
|
||||
/// go-to blackface combo tone.
|
||||
/// Same reverb + tremolo + Bright control surface and American cab, but with less clean headroom:
|
||||
/// the power-amp stage runs a higher fixed drive than the Twin, so it breaks up earlier and grittier.
|
||||
/// The go-to blackface combo tone.
|
||||
public final class FullertonDeluxeAmpPedal: FullertonReverbAmpPedal {
|
||||
|
||||
/// Power-amp drive — higher than the Twin's fixed `1.5` so it saturates earlier (less headroom).
|
||||
private let deluxePowerDrive: Double = 2.2
|
||||
|
||||
public override var summaryText: String {
|
||||
"American 1×12 combo — earlier-breakup blackface tone with reverb, tremolo, and Bright."
|
||||
"American combo — earlier-breakup blackface tone with reverb, tremolo, and Bright."
|
||||
}
|
||||
|
||||
/// Master drives the power amp harder than the Twin, so 4× oversampling for anti-alias headroom.
|
||||
/// Fixed power-amp drive is higher than the Twin's, so 4× oversampling for anti-alias headroom.
|
||||
public override var powerAmpOversample: Int { 4 }
|
||||
public override var powerAmpDriveInput: any ValidGeneratorInput { deluxePowerDrive }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user