The miscellaneous Rhythm functions can be used with TimeKeeper to generate rhythmic patterns.
This example shows the use of TimeKeeper
& Rhythm.Euclid
to define a tempo
and time signature, then produce beats.
let pattern = Rhythm.Euclid(steps, beats);
This example shows the use of TimeKeeper
& Rhythm.Random
to define a tempo
and time signature, then produce some beats.
let pattern = Rhythm.Random(steps);
This example shows the use of TimeKeeper
& Rhythm.Arp
to define a tempo
and time signature, then produce some beats.
let pattern = Rhythm.Arp(0);
This example prints the results of various Rhythm function calls.