docs+test(cabinet): accurate signal-path diagram + honest placement tests
Review follow-ups (no blockers): - Update the CabinetPedal class doc signal-path diagram to show the full chain (mic baked into the IR -> Position/Proximity shelves -> look-ahead limiter), which had drifted to the original convolution-only form. - Reword the placement "neutral defaults" test: it is a default-consistency / determinism guard (explicit defaults == default render), not proof of 0 dB shelf identity (both sides run the same shelves) -- that identity is the RBJ property the reviewer verified. Add loud render-length assertions so a short render fails instead of silently passing the guard. 664 tests pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,10 @@ import LyrebirdUI
|
||||
///
|
||||
/// Signal path (inside `effect(_:)`):
|
||||
/// ```
|
||||
/// dry → ConvolutionReverb(ir: selectedVoice) → mono out
|
||||
/// dry → ConvolutionReverb(ir: cab voice + mic voice) (one IR — mic colour baked in)
|
||||
/// → RBJHighShelf (Position) → RBJLowShelf (Proximity) (live mic-placement shelves)
|
||||
/// → LookAheadLimiter(±1) (transparent peak safety)
|
||||
/// → mono out
|
||||
/// ```
|
||||
///
|
||||
/// The wet/dry mix and bypass are handled by the `Pedal` base class.
|
||||
@@ -32,6 +35,9 @@ import LyrebirdUI
|
||||
/// Inherits `mix`, `bypass`, and `level` from `Pedal`, plus:
|
||||
///
|
||||
/// - `cabinet`: Selects the built-in cabinet voicing (stepped selector over ``CabinetVoice``).
|
||||
/// - `mic`: Selects the microphone voicing baked into the IR (stepped selector over ``MicVoice``).
|
||||
/// - `position` / `proximity`: Live mic-placement shelves in the advanced pop-over (on-axis ↔ edge,
|
||||
/// distant ↔ close).
|
||||
public final class CabinetPedal: Pedal {
|
||||
|
||||
/// One-line description shown in the picker and info panel.
|
||||
|
||||
Reference in New Issue
Block a user