Files
ShoeGaze/Sources/LyrebirdShoeGazeUI/ShoeGazeUI.swift
T
josh d41ba37093 Add signal-flow pedalboard builder UI
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>
2026-06-22 09:32:09 -07:00

17 lines
904 B
Swift

// ShoeGazeUI.swift
// Lyrebird
//
// Copyright (c) 2026 Joshua Parmenter / realizedsound
// SPDX-License-Identifier: MIT
// LyrebirdShoeGazeUI views are implemented in:
// PedalView.swift — single pedal card
// PedalBoardView.swift — horizontal board strip
// ShoeGazeView.swift — top-level session view with transport
// FlowLayout.swift — wrap-to-fit Layout (left-to-right, row-wrapping)
// BoardEditorView.swift — per-board editor with FlowLayout pedal area + version store
// PedalPaletteView.swift — vertical palette: all pedals (tap/drag) + routing actions
// BoardFlowView.swift — left→right signal-flow board: cards, connectors, stereo/parallel lanes
// ShoeGazeBuilderView.swift — top-level builder: sidebar palette + flow board + transport + save/load
// RigFileDocument.swift — JSON FileDocument for the iOS save (.fileExporter)