feat(amps): character amps — Command/Citrus/Sixties/Magna/Anaheim (Phase 8)

Five character voices:
- Command (Hiwatt) — BritishCombo variant: loud hi-fi clean, high headroom.
- Citrus (Orange) — .marshall, fixed mid bump + a single Shape tilt control.
- Sixties Combo (Supro) — .fender, gritty early breakup + onboard tremolo (shared
  tremolo helper + footswitch).
- Magna Vibrato (Magnatone) — .fender, TRUE pitch vibrato: a DelayLine whose delay
  is swept by an LFO (Speed/Depth + footswitch), not amplitude tremolo.
- Anaheim (Music Man hybrid) — .fender, symmetric-bias (solid-state-flavoured)
  preamp, huge headroom, Bright + Deep switches, and a built-in Limiter
  (LookAheadLimiter, ceiling 0.5 when engaged, before the power amp). True
  oversampled hard-clip SS shaper deferred to Lyrebird 1.7.x.

Registered across 6 sites as .amp. New CharacterAmpsTests suite (10 tests):
per-amp control/effect changes, Sixties tremolo bit-exact bypass, Magna vibrato
on≠off + fixed-delay-when-off, Anaheim switches + limiter engages hot, ceiling at
max for all five, tone-stack models, round-trip, registry.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-03 15:36:06 -07:00
parent 88ad976b8e
commit ac61b47d17
11 changed files with 552 additions and 2 deletions
@@ -0,0 +1,32 @@
// CommandAmpPedal.swift
// Lyrebird
//
// Copyright (c) 2026 Joshua Parmenter / realizedsound
// SPDX-License-Identifier: MIT
import LyrebirdSynth
import LyrebirdUI
/// British **hi-fi clean** — the Command/DR-style workhorse: very loud, very clean, high headroom,
/// with Presence and a Bright switch. Breaks up late and stays tight.
///
/// A ``BritishComboAmpPedal`` (non-master `.marshall` + Presence + Bright) voiced for maximum
/// headroom — a low default gain so it stays clean far up the dial.
public final class CommandAmpPedal: BritishComboAmpPedal {
public override var summaryText: String {
"British hi-fi clean — loud, tight, high-headroom, with Presence and a Bright switch."
}
/// Creates a Command 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: "Command", inputBus: inputBus, outputBus: outputBus)
gain = 4.0 // headroom-rich clean
treble = 0.55 // a touch of hi-fi top
cab = 1.0 // British 4×12
}
}