Skip to main content

Module sequencer

Module sequencer 

Source
Expand description

Sequencer / transport (PPQ, tracks, quantize, time-signature). Re-exports only (AU-MIDI-SEQ).

Re-exports§

pub use event_ring::EventRing;
pub use ppq_clock::seconds_to_ticks;
pub use ppq_clock::ticks_to_seconds;
pub use quantize::quantize_tick;
pub use time_signature::BarBeatTick;
pub use time_signature::TimeSignature;
pub use track::DueWindow;
pub use track::TimedEvent;
pub use track::Track;
pub use transport::Transport;
pub use transport::TransportState;

Modules§

event_ring
A bounded, wait-free single-producer / single-consumer (SPSC) ring buffer for scheduled TimedEvents.
ppq_clock
PPQ (pulses-per-quarter-note) tick ↔ musical time ↔ wall-clock time.
quantize
Snap an event tick to a musical grid, with optional strength.
time_signature
Time-signature representation and bars/beats/ticks conversion.
track
A fixed-capacity track of timed MIDI events plus a zero-alloc “due window” iterator.
transport
Transport state machine — play / stop / pause, tempo, position, and looping.