HarmTrace-2.2.0: Harmony Analysis and Retrieval of Music

Portabilitynon-portable
Stabilityexperimental
Maintainerbash@cs.uu.nl, jpm@cs.ox.ac.uk
Safe HaskellNone

HarmTrace.Models.Jazz.Instances

Description

Summary: Adhoc instances for the jazz model

Documentation

toGTree :: (GetDegree a, GTree a) => (Int -> ScaleDegree -> Trans) -> Int -> a -> [Tree HAn]Source

toGTreeSplit :: (GetDegree a, GetDegree b, GTree a, GTree b) => (Int -> ScaleDegree -> Prep) -> b -> a -> [Tree HAn]Source

class GetDegree a whereSource

Methods

getDeg :: a -> (ScaleDegree, Int)Source

Instances

GetDegree (Surface_Chord (MinThird deg) DimClass n) => GetDegree (Surface_Chord deg clss (Su n)) 
GetDegree (Surface_Chord deg clss Ze) 
GetDegree (Base_Final deg clss n) 
GetDegree (Base_Final deg clss Ze) 
GetDegree (Base_SD deg clss n) 

type RepPhrase_ mode = :+: (CEq Phrase_PT_ () () (Rec (Ton mode))) (CEq Phrase_PD_ () () (Rec (Dom mode)))Source

type RepDom_ mode = :+: (:+: (CEq Dom_D_1_ () () (:*: (Rec (SDom mode)) (Rec (Dom mode)))) (:+: (CEq Dom_D_2_ () () (Rec (SD mode V DomClass))) (CEq Dom_D_3_ () () (Rec (SD mode V MajClass))))) (:+: (:+: (CEq Dom_D_4_ (:*: mode ()) (:*: MajMode ()) (Rec (SD MajMode VII MinClass))) (CEq Dom_D_8_bor_ (:*: mode ()) (:*: MajMode ()) (Rec DMinBorrow))) (:+: (CEq Dom_Dm_4_ (:*: mode ()) (:*: MinMode ()) (Rec (SD MinMode VIIb MajClass))) (CEq Dom_Dm_8_bor_ (:*: mode ()) (:*: MinMode ()) (Rec DMajBorrow))))Source