tidal-1.0.11: Pattern language for improvised music

Safe HaskellSafe
LanguageHaskell2010

Sound.Tidal.Chords

Synopsis

Documentation

major :: Num a => [a] Source #

minor :: Num a => [a] Source #

major7 :: Num a => [a] Source #

dom7 :: Num a => [a] Source #

minor7 :: Num a => [a] Source #

aug :: Num a => [a] Source #

dim :: Num a => [a] Source #

dim7 :: Num a => [a] Source #

one :: Num a => [a] Source #

five :: Num a => [a] Source #

plus :: Num a => [a] Source #

sharp5 :: Num a => [a] Source #

msharp5 :: Num a => [a] Source #

sus2 :: Num a => [a] Source #

sus4 :: Num a => [a] Source #

six :: Num a => [a] Source #

m6 :: Num a => [a] Source #

sevenSus2 :: Num a => [a] Source #

sevenSus4 :: Num a => [a] Source #

sevenFlat5 :: Num a => [a] Source #

m7flat5 :: Num a => [a] Source #

sevenSharp5 :: Num a => [a] Source #

m7sharp5 :: Num a => [a] Source #

nine :: Num a => [a] Source #

m9 :: Num a => [a] Source #

m7sharp9 :: Num a => [a] Source #

maj9 :: Num a => [a] Source #

nineSus4 :: Num a => [a] Source #

sixby9 :: Num a => [a] Source #

m6by9 :: Num a => [a] Source #

sevenFlat9 :: Num a => [a] Source #

m7flat9 :: Num a => [a] Source #

sevenFlat10 :: Num a => [a] Source #

nineSharp5 :: Num a => [a] Source #

m9sharp5 :: Num a => [a] Source #

eleven :: Num a => [a] Source #

m11 :: Num a => [a] Source #

maj11 :: Num a => [a] Source #

elevenSharp :: Num a => [a] Source #

m11sharp :: Num a => [a] Source #

thirteen :: Num a => [a] Source #

m13 :: Num a => [a] Source #

chordTable :: Num a => [(String, [a])] Source #

chordate cs m n selects the nth "chord" (a chord is a list of Ints) from a list of chords cs and transposes it by m chordate :: Num b => [[b]] -> b -> Int -> [b] chordate cs m n = map (+m) $ cs!!n

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. enchord :: Num a => [[a]] -> Pattern a -> Pattern Int -> Pattern a enchord chords pn pc = flatpat $ (chordate chords) $ pn * pc