13 Commits

Author SHA1 Message Date
josh 42ad32a4d0 chore: repoint Lyrebird dependency + origin at git.lyrebirdsynth.net
The public gitea host is now reached at git.lyrebirdsynth.net (a DNS CNAME to
realizedsound.mooo.com, the former hostname; both resolve to the same server).
Update the Lyrebird SwiftPM dependency URL in Package.swift, the Xcode project
package references, the resolved pins, and the README links. Re-resolved against
the new host (Lyrebird still pinned at 2.3.0, revision unchanged). Also carries
the demo app version bump to 3.4. Legacy mooo URLs still resolve, so non-breaking.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-28 15:25:37 -08:00
josh 1f5b70edc7 feat(undo): parameter undo for knobs, sliders, switches, selectors
Tier 2 of the rig-undo feature, on the same undo stack as the structural
(tier 1) edits. Records one undo checkpoint when the user finishes changing a
pedal control, so ⌘Z / the ↶ button step back through knob turns and switch
flips as well as add/remove/move.

- UndoEntry.parameter + PedalControlGroup (knob/advancedKnob/slider/switch/
  selector); UndoCoordinator.recordParameterEdit + .parameter handling in
  undo()/redo(). applyParameter re-resolves the LIVE node by (pedalID, group,
  controlLabel) via ShoeGaze.pedal(id:), so an undo lands on the right control
  even after an intervening structural rebuild replaced the pedal's node
  (pedal ids persist through rebuild). old == new records nothing.
- Knobs record via Lyrebird 2.3.0's ParameterKnob.onEditingEnded (one edit per
  drag): PedalView.recordingKnob (main / advanced / mix / level / looper) and
  TempoSyncKnobView.
- Self-contained views (VerticalParameterSlider, PedalSwitchView,
  PedalSelectorKnobView) record via a new \.pedalParameterEditRecorder
  environment closure PedalView installs, capturing pedal.id + the coordinator.
  Slider/selector snapshot node.value at drag start; switch records old→new on
  the committing tap.
