|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< double > MayaFlux::Kinesis::Discrete::maximally_even_sequence | ( | size_t | pulses, |
| size_t | steps, | ||
| size_t | rotation = 0 |
||
| ) |
The maximally even placement of pulses among steps, as a 0 or 1 table.
| pulses | Number of ones |
| steps | Length of the table |
| rotation | Steps to rotate the start by |
Spreads the pulses as evenly as the grid allows, the Euclidean rhythm: (3, 8) gives 1 0 0 1 0 0 1 0. Feed it to step_sequence_state or step_pattern.
Definition at line 201 of file Boolean.cpp.