- Info.plists: "Realized Sound" -> "realizedsound" in the copyright string
(all four demo apps).
- macOS: Save/Load now live in a File menu (Save Rig… ⌘S, Load Rig… ⌘O)
and a Board menu (Add Board ⌘B, Start ⌘R, Stop ⌘.) in the app shell's
AppDelegate; the in-view Save…/Load… buttons and their NSPanel code are
now iOS-only (#if !os(macOS)), with iOS keeping fileExporter/Importer.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Two thin app shells hosting ShoeGazeBuilderView:
- macOS (AppKit): seeds one board with an Overdrive; anchors the window
~100px from the left of the visible screen and sizes it to most of the
screen height via LyrebirdWindow.nsWindow.
- iOS (SwiftUI): NavigationStack hosting the builder; AVAudioSession +
iOSAudioDriver; logs session-activation failures.
Both .xcodeproj reference the local package (..) + the remote Lyrebird
package, with fresh hex object-id prefixes; added to ShoeGaze.xcworkspace.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Interactive builder views in LyrebirdShoeGazeUI:
- PedalPaletteView: vertical sidebar listing every pedal (tap to append
to the main chain, drag "add:<type>" onto a lane) plus routing actions
(Stereo Split / Parallel Split / Merge to Mono).
- BoardFlowView: left-to-right signal-flow board driven by
board.orderedSegments. Pedal cards joined by pink connector lines
(double for stereo width); split regions render as two stacked L/R
(A/B) lanes you fill independently by dropping pedals; per-card trash,
drag-to-reorder within a lane, region route/mode controls, and a
region trash. Reads shoeGaze.boards[index] fresh each body (index is
the stable anchor across rebuilds).
- ShoeGazeBuilderView: sidebar + vertically-centered flow board, with
transport, input picker, board picker, and JSON save/load (NSSavePanel
/ NSOpenPanel on macOS, fileExporter/Importer on iOS via
RigFileDocument).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Core support for interactively building and editing a board, all via the
existing capture-BoardState -> mutate -> rebuildBoard path (no RT-graph
surgery):
- PedalLane addresses the main chain or a stereo/parallel branch.
- appendPedal/removePedal/movePedal gain a `lane:` parameter (default
.main, so existing call sites are unchanged).
- appendStereoSplit/appendParallelSplit/appendMergeToMono/removeSegment
insert and remove branch regions; split/merge guarded by tail width.
- setInputSource preserves the rig across an input-source change.
- rebuildAllBoards / loadRig(from:Data) / rigData added; loadRig is now
atomic (teardown-on-failure) so a failed load leaves an empty rig.
- Expose PedalBoard.orderedSegments and BoardSegment publicly so a UI can
walk live board structure; index aligns with captureState().segments.
- InputSource: Equatable. New errors: unknownPedalType,
pedalIndexOutOfRange, cannotSplitStereoChain, cannotMergeMonoChain,
notABranchRegion.
Tests cover append/remove/move on main and branch lanes, region
add/remove, width guards, move-to-end before trailing regions, input
switch, and knob/bypass/branch value persistence through save/load.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Monophonic octave-down pedal with OCT1/OCT2/Direct knobs and a Mode
switch between two algorithms:
- Flip-flop (default): a hysteresis comparator clocks a T flip-flop
divider chain (new SubOctaveDivider generator) to produce square
sub-octaves one and two octaves down, amplitude-followed off the dry
signal. Time-domain — tracks low bass with no detection floor.
- Tracking: FreqTracker drives square oscillators at half and quarter
the detected frequency. Cleaner, but limited by the tracker's ~90 Hz
floor; flip-flop is the bass mode.
SubOctaveDivider classifies its input as generator-or-scalar at init to
keep _computeSamples allocation-free, uses a shared file-scope zero
block, bounds-checks the input read, and traps on divisor < 2.
Tests: BassOctaverPedal integration (both modes non-silent, modes
differ, sub-octaves change output, knobs/switch/preset/registry) and
SubOctaveDivider deterministic frequency-division (divisor 2 -> /2,
divisor 4 -> /4, /4 one octave below /2). 127 tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
New DemoMode.stereo: Overdrive → splitStereo(Delay | Ping-Pong) →
collectStereo, finalized to stereo output. DemoRootView renders the
pre-split board + StereoWidthBadge above StereoSplitSectionView, so the
four StereoRoute modes are selectable live. No new files / no .pbxproj
change — the demo already links LyrebirdShoeGazeUI. BUILD SUCCEEDED.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add Octave Splitter and Ping-Pong to PedalRegistry so rigs containing
them reconstruct on loadRig — board.add replays the mono→stereo width
transition automatically. Document that split-section topology (parallel
and stereo) remains outside the captured linear chain, as before.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Mu-Tron plum, Auto-Wah gold, Feedback Delay tape sepia, Multi-Tap Delay
cyan — distinct from the existing eight so they no longer fall through to
the default steel gray.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Move the Mix knob out of the knob grid into the bottom control row, to the
right of the bypass footswitch, mirroring Level on the left. Every pedal
now shares a consistent knob-switch-knob footer. The knob grid drops the
trailing Mix and Level entries (was just Level).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Ignores .build/, .swiftpm/, xcuserdata, and .DS_Store. Package.resolved
stays tracked to pin the Lyrebird dependency.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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>
Two envelope filters and two delays, registered in PedalRegistry and
showcased on demo Board 3.
- Mu-Tron: wraps the MuTronIII generator; three parallel LP/BP/HP
instances switched live by a Select on the mode knob so filter state
stays warmed across mode changes. Knobs: Mode, Sensitivity, Resonance.
- Auto-Wah: explicit amplitude-tracking chain — AmplitudeFollower scaled
by sensitivity, clamped, mapped through LinExp to a swept SVF bandpass.
Knobs: Sensitivity, Resonance, Range.
- Feedback Delay: DelayLineFeedback (cubic) into an RBJ lowpass for a
darker, tape-style multi-repeat echo. Knobs: Time, Feedback, Tone.
- Multi-Tap Delay: three non-feedback DelayLine taps summed, per-tap
volume folded into each tap's mul. Six knobs in two rows of three.
Bumps the Lyrebird dependency to 1.2.0 for the MuTronIII/SVF generators.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>