Documentation ¶
Overview ¶
Euclidean package implements the Euclidean Algorithm to generate traditional musical rhythms. This popular rhythm approach was defined by Godfried Toussaint in 2005 https://en.wikipedia.org/wiki/Euclidean_rhythm
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Rhythm ¶
Rhythm returns a rhythmical pattern of equally distributed accents throughout the total steps. The Euclidean rhythms are explained in this white paper: http://cgm.cs.mcgill.ca/~godfried/publications/banff.pdf The total steps are the steps in a grid (or a circle) and the accents is the number of those steps you want to be triggered. The algorithm will position the accents (aka pulses) equally distributed across the available steps.
Types ¶
This section is empty.