Pbjorklund2:
Filter:
Bjorklund/Classes (extension) | Streams-Patterns-Events > Patterns > List

Pbjorklund2
ExtensionExtension

Euclidean Algorithm for generating traditional musical rhythms

Description

After an algorithm by E. Bjorklund. See paper by Godfried Toussaint.

NOTE: This class is by Juan A. Romero and gives ratios for durations instead of arrays with binaries as in the original Pbjorklund.

Class Methods

.new

Arguments:

k

The number of 'hits'.

n

The total sum of all the durations in the array.

length

Number of repeats.

offset

Skip at start.

Examples