You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Kit tracer: OSC codec, Coordinator, mapping JSON, Play in → Play LED #13
The Swift package that holds all bridge logic exists and proves the full path with one control, entirely under swift test. A Play press reaching the Coordinator sends Syndicate PlayPause, and Playing feedback lights the Play LED. The OSC codec and the default mapping are real, not stubs.
Acceptance criteria
The package has a Core module, with no CoreMIDI, Network or UI imports, and builds and tests from the terminal with swift test.
The OSC codec encodes int32, float32 and string arguments. Its byte tests use literals worked out by hand from OSC 1.0. It decodes messages and bundles, skips unknown type tags, and matches addresses without regard to case.
Multi-argument routes (HotCue n 1/0, SetCueLoop n) encode correctly.
The default mapping is ported value for value from the Python default mapping into bundled JSON. It decodes into a Codable model. A user override merges over it the same way the Python config merge does.
The Coordinator takes a fake MIDI system, an OSC sender, a clock and a log sink. It holds a list of Bridges, one for now.
Tests show that a Play press sends /Syndicate/Deck/1/PlayPause 1, that the release sends nothing, and that /Syndicate/Deck/1/Playing 1 turns the Play LED to full (127). While stopped it stays dim (1).
Start sends /Syndicate/Feedback/Resend 1.
CI runs swift test on pull requests.
Written test-first with /tdd, at the agreed seams (the Coordinator with fakes, and OSC packet bytes).
Activity