feat(amps): master-volume Marshalls — British Master / Dual (Phase 5)
Add a shared AmpVoicePedal.masterDrive(_:minDrive:maxDrive:) helper (Master knob [0,1] → power-amp drive range) and route British's powerAmpDriveInput through it. Two new BritishComboAmpPedal subclasses (Presence + Bright inherited): - British Master — 800-series single-channel lead: preampStage cascades a second gain stage (both driven by Gain) + Master + 4× power-amp oversample. - British Dual — 900/DSL: rebuildsOnChange Clean/Lead Channel switch (Lead cascades a stage set by Drive), Master, spring reverb; widthUnits 4. Registered across 6 sites as .amp. 11 tests (Master drives power amp via RMS-normalized SSD, cascaded-vs-Plexi, channel switch + rebuildsOnChange, drive/ reverb, ceiling on lead channel at max, control surfaces, round-trips, registry). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -43,7 +43,7 @@ public final class BritishAmpPedal: AmpVoicePedal {
|
||||
|
||||
/// Master drives the power-amp stage: `[0, 1]` → `[masterMinDrive, masterMaxDrive]`.
|
||||
public override var powerAmpDriveInput: any ValidGeneratorInput {
|
||||
LinLin.Audio($master, inLo: 0.0, inHi: 1.0, outLo: masterMinDrive, outHi: masterMaxDrive)
|
||||
masterDrive($master, minDrive: masterMinDrive, maxDrive: masterMaxDrive)
|
||||
}
|
||||
|
||||
/// 4× oversampling on the power-amp stage — Master can drive it well past the fixed value used
|
||||
|
||||
Reference in New Issue
Block a user