FoxDotChord.Chord
Musical chord to be manipulated by FoxDot.
The chord class generates chords that can be used by Foxdot.
Examples:
TODO
- Allow
Scale
that is notchromatic
. - Adjust to
Root.default
. - Accept chords with inverted bass, like: (E/G#, Dm7/C).
dominant: TNote
property
¶
Dominant V.
eleventh: TNote
property
¶
Eleventh XI.
is_dim: bool
property
¶
Indicates whether the chord is sharp.
Examples:
>>> Chord('D').is_dim
False
>>> Chord('D⁰').is_dim
True
>>> Chord('D0').is_dim
True
>>> Chord('Do').is_dim
True
>>> Chord('DO').is_dim
True
>>> Chord('Ddim').is_dim
True
Returns:
Name | Type | Description |
---|---|---|
bool |
bool
|
|
is_flat: bool
property
¶
is_minor: bool | None
property
¶
Indicates if the chord is minor.
Examples:
Returns:
Name | Type | Description |
---|---|---|
bool |
bool | None
|
|
None |
bool | None
|
If it is a power chord there is no way to know if it is minor, because it doesn't have the III of the chord. |
is_power_chord: bool
property
¶
is_sharp: bool
property
¶
is_sus: bool
property
¶
maj: TNote
property
¶
Maj VII.
ninth: TNote
property
¶
Ninth IX.
notes: list[int]
property
¶
subdominant: TNote
property
¶
Subdominant IV.
submediant: TNote
property
¶
Submediant VI.
supertonic: TNote
property
¶
Supertonic II.
third: TNote
property
¶
Third III.
thirteenth: TNote
property
¶
Thirteenth XIII.
tone: int
property
¶
Indicates whether the tone.
tonic: int
property
¶
true_copy(new_data=None)
¶
Copy object.