haskore-0.2.0.3: The Haskore Computer Music System

Safe Haskell | None

Haskore.Composition.Chord

# Documentation

type T = [Relative]Source

pitchToInterval :: T -> T Source

intervalToPitch :: T -> T Source

pitchInvert :: T -> T Source

intervalInvert :: T -> T Source

samePitch :: T -> T -> Bool Source

sameInterval :: T -> T -> Bool Source

majorInt :: [Relative]Source

sustainedFourthInt :: [Relative]Source

minorMajorSeventhInt :: [Relative]Source

dominantSeventhInt :: [Relative]Source

minorSeventhInt :: [Relative]Source

majorSeventhInt :: [Relative]Source

minorInt :: [Relative]Source

type Inversion = Int Source

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 |

Fields

genericPitchClass :: Class
genericIntervals :: T
genericDur :: Dur
genericAttr :: attr

type Boundary = (T, T)Source

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

leastVaryingInversions :: Boundary -> [Generic attr] -> [[T attr]]Source

inversionIncrement :: T -> Double Source

matchingInversion :: Generic attr -> Double -> Double Source

mean :: [Relative] -> Double Source

chordCenter :: Generic attr -> Double Source

boundaryCenter :: (Octave, Inversion) -> Generic attr -> Double Source

invert :: Inversion -> T -> T Source

genericToNotes :: Inversion -> Generic attr -> [T attr]Source

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 -> Bool Source

leastVaryingInversionsSW :: Boundary -> [Generic attr] -> [[T attr]]Source

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