docs(amps): Phase 8 review nits — Magna bipolar sweep, Anaheim latency note

- MagnaVibrato depth doc: the LFO is bipolar (±maxSweepSeconds around base).
- Anaheim: note the LookAheadLimiter stays in-chain both states (only ceiling
  changes), so its ~5 ms look-ahead latency is constant, not toggled.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-03 15:40:15 -07:00
parent ac61b47d17
commit d32caf6262
2 changed files with 6 additions and 1 deletions
@@ -104,6 +104,10 @@ public final class AnaheimAmpPedal: AmpVoicePedal {
/// The built-in limiter, gated by the Limiter switch — placed *before* the power-amp stage (so
/// it limits the driven preamp/tone-stack signal, which can exceed the ceiling, rather than a
/// signal the power-amp `tanh` has already bounded). Off raises the ceiling so it never acts.
///
/// > Note: the `LookAheadLimiter` stays in the chain in both states (only its ceiling changes),
/// > so the amp carries its ~5 ms look-ahead latency whether or not the Limiter is engaged —
/// > a constant, not something the switch toggles.
public override func onboardEffects(_ signal: any ValidGeneratorInput) -> any ValidGeneratorInput {
let ceiling: LinLin.Audio = LinLin.Audio(
$limiter, inLo: 0.0, inHi: 1.0, outLo: limiterOffCeiling, outHi: limiterOnCeiling)
@@ -18,7 +18,8 @@ public final class MagnaVibratoAmpPedal: AmpVoicePedal {
/// Vibrato LFO rate in Hz. Range [0.5, 12].
@UIParam public var speed: Double = 5.0
/// Vibrato depth in [0, 1] → 0…`maxSweepSeconds` of delay-time sweep (pitch modulation).
/// Vibrato depth in [0, 1] → 0…±`maxSweepSeconds` of delay-time sweep around the base delay
/// (the LFO is bipolar, so the delay swings both above and below `baseDelaySeconds`).
@UIParam public var depth: Double = 0.3
/// Vibrato footswitch: `1` = engaged, `0` = bypassed (`Speed`/`Depth` preserved).
@UIParam public var vibratoEnabled: Double = 1.0