Expand description
Transport state machine — play / stop / pause, tempo, position, and looping.
Transport holds a fractional tick position and advances it in wall-clock
time via Transport::advance: at bpm quarter notes/minute with ppq
ticks/quarter, Δticks = Δseconds * (bpm / 60) * ppq. When looping is
enabled and the position reaches loop_end, it wraps back to loop_start
(carrying the remainder), so a long block never skips past the loop. The
whole type is Copy, stack-only, and allocation-free — safe on the audio
thread.
Structs§
- Transport
- A sequencer transport: position, tempo, run-state, and an optional loop.
Enums§
- Transport
State - Play/stop/pause state of the
Transport.