tidal-0.9.4: Pattern language for improvised music

Safe HaskellNone
LanguageHaskell2010

Sound.Tidal.Chords

Synopsis

Documentation

major :: [Int] #

minor :: [Int] #

major7 :: [Int] #

dom7 :: [Int] #

minor7 :: [Int] #

aug :: [Int] #

dim :: [Int] #

dim7 :: [Int] #

one :: [Int] #

five :: [Int] #

plus :: [Int] #

sharp5 :: [Int] #

sus2 :: [Int] #

sus4 :: [Int] #

six :: [Int] #

m6 :: [Int] #

nine :: [Int] #

m9 :: [Int] #

maj9 :: [Int] #

sixby9 :: [Int] #

m6by9 :: [Int] #

eleven :: [Int] #

m11 :: [Int] #

maj11 :: [Int] #

m13 :: [Int] #

chordate :: Num b => [[b]] -> b -> Int -> [b] #

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

flatpat :: Pattern [a] -> Pattern a #

flatpat takes a Pattern of lists and pulls the list elements as separate Events

enchord :: Num a => [[a]] -> Pattern a -> Pattern Int -> Pattern a #

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.