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

Pbjorklund : Pattern : AbstractFunction : Object
ExtensionExtension

Euclidean Algorithm for generating traditional musical rhythms
Subclasses: Pbjorklund2

Description

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

Class Methods

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

Arguments:

k

The number of 'hits'.

n

The total array size.

length

Number of repeats.

offset

Skip at start.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(inval)

.k

.k = value

.length

.length = value

Examples