Skip to main content

Module scaletype

Module scaletype 

Source
Expand description

The named scales music21 exposes, realized from a tonic. The named scales music21 exposes as ConcreteScale subclasses.

Each scale is a sequence of step intervals walked from the tonic (upward, except for the one descending step Rag Marwa’s network contains), matching the edges of music21’s IntervalNetwork, plus the pitch simplification that network applies. Both together are needed: the steps alone give the right pitch classes but the wrong spelling for scales that run out of reasonable accidentals, which is why a C whole-tone scale ends A# rather than B- but a B whole-tone scale does not end A##.

Structs§

Scale
A named scale realized from a tonic pitch.

Enums§

ScaleType
A named scale from music21’s scale module.