musicaiz.harmony.Tonality¶
- class musicaiz.harmony.Tonality(value)[source]¶
- Args:
- Enum ([type]): (
Root note, Num Accidentals, Accidental object, {Additional Accidentals, Triads, Sevenths}
)
- __init__(*args, **kwargs)¶
Methods
scales(scale)scale_notes(scale)This method returns the notes of the scale corresponding to a submode.
get_scale_from_accidentals_num()get_scale_from_accidentals_symbol()get_scale_from_accidentals_num_symbol()get_chord_from_degree(tonality, degree[, ...])get_all_chords_from_scale(tonality[, scale, ...])get_chord_notes_from_degree(tonality, degree)Return a list of the notes that corresponds to the input degree chord.
get_scales_degrees_from_chord(chord)Returns all the scales with their corresponding degree that belong to the input chord.
get_modes_degrees_from_chord(chord)Same as get_scales_degrees_from_chord but this method only returns the tonality and degree, not the specific scale.
Attributes
C_MAJORA_MINORG_MAJORE_MINORF_MAJORD_MINORD_MAJORB_MINORB_FLAT_MAJORG_MINORA_MAJORF_SHARP_MINORE_FLAT_MAJORC_MINORE_MAJORC_SHARP_MINORA_FLAT_MAJORF_MINORB_MAJORG_SHARP_MINORD_FLAT_MAJORB_FLAT_MINORF_SHARP_MAJORD_SHARP_MINORG_FLAT_MAJORE_FLAT_MINORC_SHARP_MAJORA_SHARP_MINORC_FLAT_MAJORA_FLAT_MINORrelativeroot_notenum_accidentalssymbol_accidentalsmajordorianphrygianlydianmixolydianlocriannaturalharmonicmelodicall_scalesaltered_notesReturns the altered notes in the scale.
notesUses altered_notes property to generate the notes in the scale.