- rebuildsOnChange switches/selectors are deliberately NOT recorded (they alter
  graph topology and would fight the structural restore's live-value merge) —
  documented as a known gap, along with tempo-sync division changes.
- Bump the Lyrebird pin to 2.3.0 (the released tag with onEditingEnded), drop
  the dev-time local path override.

Tests: 18 UndoCoordinator tests (knob/slider/switch/selector round-trips,
post-rebuild re-resolution, + a catalogue test asserting unique control labels
per group so the by-label resolution can't mis-target). Full suite 837 green;
both demo schemes build against 2.3.0. External review + caveman sweep: no
blocking findings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-25 14:23:00 -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 8a8cac3823 feat(amps): Lyrebird 1.7.2 — re-voice Cali/Boutique onto Mesa/Soldano stacks (Phase 9)
Bump the Lyrebird pin to 1.7.2 (brings the sample-rate-invariant TriodeStage
coupling fix — no more low-end thinning at 88.2/96 kHz — plus the new Mesa/Soldano
tone stacks and the GrayNoise clamp). Re-voice onto the accurate stacks:
- Cali Hi-Gain (Mesa Mark): .fender → .mesa.
- Boutique Lead (Soldano SLO): .marshall → .soldano.
Other amps unchanged (tweed = .fender = Bassman; Music Man Fender-derived).

Tone-stack-model test assertions + docs updated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-03 16:04:09 -07:00
josh 40fa590196 feat(pedals): Neural Amp pedal (S3) + PedalState resource path; Lyrebird 1.7.1
Bump Lyrebird to 1.7.1 (ProteusModelImporter) and add a neural amp-capture pedal.

- NeuralAmpPedal: loads a GuitarML Proteus/NeuralPi model (via ProteusModelImporter)
  and runs it with LSTMAmp on the gain-trimmed input; passes through clean when no
  model is loaded. Model files are user-supplied, not bundled (GuitarML = GPL-3.0).
- PedalState gains an optional `resourcePath` (backward-compatible, decodeIfPresent)
  and Pedal a matching `resourcePath` property, wired through captureState/applyState
  — so the loaded model file persists across rig save/load. The neural pedal reads it
  at build() (applied on rebuild). This foundation also unblocks a future
  custom-cabinet-IR path.
- Registered in PedalRegistry / PedalType / PedalCategory (.gain) / palette /
  enclosure color; Help acknowledges the GuitarML model format.

Tests: no-model passthrough; loaded model transforms output & differs from
passthrough; gain affects modeled output; resourcePath round-trips through
PedalState; gain knob exposed; registry resolves "Neural Amp". Full suite 501.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-01 20:48:44 -07:00
josh fe31eb6d7d feat(pedals): component Amp pedal (S2) on Lyrebird 1.7
Bump Lyrebird dependency to 1.7.0 and add a full white-box amp built on its new
amp-modeling core.

AmpPedal chain: preamp TriodeStage(drive: gain) → ToneStack(bass/mid/treble,
model) → gentle power-amp TriodeStage → speaker-cabinet ConvolutionReverb. The
tone-stack model (Fender/Marshall/Vox) and cabinet voice are each built per
option and picked live with Select, so both round-trip through the rig save
format. Fully wet (Level is master; Mix hidden).

Controls: Gain, Bass, Mid, Treble knobs + Amp / Cab selectors. Registered in
PedalRegistry / PedalType / PedalCategory (.gain) / palette / enclosure color;
Help acknowledgments cite the Yeh & Smith tone-stack model.

Tests: builds/non-silent/finite; gain, tone, amp-model, and cab all change the
output; controls exposed; amp/cab selections round-trip through PedalState;
registry resolves "Amp". Full suite 494.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-01 20:11:50 -07:00
josh e697789bd7 feat(pedals): limiter Release knob + compressor safety limiter; bump Lyrebird 1.6.4
Consume Lyrebird 1.6.4, which decouples LookAheadLimiter's release time from
its look-ahead window.

- LimiterPedal: add a Release knob (0.01–0.5 s) wired to the new
  LookAheadLimiter.releaseTime. A too-fast release modulated the gain within a
  low-frequency cycle and distorted sustained notes when driven hard.
- CompressorPedal: add an opt-in Safety switch (off by default) that inserts a
  brick-wall LookAheadLimiter after the compressor to catch transient overshoot
  that could clip the output. Built as both branches with Select picking live;
  engaging it adds the limiter's short look-ahead delay.

Tests cover the new knob/switch exposure, release-time effect, and that the
safety limiter caps peaks.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-31 18:22:43 -07:00
josh 09fa4e8d4b app icon and splash screen updates 2026-07-27 20:35:16 -07:00
josh a1a7683bc9 Bump Lyrebird dependency to 1.2.4
Picks up the bus-rate guard (Out/In/ReplaceOut constructors trap a cross-rate
bus), and raises the floor accordingly. 465 tests pass against 1.2.4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 17:19:03 -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 947dfe427a Add looper pedal: beat-quantized transport, undo, reverse, timeline
Extend the looper into a double-width tempo-aware pedal:

- Beat-quantized transport: record start and loop close both snap to the
  next beat via a LyrebirdRoutine waiting on the shared clock; loop length
  is an exact whole-beat span. Falls back to immediate/unquantized when no
  clock is present.
- Loop-length read-outs (frames/seconds/beats), transport state, and a
  sample-clock-derived play-head position for the UI timeline.
- Overdub undo (pre-dub snapshot + restore), reverse playback (live rate
  flip), and feedback-decay overdub (overdub preLevel via a Feedback knob).
- Inject the shared LyrebirdClock + SynthesisEngine into Pedal via
  PedalBoard/ChainRouter so tempo-aware pedals can reach them.
- New double-width LooperTimelineView (state badge, length read-out,
  sweeping play-head) wired into PedalView via Pedal.widthUnits.

Concurrency hardening from RT-safety review: a transportGeneration counter
drops superseded deferred beat/undo callbacks that LyrebirdRoutine.stop()
cannot recall once enqueued; the undo restore is deferred past the RT
overdub gate-close; transport routines use non-blocking stop().

Note: this commit also snapshots pre-existing uncommitted work-in-progress
already in the tree (MIDI control refactor, Tuner, Tempo, preset changes),
which is interleaved with the looper changes through shared files and could
not be split into a separately-building commit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 09:22:20 -07:00
josh 6f55615d7b 1.0 release 2026-06-21 12:25:18 -07:00