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

Pbjorklund2 : Pbjorklund : Pattern : AbstractFunction : Object
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

Pbjorklund2.new(k, n, length: inf, offset: 0)

From superclass: Pbjorklund

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.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(inval)

Examples