SuperCollider CLASSES (extension)

Bjorklund2

Euclidean Algorithm for generating traditional musical rhythms
Source: /home/egor/.local/share/SuperCollider/downloaded-quarks/Bjorklund/Bjorklund2.sc
Inherits from: Object

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 Bjorklund.

Class Methods

*new (k, n)

Arguments:

k

The number of 'hits'.

n

The total sum of all the durations in the array.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

Bjorklund2(3, 8)    //tresillo
Bjorklund2(5, 8)    //cinquillo
Bjorklund2(9, 16)    //rumba

see Pbjorklund2 for more examples.