Skip to main content

Module schedule

Module schedule 

Source
Expand description

Pattern → time-event schedule.

Compiles a Pattern into a flat list of Hap (happening) events with absolute time stamps in cycles. Adapters consume the schedule and translate it to media-specific output (audio Hap JSON, OSC packets, visual draw calls, text streams, etc.).

Structs§

Hap
One scheduled happening: a value with a half-open time interval [start, end).

Functions§

schedule
Compile a pattern starting at t0. Returns the list of Haps and the total duration consumed.