Add Reverse Delay pedal and ReverseDelay generator
New RT-safe ReverseDelay generator (ShoeGaze): double-buffered segmented recorder that plays each segment back reversed, ping-ponging record/play buffers at each boundary with a linear edge-fade to de-click the wrap and optional feedback for layered reverse trails. Buffers pre-allocated for maxDelay; delay/feedback read at control rate; segment length changes only at a boundary. ReverseDelayPedal wraps it (Time/Feedback), registered with enclosure color + palette slot. Tests: build/non-silent, feedback-changes-output, knobs, preset round-trip, registry. Suite 237. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -160,6 +160,26 @@ Per `CLAUDE.md` "Adding a new pedal":
|
||||
switches/sliders.
|
||||
8. Use `PedalType` static members at call sites.
|
||||
|
||||
## Shimmer scope (true regenerative) — findings
|
||||
|
||||
Investigated the regenerative path. The per-pedal graph is acyclic; the only feedback mechanisms in
|
||||
Lyrebird are (a) generators that close their own loop internally (`DelayLineFeedback`, the reverbs)
|
||||
and (b) cross-block bus read/write. Pedals use inherited `input(bus:)` / `output(bus:)` In/Out
|
||||
nodes, but **no pedal allocates an internal scratch/feedback bus** — there's no precedent or
|
||||
lifecycle hook for that. A bus-feedback shimmer would mean new pedal infrastructure (allocate +
|
||||
release an internal feedback bus, ordered Out→In with a one-block delay) — fragile and off-pattern.
|
||||
|
||||
**Conclusion:** true regenerative shimmer is best built as a **new closed-loop generator**
|
||||
(`ShimmerReverb`) that holds a reverb + an in-loop pitch-shift + damped feedback internally, the same
|
||||
way `DelayLineFeedback` contains its own feedback. That's a substantial RT-safe DSP generator
|
||||
(pre-allocated buffers, denormal guards, feedback clamp for stability, granular/FFT pitch latency in
|
||||
the loop) — larger than Reverse Delay or Bitcrush, and needing its own stability tuning + RT review.
|
||||
|
||||
**Recommendation:** build Reverse Delay and Bitcrusher first (self-contained), then take
|
||||
`ShimmerReverb` as its own focused task. If it proves too large for the 1.2 window, ship the
|
||||
parallel-pitch-into-reverb approximation for 1.2 and schedule the regenerative generator for 1.3.
|
||||
**Decision pending:** regenerative `ShimmerReverb` now, or parallel approximation for 1.2 + defer.
|
||||
|
||||
## Decisions (resolved)
|
||||
|
||||
- **Harmonizer picker:** new `PedalSelectorKnob` (stepped knob) with the ±3rd interval set above.
|
||||
|
||||
Reference in New Issue
Block a user