Commit Graph

17 Commits

Author SHA1 Message Date
josh 52c676605f feat(postboard): shared post-board chain after the board mix
Add a dedicated linear stereo post-board chain that processes the summed
board mix once, after the board split, before the hardware output — for
global reverb, a bus limiter, a final EQ, and the like.

Routing: when a post-chain exists, every BoardOutputMaster writes a shared
stereo mix bus (parameterized output bus indices) instead of hardware; the
post-chain (PostChain + PostChainOutput) reads that mix, runs its pedals in
order, and copies the tail to the hardware outputs. Always stereo-headed
(dual-mono for a mono rig) so mono pedals auto-stereoize per channel.

The chain's head node is inserted at .tail(of: mainGroup), so it evaluates
after every board master regardless of board add order — no re-order on
board add, and no board dropped from the mix. buildPostChain tracks the
chain before wiring it so a mid-build throw stays reclaimable by teardown.

State: additive ShoeGazeState.postChain (nil-when-empty, decodeIfPresent,
byte-identical old-rig round-trip). Edit API (append/insert/remove/move)
mirrors the pre-board chain: capture-from-live, stop/teardown/rebuild. Undo
treats a post-topology change as a full rebuild via id-sequence compare.
UI: a hide-when-empty post-board strip below the boards, symmetric to the
pre-board strip, with palette routing and per-pedal remove through undo.

Bumps the iOS demo's Lyrebird pin to 2.3.0 (onEditingEnded).

Tests: PostBoardChainTests (render, closed-volume silences output,
post-chain-after-every-master ordering, board-add ordering, insert/move/
remove, save/load round-trip with knob, old-rig decode) + post-pedal undo.
855 tests pass. Reviewed (RT-safety + line sweep); the ordering bug both
reviewers caught is fixed at the root and covered by a deterministic test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-26 00:22:39 -08:00
josh 0ddf350f1f Migrate to Lyrebird 2.0.0; app version bump
Lyrebird 2.0 moved `@UIParam` / `UIParamNode` out of `LyrebirdUI` into the
core `LyrebirdSynth` module (the `Lyrebird` product); `LyrebirdUI` no longer
re-exports them. Migrate:
- add `import LyrebirdSynth` to every file that uses `@UIParam`/`UIParamNode`
  (the pedal controls, tempo-syncable params, and the SwiftUI views).
- Package.swift: the `LyrebirdShoeGazeUI` target now also depends on the
  `Lyrebird` product (previously only `LyrebirdUI`), so `import LyrebirdSynth`
  resolves there under explicit module maps.
- Package.resolved (SwiftPM + both Xcode projects) pinned to Lyrebird 2.0.0.

Also: app marketing/project version bumps, Xcode upgrade-check, and a
CHANGELOG wording tweak carried in the same working tree.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-23 21:17:30 -07:00
josh f8926ecfb8 fix(mutant): double-width pedal so switch captions don't wrap — 3.1.1
The Mutant envelope filter's three segmented switches (Direction / Mode /
Range — seven segments total) were crammed into a single-width pedal, so the
"Down" caption wrapped to "Do wn". Mutant is now double-width, like the
Cabinet and amp pedals, giving the switch row room for its captions.

Bumps both apps to MARKETING_VERSION 3.1.1 and records the fix in
CHANGELOG.md / RELEASES.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-13 20:04:56 -07:00
josh 812a240e55 chore(release): prep 3.1.0 (RELEASES backfill, version + dep pin)
- RELEASES.md: backfill the 3.0.0 (amp modeling) and 3.1.0 (starter rigs)
  narrative entries so the release doc is current again.
- Bump the macOS app to MARKETING_VERSION 3.1.0 (build 19).
- Pin the iOS app's resolved Lyrebird to 1.7.2 (was 1.2.3).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-13 10:17:21 -07:00
josh 93ca9076d2 docs: 3.1.0 release notes, README refresh, Help + version bump
- CHANGELOG: add the 3.1.0 entry (starter rigs, Mine/Starters sidebar, Vibe
  and Sustain Fuzz pedals, Mutant Range/Sweep/Attack/Release, input-preserved
  rig switching, shimmer defaults, overwrite guard, router persistence).
- README: correct the pedal count (36 -> 67, incl. 26 amp models), add the
  Amp Model and Cabinet catalog rows and the new pedals, add a Starter Rigs
  feature, and bump the Lyrebird requirement to 1.7.0+.
- Help: add a "Starter Rigs" topic and note that switching rigs keeps the
  current input.
- Bump the iOS app MARKETING_VERSION to 3.1.0 to match macOS.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-13 09:58:34 -07:00
josh da68864f36 chore(release): prep 3.0.0 — amp-modeling suite (no tag yet)
Stamp the amp-modeling release as 3.0.0 (headline major on top of the last
released v2.1.3):

- MARKETING_VERSION -> 3.0.0 on both ShoeGazeBuilder (macOS, was a stray 2.1.6)
  and ShoeGazeBuilderiOS (was 2.0.0); bump build numbers.
- CHANGELOG: add the [3.0.0] entry rolling up the whole amp cycle (26 amps +
  onboard FX, analog output limiting, master volume, Sag/Bias/Bias X pop-over,
  cabinet mic modeling + placement + dual-mic, decoupled cab, 1–11 gain taper,
  palette Amp/Cabinet categories). Dated "Unreleased".

