feat(script-phaser): one-knob four-stage phaser (orange script voicing)
Add ScriptPhaserPedal, modeled on the classic one-knob four-stage orange phaser. A single Speed knob sweeps a fixed four-stage all-pass cascade (Phaser.Audio with stages: 4), and a Voicing two-state switch picks Script (smoother, lower feedback) or Block (more resonant, higher feedback). The voicing maps to the feedback amount through a live linear expression — no rebuild, since feedback is a live Phaser parameter — and a short Lag glides the coefficient so a Script↔Block toggle doesn't step audibly. Distinct from the general-purpose Phaser (six stages, with rate and feedback knobs). Named to avoid the trademark (per the amp convention) and the bare "Phase <n>" the code-style rule bans. Wire into PedalType, the registry, and the modulation category; add to the README modulation catalog. 8 tests: voicing and speed each change the output by a magnitude (RMS difference), determinism (bit-identical, no RNG), a click-free bypass flip at the 512-sample block, knob/switch exposure, preset round-trip, registry presence. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -96,6 +96,7 @@ public extension PedalType {
|
||||
static let vibe = PedalType("Vibe")
|
||||
static let rotary = PedalType("Rotary")
|
||||
static let ringModulator = PedalType("Ring Modulator")
|
||||
static let scriptPhaser = PedalType("Script Phaser")
|
||||
static let diffuser = PedalType("Diffuser")
|
||||
static let bitcrusher = PedalType("Bitcrusher")
|
||||
static let granulator = PedalType("Granulator")
|
||||
|
||||
Reference in New Issue
Block a user