Skip to main content

Module base12_26

Module base12_26 

Source
Expand description

The base-12 and base-26 orders of Hewlett’s system, which music21’s musedata.base12_26 keeps as tables only: base 12 numbers the natural notes of the twelve semitones, base 26 every letter with one flat or sharp.

Constants§

BASE12_EQUIVALENTS
music21’s base12Equivalent: the natural note each of the twelve numbers is, and the empty name for the five between.
BASE12_INTERVALS
music21’s Base12IntervalTable: the interval each distance in base 12 is; the tritone, 6, is not there.
BASE26_EQUIVALENTS
music21’s base26Equivalent: the pitch name each of the twenty-six numbers is, and the empty name for the four unused.
BASE26_INTERVALS
music21’s Base26IntervalTable: the interval each distance in base 26 is, for the eleven it names.

Functions§

named
The named rows of a table, which is what music21’s Representation dictionaries hold, turned round: each name against its number.