Real-time MIDI sequencer engine with external clock synchronization and transport state management.
- External MIDI Clock Sync - Slave mode synchronization (src/external_clock.rs)
- Transport State Management - Play/stop/position tracking (src/state.rs)
- Scheduler Core - Tick-driven event queue (src/event_loop.rs)
- CLI Interface - Interactive transport control (src/ui.rs)
# Clone and build
git clone https://github.com/jgumbley/phasorsyncrs
cd phasorsyncrs
make run
src/
├── midi/ # MIDI I/O implementations
│ └── external_clock.rs - Clock synchronization logic
├── state.rs # Transport state machine
├── ui.rs # Status display interfaces
└── event_loop.rs - Core timing engine
tests/
└── midi_tests.rs - MIDI I/O validation tests
# Test with mock MIDI (no hardware required)
make run
# Run bound onto ext device (config in makefile)
make run-oxi
Key design decisions documented in ADRs:
- ADR00: Guiding Principles
- ADR01: TDD and Unit Size Structure
- ADR02: MIDI Library Selection
- ADR03: Concurrency Model
GNU Affero General Public License v3 - See LICENSE for details