josh 5090a9255f Looper reverse fix + header layout compaction + tempo toggle
Looper:
- Reverse now continues from the current play-head instead of jumping to
  duration-minus-position; anchor-based position tracking survives direction
  changes. Sync mode defers the flip to the next beat; Free applies immediately.
- Sync switch relabeled "Sync to Tempo".

Tempo/Tuner:
- Add a Tempo on/off toggle (ShoeGaze.setTempoEnabled) that hides the indicator
  and forces every tempo-dependent pedal switch (PedalSwitch.tempoDependent) off;
  PedalSwitchView disables such switches via the shoeGazeTempoEnabled environment.
- Tuner readout laid out inline; Tempo/Tuner pinned to fixed heights so toggling
  state no longer shifts surrounding layout.

Header:
- Collapsed to two rows: title + Tempo/Tuner (left, stacked) and engine options
  over input controls (right, trailing-aligned). TAP is a standard-height button.
- Removed the redundant Boards button; moved Clear into the board bar.
- Fixed the rig mute glyph size so toggling mute doesn't shift the volume row.

Help: added a Looper section documenting transport, Free/Sync, knobs, tracks,
and MIDI-assignable actions.

Tests: TempoEnableTests + looper reverse/deferral coverage.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 12:31:11 -07:00
2026-06-28 20:39:51 -07:00
2026-06-21 18:04:09 +00:00

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.

ShoeGaze Builder

Features

  • 35 modeled pedals across gain, dynamics, EQ/filter, modulation, pitch, delay, reverb, and texture — see the catalog below.
  • 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; synced across your devices and both apps via iCloud.
  • Sharing — send a rig or a saved board to anyone as a .shoegaze file 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
Dynamics Compressor, Sustainer, Limiter, Noise Gate
EQ & filter Graphic EQ, Auto-Wah, Mutant
Modulation Tremolo, Phaser, Modulation, Chorus, Flanger, Vibrato, Rotary, Ring Modulator
Pitch Bass Octaver, Octave Splitter, Harmonizer
Delay Delay, Feedback Delay, Multi-Tap Delay, Ping-Pong, Reverse Delay
Reverb Reverb, Shimmer Reverb, Plate Reverb, Room Reverb, Spring Reverb
Texture Diffuser, Bitcrusher, Granulator, Auto Granulator

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.2.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)
    }
}

Demo apps

Open ShoeGaze.xcworkspace in Xcode and run a scheme from Demo/:

  • ShoeGazeBuilder (macOS) / ShoeGazeBuilderiOS (iPad) — the full palette + board builder.
  • ShoeGazeDemo / ShoeGazeiOSDemo — a minimal player view.

Screenshots

macOS builder Board mixer
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.

S
Description
A package depenedent on Lyrebird for creating and storing virtual Guitar Pedal Boards
Readme MIT 13 MiB
2026-11-26 15:06:32 -08:00
Languages
Swift 100%