lib/coltrane/qualities.rb in coltrane-0.0.2 vs lib/coltrane/qualities.rb in coltrane-1.0.0
- old
+ new
@@ -1,115 +1,116 @@
-module Qualities
- CHORD_QUALITIES = {
- "5" => [0, 7],
- "Msus2" => [0, 2, 7],
- "dim" => [0, 3, 6],
- "m" => [0, 3, 7],
- "m#5" => [0, 3, 8],
- "Mb5" => [0, 4, 6],
- "M" => [0, 4, 7],
- "" => [0, 4, 7],
- "M#5" => [0, 4, 8],
- "Mb6" => [0, 4, 8],
- "7ndim5" => [0, 4, 10],
- "Msus4" => [0, 5, 7],
- "mb6b9" => [0, 1, 3, 8],
- "addb9" => [0, 1, 4, 7],
- "madd9" => [0, 2, 3, 7],
- "Madd9" => [0, 2, 4, 7],
- "sus24" => [0, 2, 5, 7],
- "M#5add9" => [0, 2, 4, 8],
- "9ndim5" => [0, 2, 4, 10],
- "+add#9" => [0, 3, 4, 8],
- "madd4" => [0, 3, 5, 7],
- "4" => [0, 3, 5, 10],
- "dim7" => [0, 3, 6, 9],
- "m7" => [0, 3, 7, 10],
- "mM7" => [0, 3, 7, 11],
- "m7#5" => [0, 3, 8, 10],
- "7b5" => [0, 4, 6, 10],
- "7" => [0, 4, 7, 10],
- "7#5" => [0, 4, 8, 10],
- "7b13" => [0, 4, 8, 10],
- "M7#5" => [0, 4, 8, 11],
- "M7b6" => [0, 4, 8, 11],
- "M7b5" => [0, 4, 6, 11],
- "M7#5sus4" => [0, 5, 8, 11],
- "7sus4" => [0, 5, 7, 10],
- "7#5sus4" => [0, 5, 8, 10],
- "M7sus4" => [0, 5, 7, 11],
- "M6" => [0, 4, 7, 9],
- "m7b5" => [0, 3, 6, 10],
- "M7" => [0, 4, 7, 11],
- "maj7" => [0, 4, 7, 11],
- "mb6M7" => [0, 3, 8, 11],
- "dimM7" => [0, 3, 6, 11],
- "m6" => [0, 3, 5, 7, 9],
- "m6/9" => [0, 2, 3, 7, 9],
- "M6/9" => [0, 2, 4, 7, 9],
- "M6#11" => [0, 4, 6, 7, 9],
- "m7add11" => [0, 3, 5, 7, 10],
- "dim7M7" => [0, 3, 6, 9, 11],
- "m9" => [0, 2, 3, 7, 10],
- "m9#5" => [0, 2, 3, 8, 10],
- "m9b5" => [0, 2, 3, 6, 10],
- "mM7b6" => [0, 3, 7, 8, 11],
- "mM9" => [0, 2, 3, 7, 11],
- "M7b9" => [0, 1, 4, 7, 11],
- "M9" => [0, 2, 4, 7, 11],
- "M9#5" => [0, 2, 4, 8, 11],
- "M9#5sus4" => [0, 2, 5, 8, 11],
- "M9b5" => [0, 2, 4, 6, 11],
- "M9sus4" => [0, 2, 5, 7, 11],
- "M7#11" => [0, 4, 6, 7, 11],
- "7#9" => [0, 3, 4, 7, 10],
- "7#11" => [0, 4, 6, 7, 10],
- "11" => [0, 2, 5, 7, 10],
- "11b9" => [0, 1, 5, 7, 10],
- "13ndim5" => [0, 2, 4, 9, 10],
- "7#5#9" => [0, 3, 4, 8, 10],
- "7#5b9" => [0, 1, 4, 8, 10],
- "7add6" => [0, 4, 7, 9, 10],
- "7b6" => [0, 4, 7, 8, 10],
- "7b9" => [0, 1, 4, 7, 10],
- "7sus4b9" => [0, 1, 5, 7, 10],
- "9" => [0, 2, 4, 7, 10],
- "9#5" => [0, 2, 4, 8, 10],
- "9b13" => [0, 2, 4, 8, 10],
- "9b5" => [0, 2, 4, 6, 10],
- "9sus4" => [0, 2, 5, 7, 10],
- "M6/9#11" => [0, 2, 4, 6, 7, 9],
- "6/9#11" => [0, 2, 4, 6, 7, 9],
- "9#5#11" => [0, 2, 4, 6, 8, 10],
- "Blues" => [0, 3, 5, 6, 7, 10],
- "m11" => [0, 2, 3, 5, 7, 10],
- "m11#5" => [0, 2, 3, 5, 8, 10],
- "m11b5" => [0, 2, 3, 5, 6, 10],
- "13b5" => [0, 2, 4, 6, 9, 10],
- "13b9" => [0, 1, 4, 7, 9, 10],
- "13sus4" => [0, 2, 5, 7, 9, 10],
- "7#11b13" => [0, 4, 6, 7, 8, 10],
- "7#5b9#11" => [0, 1, 4, 6, 8, 10],
- "7#9#11" => [0, 3, 4, 6, 7, 10],
- "7#9b13" => [0, 3, 4, 7, 8, 10],
- "13#9" => [0, 3, 4, 7, 9, 10],
- "13" => [0, 2, 4, 7, 9, 10],
- "7b9#11" => [0, 1, 4, 6, 7, 10],
- "7b9#9" => [0, 1, 3, 4, 7, 10],
- "7b9b13" => [0, 1, 4, 7, 8, 10],
- "7sus4b9b13" => [0, 1, 5, 7, 8, 10],
- "9#11" => [0, 2, 4, 6, 7, 10],
- "M13" => [0, 2, 4, 7, 9, 11],
- "M7#9#11" => [0, 3, 4, 6, 7, 11],
- "M7add13" => [0, 2, 4, 7, 9, 11],
- "M9#11" => [0, 2, 4, 6, 7, 11],
- "mM9b6" => [0, 2, 3, 7, 8, 11],
- "7b9b13#11" => [0, 1, 4, 6, 7, 8, 10],
- "13b9#11" => [0, 1, 4, 6, 7, 9, 10],
- "9#11b13" => [0, 2, 4, 6, 7, 8, 10],
- "13#11" => [0, 2, 4, 6, 7, 9, 10],
- "M13#11" => [0, 2, 4, 6, 7, 9, 11],
- "m13" => [0, 2, 3, 5, 7, 9, 10],
- "13#9#11" => [0, 3, 4, 6, 7, 9, 10],
- "7#9#11b13" => [0, 3, 4, 6, 7, 8, 10]
- }
+module Coltrane
+ module Qualities
+ CHORD_QUALITIES = {
+ "5" => [0, 7],
+ "Msus2" => [0, 2, 7],
+ "dim" => [0, 3, 6],
+ "m" => [0, 3, 7],
+ "m#5" => [0, 3, 8],
+ "Mb5" => [0, 4, 6],
+ "M" => [0, 4, 7],
+ "M#5" => [0, 4, 8],
+ "Mb6" => [0, 4, 8],
+ "7ndim5" => [0, 4, 10],
+ "Msus4" => [0, 5, 7],
+ "mb6b9" => [0, 1, 3, 8],
+ "addb9" => [0, 1, 4, 7],
+ "madd9" => [0, 2, 3, 7],
+ "Madd9" => [0, 2, 4, 7],
+ "sus24" => [0, 2, 5, 7],
+ "M#5add9" => [0, 2, 4, 8],
+ "9ndim5" => [0, 2, 4, 10],
+ "+add#9" => [0, 3, 4, 8],
+ "madd4" => [0, 3, 5, 7],
+ "4" => [0, 3, 5, 10],
+ "dim7" => [0, 3, 6, 9],
+ "m7" => [0, 3, 7, 10],
+ "mM7" => [0, 3, 7, 11],
+ "m7#5" => [0, 3, 8, 10],
+ "7b5" => [0, 4, 6, 10],
+ "7" => [0, 4, 7, 10],
+ "7#5" => [0, 4, 8, 10],
+ "7b13" => [0, 4, 8, 10],
+ "M7#5" => [0, 4, 8, 11],
+ "M7b6" => [0, 4, 8, 11],
+ "M7b5" => [0, 4, 6, 11],
+ "M7#5sus4" => [0, 5, 8, 11],
+ "7sus4" => [0, 5, 7, 10],
+ "7#5sus4" => [0, 5, 8, 10],
+ "M7sus4" => [0, 5, 7, 11],
+ "M6" => [0, 4, 7, 9],
+ "m7b5" => [0, 3, 6, 10],
+ "M7" => [0, 4, 7, 11],
+ "maj7" => [0, 4, 7, 11],
+ "mb6M7" => [0, 3, 8, 11],
+ "dimM7" => [0, 3, 6, 11],
+ "m6" => [0, 3, 5, 7, 9],
+ "m6/9" => [0, 2, 3, 7, 9],
+ "M6/9" => [0, 2, 4, 7, 9],
+ "M6#11" => [0, 4, 6, 7, 9],
+ "m7add11" => [0, 3, 5, 7, 10],
+ "dim7M7" => [0, 3, 6, 9, 11],
+ "m9" => [0, 2, 3, 7, 10],
+ "m9#5" => [0, 2, 3, 8, 10],
+ "m9b5" => [0, 2, 3, 6, 10],
+ "mM7b6" => [0, 3, 7, 8, 11],
+ "mM9" => [0, 2, 3, 7, 11],
+ "M7b9" => [0, 1, 4, 7, 11],
+ "M9" => [0, 2, 4, 7, 11],
+ "M9#5" => [0, 2, 4, 8, 11],
+ "M9#5sus4" => [0, 2, 5, 8, 11],
+ "M9b5" => [0, 2, 4, 6, 11],
+ "M9sus4" => [0, 2, 5, 7, 11],
+ "M7#11" => [0, 4, 6, 7, 11],
+ "7#9" => [0, 3, 4, 7, 10],
+ "7#11" => [0, 4, 6, 7, 10],
+ "11" => [0, 2, 5, 7, 10],
+ "11b9" => [0, 1, 5, 7, 10],
+ "13ndim5" => [0, 2, 4, 9, 10],
+ "7#5#9" => [0, 3, 4, 8, 10],
+ "7#5b9" => [0, 1, 4, 8, 10],
+ "7add6" => [0, 4, 7, 9, 10],
+ "7b6" => [0, 4, 7, 8, 10],
+ "7b9" => [0, 1, 4, 7, 10],
+ "7sus4b9" => [0, 1, 5, 7, 10],
+ "9" => [0, 2, 4, 7, 10],
+ "9#5" => [0, 2, 4, 8, 10],
+ "9b13" => [0, 2, 4, 8, 10],
+ "9b5" => [0, 2, 4, 6, 10],
+ "9sus4" => [0, 2, 5, 7, 10],
+ "M6/9#11" => [0, 2, 4, 6, 7, 9],
+ "6/9#11" => [0, 2, 4, 6, 7, 9],
+ "9#5#11" => [0, 2, 4, 6, 8, 10],
+ "Blues" => [0, 3, 5, 6, 7, 10],
+ "m11" => [0, 2, 3, 5, 7, 10],
+ "m11#5" => [0, 2, 3, 5, 8, 10],
+ "m11b5" => [0, 2, 3, 5, 6, 10],
+ "13b5" => [0, 2, 4, 6, 9, 10],
+ "13b9" => [0, 1, 4, 7, 9, 10],
+ "13sus4" => [0, 2, 5, 7, 9, 10],
+ "7#11b13" => [0, 4, 6, 7, 8, 10],
+ "7#5b9#11" => [0, 1, 4, 6, 8, 10],
+ "7#9#11" => [0, 3, 4, 6, 7, 10],
+ "7#9b13" => [0, 3, 4, 7, 8, 10],
+ "13#9" => [0, 3, 4, 7, 9, 10],
+ "13" => [0, 2, 4, 7, 9, 10],
+ "7b9#11" => [0, 1, 4, 6, 7, 10],
+ "7b9#9" => [0, 1, 3, 4, 7, 10],
+ "7b9b13" => [0, 1, 4, 7, 8, 10],
+ "7sus4b9b13" => [0, 1, 5, 7, 8, 10],
+ "9#11" => [0, 2, 4, 6, 7, 10],
+ "M13" => [0, 2, 4, 7, 9, 11],
+ "M7#9#11" => [0, 3, 4, 6, 7, 11],
+ "M7add13" => [0, 2, 4, 7, 9, 11],
+ "M9#11" => [0, 2, 4, 6, 7, 11],
+ "mM9b6" => [0, 2, 3, 7, 8, 11],
+ "7b9b13#11" => [0, 1, 4, 6, 7, 8, 10],
+ "13b9#11" => [0, 1, 4, 6, 7, 9, 10],
+ "9#11b13" => [0, 2, 4, 6, 7, 8, 10],
+ "13#11" => [0, 2, 4, 6, 7, 9, 10],
+ "M13#11" => [0, 2, 4, 6, 7, 9, 11],
+ "m13" => [0, 2, 3, 5, 7, 9, 10],
+ "13#9#11" => [0, 3, 4, 6, 7, 9, 10],
+ "7#9#11b13" => [0, 3, 4, 6, 7, 8, 10]
+ }
+ end
end
\ No newline at end of file