Static NUM_Number of an canonical notes (12).
Static accidentalsAccidentals abbreviations.
Static canonical_Names of canonical notes ('c', 'c#', 'd',...).
Static diatonic_NoteAccidental associated to diatonic intervals.
Static diatonic_Names of diatonic intervals ('unison', 'm2', 'M2',...).
Static intervalsSemitones shift associated to intervals .
Static noteStatic root_Static root_Static rootsNames of root notes ('c', 'd',...)
Static scaleScales associated with m (minor) and M (major).
Static scalesSemitones shifts associated with scales.
Create a scale map that represents the pitch state for a
keySignature. For example, passing a G to keySignature would
return a scale map with every note naturalized except for F which
has an F# state.
Return scale tones, given intervals. Each successive interval is relative to the previous one, e.g., Major Scale:
TTSTTTS = [2,2,1,2,2,2,1]
When used with key = 0, returns C scale (which is isomorphic to interval list).
Music implements some standard music theory routines.