No git tag — the maintainer will tag v3.0.0 after play-testing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-04 11:23:26 -07:00
josh 09fa4e8d4b app icon and splash screen updates 2026-07-27 20:35:16 -07:00
josh 37777826d1 scheme updates 2026-07-17 14:32:51 -07:00
josh 7720fbec7b bump versions 2026-07-12 12:32:36 -07:00
josh e051521c04 Release 2.0.0: metronome, rig mute + shortcuts, set-list ordering, per-rig persistence
- Visual metronome tempo indicator (pendulum playhead) replacing the flashing LED
- Rig Mute (Cmd-Z) hard-silence, distinct from Bypass Rig; wired to header, board menu, MIDI
- Keyboard shortcuts: Cmd-1..9 board switch, Cmd-Shift-1..0 set-list rig load, Cmd-Z mute
  (macOS native menus + iOS/iPadOS hardware keyboards)
- Rig set-list ordering: drag or Move Up/Down in the picker; order saved and archive-portable
- Persist tempo, input selection, and engine I/O with a rig (I/O applied via opt-in
  applyChannelLayout, not forced on load)
- Fix archive import colliding set-list positions with existing rigs
- Remove ShoeGazeDemo / ShoeGazeiOSDemo apps and projects; keep the two Builder apps
- Bump marketing version to 2.0.0 on both Builder projects; pin Lyrebird 1.2.3
- Add CHANGELOG.md

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 12:30:45 -07:00
josh 4b0cf65a2b v1.5.0 release: Looper pedal, iPad/iOS layout rework, Lyrebird 1.2.3
- New multitrack Looper pedal (catalog now 36): smart Loop footswitch,
  4 tracks with per-track mute, undo/reverse/timeline, beat-quantized
  Sync/Free transport, MIDI-mappable transport + track taps + Sync,
  stomp-style Reset, RT-safe.
- iPad/iOS canvas-first compact layout with composition panels in sheets;
  header compaction; scrollable Add-Pedal sheet; compact-sheet fixes.
- Bump Lyrebird dependency to 1.2.3.
- Fixes: transport-only Start no longer reverts Settings; drop stale
  doc + dead looperTimeline property.
- Bump app MARKETING_VERSION to 1.5.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 23:00:28 -07:00
josh ec6c97c065 iOS fix for menu display 2026-06-28 21:01:42 -07:00
josh dc42db0c59 Add iCloud-synced rig library
Replace the single hand-saved rig file with a managed library of named
rigs persisted in app storage and synced across devices and both builder
apps via a shared iCloud container (iCloud.net.realizedsound.ShoeGazeData),
falling back to local storage when iCloud is unavailable.

Core (LyrebirdShoeGaze/Presets):
- RigEntry: named, timestamped ShoeGazeState (a whole multi-board rig).
- RigArchive: portable multi-rig JSON bundle for backup/transfer; legacy
  single-rig files import as a one-rig archive.
- RigLibraryStore (@MainActor @Observable): one JSON file per rig, with
  NSFileCoordinator writes and NSMetadataQuery live remote-change watching.
- RigLibraryLocation: iCloud-or-local directory resolver (skips the slow
  ubiquity lookup when no iCloud account is signed in).
- ShoeGaze.loadRig(from: ShoeGazeState) + captureEntry; shared filename
  sanitizer factored out of BoardVersionStore.

UI (LyrebirdShoeGazeUI):
- RigLibrarySidebarView: persistent left listing with new/save/save-as/
  duplicate/rename/delete/erase-all and archive import/export.
- RigNamePrompt; RigLibraryBootstrap one-call shell setup.
- ShoeGazeBuilderView: sidebar wired in; selecting a rig replaces the
  session; File menu / sidebar do whole-library archive import/export.

Shells/entitlements: both builder targets own+start the store and carry
the iCloud Documents entitlement; NSUbiquitousContainers exposes the rigs
in the Files app. (macOS pbxproj also carries a pre-existing 1.0->1.1.1
version bump.)

Tests: RigEntry/RigArchive round-trip + RigLibraryStore CRUD/import/export
(15 new; full suite 206 passing).

Provisioning (manual, not done here): enable the iCloud container on both
App IDs and select it in Signing & Capabilities for both targets.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 17:56:10 -07:00
josh c25d783b71 Lock iOS builder + demo to iPad-only landscape
The board bar and scope/CPU layout already flow to iOS via the shared
ShoeGazeBuilderView. Restrict both iOS apps to iPad (TARGETED_DEVICE_FAMILY=2),
landscape-only orientations, and UIRequiresFullScreen so the wide builder
layout always has the room it needs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 17:25:16 -07:00
josh 372494aae4 Add lyrebird app icon to all four ShoeGaze projects
Add an AppIcon asset catalog to ShoeGazeBuilder, ShoeGazeDemo,
ShoeGazeiOSDemo, and ShoeGazeBuilderiOS, wired via
ASSETCATALOG_COMPILER_APPICON_NAME. macOS apps use the full 16–512
@1x/@2x icon set with the framed rounded-tile artwork; iOS apps use a
single 1024 universal icon with the white frame flood-filled to a
full-bleed teal so it reads correctly under the iOS corner mask.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 09:59:42 -07:00
josh 9ebcbd4027 Set stable signing team on Demo, iOS Demo, and iOS Builder projects
ShoeGazeBuilder already carries the development team; the other three signed
ad-hoc (DEVELOPMENT_TEAM = ""), so every rebuild produced a new code hash and
TCC logged a fresh microphone permission row. Set DEVELOPMENT_TEAM =
HE5VJFE9E4 on all three so rebuilds reuse one signing identity and stop
stacking duplicate privacy entries.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 09:42:26 -07:00
josh 35971d4acc Add ShoeGaze Builder demo apps (macOS + iOS)
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>
2026-06-22 09:32:18 -07:00