Skip to main content

midi_job

Function midi_job 

Source
pub fn midi_job(voice: Entity, kind: MidiEventKind, delay: f64) -> Job
Expand description

A job that sends kind to voice, delay seconds from the next fill’s start. A negative delay is treated as zero.

A voice that is gone ignores the job, and so does one that gave up on sounding: nothing would ever drain its queue.