Skip to main content

try_euclidean_pattern

Function try_euclidean_pattern 

Source
pub fn try_euclidean_pattern(
    pulses: usize,
    steps: usize,
) -> PulseResult<Vec<u32>>
Expand description

Generates a binary Euclidean rhythm pattern after validating allocation size.

ยงErrors

Returns an error when steps is too large to allocate safely.