public final class EuclideanRhythmGenerator extends Object
public static boolean[] generate(int pulses, int steps)
pulses
- the number of pulses (must be >= 0 and must not be larger than steps)steps
- the number of steps (must be > 0)public static void main(String[] args)