Constants#
- class fretboardgtr.constants.ChordName[source]#
Bases:
str,EnumMakes it easier to list and select a chord.
One can use auto-completion ChordName.MAJOR can be used instead of the ‘M’ literal string.
Not every defined ChordName from CHORDS_DICT_ESSENTIAL is defined as an enum here, only the most common ones.
- class fretboardgtr.constants.Interval[source]#
Bases:
str,EnumMakes it easier to list and select an interval.
One can use auto-completion Interval.DIMINISHED_FIFTH instead of the ‘b5’ literal string.
- class fretboardgtr.constants.LongInterval[source]#
Bases:
str,EnumMakes it easier to list and select a long interval.
One can use LongInterval.MINOR_SECOND instead of the ‘minor_second’ literal string.
- class fretboardgtr.constants.ModeName[source]#
Bases:
str,EnumMakes it easier to list and select a mode.
One can use auto-completion ModeName.MIXOLYDIAN can be used instead of the ‘Mixolydian’ literal string.