Expand description
Clock charts and tick conversion helpers for STREAM 6.
The crate keeps clock math in library space. Kernel events still carry only
KERNEL 6 Tick values, with clock indexes interned as datum content refs.
Structs§
- Clock
- Named clock with a
ClockDomainand aClockChart, the unit of clock math in this crate. - Clock
Index - Position on a clock timeline, counted in that clock’s own units (frames for frame clocks, ticks for MIDI clocks).
- Index
Conversion - Result of converting an
Instantto aClockIndex, paired with any diagnostics raised by the conversion. - Instant
- Exact, non-negative point in time held as a reduced rational number of seconds.
- Stream
Clock Descriptor - Citizen wrapper that carries a
Clockas a self-describingstream/Clockvalue. - Tempo
Map - Ordered list of
TempoSegments describing how MIDI tempo changes over a timeline. - Tempo
Segment - One constant-tempo span of a MIDI
TempoMap, starting at a tick offset.
Enums§
- Clock
Chart - Timing law that maps a clock’s indexes to
Instants and back.
Functions§
- stream_
clock_ class_ symbol - Returns the
stream/Clockclass symbol used to register and look upStreamClockDescriptorvalues.