API / MusicTheory
IntervalQuality enum
The quality of an interval, ordered from narrowest to widest. Perfect applies to unisons, 4ths, 5ths and octaves; minor and major to 2nds, 3rds, 6ths and 7ths; diminished and augmented to both, up to quintuple, which is as far as two spelled notes with at most two accidentals each can reach (F𝄫 to B𝄪).
Values
| Name | Value | Meaning |
|---|---|---|
QuintuplyDiminished | 0 | Quintuply diminished (ddddd). |
QuadruplyDiminished | 1 | Quadruply diminished (dddd). |
TriplyDiminished | 2 | Triply diminished (ddd). |
DoublyDiminished | 3 | Doubly diminished (dd). |
Diminished | 4 | Diminished (d). |
Minor | 5 | Minor (m). |
Perfect | 6 | Perfect (P). |
Major | 7 | Major (M). |
Augmented | 8 | Augmented (A). |
DoublyAugmented | 9 | Doubly augmented (AA). |
TriplyAugmented | 10 | Triply augmented (AAA). |
QuadruplyAugmented | 11 | Quadruply augmented (AAAA). |
QuintuplyAugmented | 12 | Quintuply augmented (AAAAA). |