Files
josh 20b2034fed feat(poly-octave): EHX POG-style polyphonic octave pedal
Add PolyOctavePedal: a fixed-interval polyphonic octave generator. Four
PitchShift voices at exact power-of-two ratios — −2, −1, +1, +2 octaves,
each single-stage within PitchShift's [0.25, 4.0] clamp — stacked under a
dry voice, each with its own level. Because the ratios need no pitch
tracking, chords stack as cleanly as single notes.

A Tone low-pass shapes the shifted voices (dry stays clean). An Attack
knob adds the POG's volume swell via a "slow-gear" gain: the ratio of a
slow envelope follower to a fast one, clamped to [0, 1] and guarded
against divide-by-zero — unity (instant) at Attack 0, blooming in as it
rises, independent of playing level. The five voice levels sum without an
internal limiter (as with BassOctaver); the level knob and board master
set final gain.

Wire into PedalType, the registry, and the pitch category; add to the
README pitch catalog. 12 tests: per-voice pitch (±1/±2 oct + unison) by
autocorrelation, swell neutral-vs-bloom, seeded determinism, a click-free
bypass flip at the real 512-sample block, knob labels, preset round-trip,
registry presence.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-24 09:53:43 -08:00

27 lines
480 B
Plaintext

# macOS
.DS_Store
# Swift Package Manager
.build/
.swiftpm/
Package.pins
*.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/
# Xcode — user-specific state (never share)
xcuserdata/
*.xcuserstate
*.xcuserdatad/
# Build / derived
DerivedData/
*.o
*.swiftmodule
# Note: Package.resolved is intentionally tracked to pin the Lyrebird dependency.
icon-source.png
review.diff
# Local working plan (not shared)
docs/plans/amp-expansion-plan.md
docs/plans/pedal-expansion-plan.md