PdegreeToKey:
Filter:
Classes | Streams-Patterns-Events > Patterns > Math

PdegreeToKey : Pnaryop : Pattern : AbstractFunction : Object

index into a scale
Source: Patterns.sc

Description

Returns a series of notes derived from an index into a scale.

Class Methods

PdegreeToKey.new(pattern, scale, stepsPerOctave: 12)

Arguments:

pattern

integer index into the scale.

scale

an array or pattern. If a pattern, it streams the scales accordingly.

stepsPerOctave

the number of steps per octave in the scale.

Inherited class methods

Instance Methods

Inherited instance methods

Examples