Skip to main content

take_stream

Function take_stream 

Source
pub fn take_stream(
    id: &str,
    samples: &[f32],
    sample_rate: u32,
    channels: u16,
    grid: Grid,
    meta: StageStreamMeta,
    start: u64,
) -> MemorySource
Expand description

A dry take as a recorded stream: interleaved f32 samples whose first sample belongs at start_frame on the loop, stamped with meta (meta.start_tick is set, for people and other apps). 10 ms frames, each with its exact loop marker.