Chords
Chord definitions
Major chords
major
aug
six
sixNine
major7
major9
add9
major11
add11
major13
add13
Dominant chords
dom7
dom9
dom11
dom13
sevenFlat5
sevenSharp5
sevenFlat9
nine
eleven
thirteen
Minor chords
minor
diminished
minorSharp5
minor6
minorSixNine
minor7flat5
minor7
minor7sharp5
minor7flat9
minor7sharp9
diminished7
minor9
minor11
minor13
minorMajor7
Other chords
one
five
sus2
sus4
sevenSus2
sevenSus4
nineSus4
Questionable chords
sevenFlat10
nineSharp5
minor9sharp5
sevenSharp5flat9
minor7sharp5flat9
elevenSharp
minor11sharp
Chord functions
chordTable
The chordTable
function outputs a list of all available chords and their
corresponding notes. For example, its first entry is ("major",[0,4,7])
which
means that a major triad is formed by the root (0), the major third (4 semitones
above the root), and the perfect fifth (7 semitones above the root).
As the list is big, you can use the function chordL
.
If you know the notes from a chord, but can’t find the name of it, you can use this Haskell code to do a reverse look up into the table:
This will output [("dom7",[0,4,7,10])]
(You’ll need to run import Sound.Tidal.Chords
before using this function.)
chordate
chordate cs m n
selects the n
th “chord” (a chord is a list of Int
s)
from a list of chords cs
and transposes it by m
enchord
enchord chords pn pc
turns every note in the note pattern pn
into
a chord, selecting from the chord lists chords
using the index pattern
pc
. For example, Chords.enchord [Chords.major Chords.minor] "c g" "0 1"
will create a pattern of a C-major chord followed by a G-minor chord.
chordL
Look up a specific chord: chordL "minor7"
returns (0>1)|[0,3,7,10]
.
chordList
Outputs all the available chords:
(You’ll need to run import Sound.Tidal.Chords
before using this function.)