Expand description
A fixed-capacity track of timed MIDI events plus a zero-alloc “due window” iterator.
TimedEvent is a small Copy POD — (tick, status, data1, data2) — the
generic event currency this lane uses so it never depends on another lane’s
uncommitted types. A Track stores up to N of them on the stack, kept
sorted by tick, and Track::due_window yields exactly the events whose
tick falls in a half-open [start, end) window, in order. The iterator
borrows the track and allocates nothing, so it is safe to call every audio
block on the real-time thread.
Structs§
- DueWindow
- Zero-alloc iterator over the events of a
Trackdue in[start, end). - Timed
Event - A single timed MIDI event: a status byte + up to two data bytes, at an
absolute tick position. All-integer and
Copy, so it is torn-read-safe to move through thesuper::event_ring::EventRing. - Track
- A fixed-capacity, tick-sorted track of
Nevents.