Add a pre-board stage: one linear pedal chain that processes the input once, before the board split, and feeds every board — for front-of-chain gates / drive / EQ, and multi-board "voice spray" rigs (one source → N panned boards → Blend). Routing: a stable mono feed bus every board taps. `FeedPassThrough` copies the input source — or, when a pre-chain exists, that chain's mono output — onto the feed bus (`ensureFeed`/`buildFeed`/`tearDownFeed`). The pre-chain is modeled as an unfinalized `PedalBoard` fed from the source; a stereo tail folds to mono (board heads are mono). Empty pre-chain = passthrough, byte-for-byte behavior-preserving. addBoard taps the feed bus; teardown releases it remove-before-release. State: additive `ShoeGazeState.preChain` (`decodeIfPresent` → nil for old rigs, no format bump; `hasSameRigContent` includes it). `captureState` reads the LIVE pre-pedals so knob tweaks are saved; `rebuildAllBoards` sets the pre-chain before building boards. Edit API: appendPrePedal / insertPrePedal / removePrePedal / movePrePedal — each folds in live knob values, then a full ordering-safe rig rebuild (`setPreBoardChain`, mirrors setInputSource; rolls back on failure). Undo: a pre-chain topology change (compared by id sequence, so knob-only edits stay on the surgical path) rebuilds from the snapshot, stopping/starting the engine. `allPedals()` now includes the pre-chain so pre-pedal knob undo resolves. UI: an inline pre-board strip above the boards — hidden to a "+ Pre" button when empty; otherwise the pre-pedals (keyed by stable id) with a per-pedal remove and a "feeds all boards" divider. Palette adds route to the pre-board via a flag (reset on any dismissal). Add / remove go through the undo wrapper. Known scope: a pre-board edit resets transient/looper state (full rebuild, like input-switch — setup-time); chain-router branches read the input directly and are not fed by the pre-board. Both documented. Tests: PreBoardChainTests (feeds boards, closed pre-Volume silences every board, remove restores direct feed, save/load incl. a knob tweak, prior pre-pedal's knob survives adding another, old-rig decode) + a pre-board undo test. Full suite 844 green; both demos build. External review + caveman sweep: one blocking (live knob sync) fixed + regression-tested, all non-blocking addressed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ShoeGaze
A virtual guitar-pedalboard framework for macOS and iPadOS, built on Lyrebird.
ShoeGaze turns Lyrebird's real-time synthesis engine into a stompbox rig: chain modeled guitar pedals into one or more signal-flow boards, tweak them live with knobs and switches, mix or switch between boards, and save the whole rig to disk. Run it on a synthesized test signal (no hardware needed) or on live guitar through an audio input.
Features
- 67 modeled pedals — effects across gain, dynamics, EQ/filter, modulation, pitch, delay, reverb, and texture, plus 26 tube-amp models with their own tone stacks and a deep speaker-cabinet / microphone section. All original DSP built on the Lyrebird engine — no third-party captures or IR packs. See the catalog below.
- Starter rigs — a library of ready-to-play rigs ships with the app, grouped by style (Shoegaze Walls, Dreampop, Classic, Ambient, Experimental) and reachable from a Mine / Starters toggle in the rig sidebar.
- Multi-board rigs — build several boards and a board-mixer bar to Solo one (amp-channel style) or Blend any subset, each with its own level and a click-free crossfade, plus a rig-wide output volume and mute on top.
- MIDI foot-controller support — map footswitches (Program Change) to bypass/mute/solo toggles, and expression pedals (Control Change) to any knob, board level, or the rig-wide volume, with per-binding invert for crossfades. MIDI Learn, one binding per rig.
- Signal-flow editor — drag pedals in from the palette; reorder, split into parallel or stereo lanes, and merge back to mono.
- Rig library — name, save, duplicate, and switch between rigs from a sidebar (your own rigs and the shipped starters on separate tabs); synced across your devices and both apps via iCloud. Switching rigs keeps your current input, and saving over a starter rig asks first.
- Sharing — send a rig or a saved board to anyone as a
.shoegazefile via the system share sheet (AirDrop, Mail, Messages, Files); export/import the whole library the same way. - Recording — capture your output to timestamped files.
- Test signal or live input — a built-in arpeggiated test loop (shared across all boards so they stay phase-locked) or a hardware input channel.
- In-app Help — setup, rigs/boards, saving, iCloud, and MIDI control, from the macOS Help menu or an iOS help button.
- SwiftUI views — a complete stompbox UI (
LyrebirdShoeGazeUI) or just the headless framework (LyrebirdShoeGaze) to drive your own interface.
Pedal catalog
| Category | Pedals |
|---|---|
| Gain | Overdrive, Distortion, Fuzz, Sustain Fuzz |
| Dynamics | Compressor, Sustainer, Limiter, Noise Gate, Volume |
| EQ & filter | Graphic EQ, Auto-Wah, Wah, Mutant |
| Modulation | Tremolo, Phaser, Script Phaser, Modulation, Chorus, Flanger, Vibrato, Vibe, Rotary, Ring Modulator |
| Pitch | Bass Octaver, Octave Splitter, Harmonizer, Whammy, Poly Octave |
| Delay | Delay, Feedback Delay, Multi-Tap Delay, Ping-Pong, Reverse Delay, DL4 |
| Reverb | Reverb, Shimmer Reverb, Plate Reverb, Room Reverb, Spring Reverb, Reverse Reverb, Granular Reverb, FreezVerb, TunedVerb |
| Texture | Diffuser, Bitcrusher, Granulator, Auto Granulator, Karplus Resonator, Looper, Tape Looper |
| Amp Model | Fullerton Reverb / Deluxe / Ivy League / Drive, California, Jazz Clean, British / Plexi / JTM / Bluesbreaker / Master / Dual, Chime / Chime Top Boost / 15 / Normal / Baby, Boutique Lead / OD, Cali Hi-Gain, Modern High-Gain, Command, Citrus, Sixties Combo, Magna Vibrato, Anaheim |
| Cabinet | Cabinet (speaker-voice + microphone modeling) |
Every pedal exposes its parameters as knobs/switches and round-trips through the rig save format.
Requirements
- macOS 15+ / iPadOS 18+ (iPad, landscape)
- Swift 6.0 toolchain / Xcode 16+
- Lyrebird 1.7.0+
Packages
Two library products:
LyrebirdShoeGaze— the core pedal/board framework (no SwiftUI).LyrebirdShoeGazeUI— SwiftUI pedalboard views (knobs, switches, faders, board mixer).
Add the dependency in your Package.swift:
.package(url: "https://realizedsound.mooo.com/josh/ShoeGaze", from: "1.0.0"),
Getting started
Build a board and start the engine (macOS):
import Lyrebird
import LyrebirdShoeGaze
let driver = CoreAudioDriver()
let engine = SynthesisEngine(
blockSize: 512, sampleRate: 48_000,
numOutputChannels: 2, numInputChannels: 1,
numAudioBuses: 256, driver: driver
)
let shoeGaze = ShoeGaze(engine: engine) // defaults to the test-loop signal
let board = try shoeGaze.addBoard()
try shoeGaze.appendPedal(.overdrive, to: board)
try shoeGaze.appendPedal(.delay, to: board)
try shoeGaze.finalizeBoard(board)
try engine.start()
Drop in the full builder UI:
import SwiftUI
import LyrebirdShoeGazeUI
struct ContentView: View {
let shoeGaze: ShoeGaze
var body: some View {
ShoeGazeBuilderView(shoeGaze: shoeGaze)
}
}
Apps
Open ShoeGaze.xcworkspace in Xcode and run a scheme from Demo/:
- ShoeGazeBuilder (macOS) / ShoeGazeBuilderiOS (iPad) — the full palette + board builder.
Screenshots
| macOS builder | Board mixer |
|---|---|
![]() |
![]() |
Built on Lyrebird
ShoeGaze is a sample project for Lyrebird, a
native Swift audio-synthesis framework. Pedals are Lyrebird Synthesizer graphs of Generator
nodes; the board/engine plumbing handles real-time-safe signal routing and scheduling.
License
MIT — see LICENSE.

