Files
ShoeGaze/Sources/LyrebirdShoeGazeUI
josh cb28ea8c7d Add segmented pedal switch control; Mu-Tron sweep + mode switches
Introduces a discrete multi-position switch control alongside the rotary
knobs, and uses it to expose the Mu-Tron's sweep direction and filter mode.

- PedalSwitch: UI-agnostic descriptor (label, node, ordered options of
  caption + value), parallel to PedalKnob. Two options make a two-state
  switch, three a three-state switch.
- PedalSwitchView: segmented SwiftUI control bound to a UIParamNode. Lit
  segment is the option nearest the node's value; tapping writes that
  option's value. Serves both two- and three-state switches.
- Pedal gains an effectSwitches hook; PedalView renders a switch row
  between the knob grid and the footswitch.
- MuTronPedal: sweep direction is now a two-state switch (Down/Up) and
  filter mode a three-state switch (LP/BP/HP). The effect builds six
  MuTronIII instances (three modes x two directions) selected by a nested
  Select so every filter state stays warmed for click-free switching.
- Presets: PedalState gains a backward-compatible switchValues array
  (decodes to empty for older presets); captureState/applyState persist
  and restore switch positions.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 15:40:26 -07:00
..
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00