Skip to main content

try_euclidean

Function try_euclidean 

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

Generates Euclidean rhythm step indices after validating allocation size.

ยงErrors

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