haskore-0.2.0.5: The Haskore Computer Music System

Safe HaskellSafe-Inferred

Haskore.Composition.Chord

Documentation

type T = [Relative]Source

samePitch :: T -> T -> BoolSource

sameInterval :: T -> T -> BoolSource

type Inversion = IntSource

fromIntervals :: [Relative] -> Inversion -> T note -> [T note]Source

major :: Inversion -> T note -> [T note]Source

sustainedFourth :: Inversion -> T note -> [T note]Source

minorMajorSeventh :: Inversion -> T note -> [T note]Source

dominantSeventh :: Inversion -> T note -> [T note]Source

minorSeventh :: Inversion -> T note -> [T note]Source

majorSeventh :: Inversion -> T note -> [T note]Source

minor :: Inversion -> T note -> [T note]Source

data Generic attr Source

Constructors

Generic 

type Boundary = (T, T)Source

generic :: Class -> T -> Dur -> attr -> Generic attrSource

matchingInversion :: Generic attr -> Double -> DoubleSource

mean :: [Relative] -> DoubleSource

chordCenter :: Generic attr -> DoubleSource

shortestWays :: (Num b, Ord b) => (a -> a -> b) -> [[a]] -> [(b, [a])]Source

processZone :: (Num b, Ord b) => (a -> a -> b) -> [a] -> [(b, [a])] -> [(b, [a])]Source

propShortestWays :: Int -> Int -> BoolSource

inversionCenters :: Boundary -> [Generic attr] -> [[(Inversion, Double)]]Source

melodicGen :: attr -> Dur -> [Dur -> attr -> T attr] -> T attrSource

harmonicGen :: attr -> Dur -> [Dur -> attr -> T attr] -> T attrSource