Euterpea-1.0.0: Library for computer music research and education

Safe HaskellSafe-Inferred

Euterpea.Music.Note.Performance

Documentation

data Event Source

Constructors

Event 

Fields

eTime :: PTime
 
eInst :: InstrumentName
 
ePitch :: AbsPitch
 
eDur :: DurT
 
eVol :: Volume
 
eParams :: [Double]
 

Instances

Eq Event 
Ord Event 
Show Event 

type PTime = RationalSource

type DurT = RationalSource

data Context a Source

Constructors

Context 

Instances

Show a => Show (Context a) 

metro :: Int -> Dur -> DurTSource

data Player a Source

Instances

Show a => Show (Player a) 

type NoteFun a = Context a -> Dur -> a -> PerformanceSource

type NotateFun a = ()Source

defPlayNote :: (Context (Pitch, [a]) -> a -> Event -> Event) -> NoteFun (Pitch, [a])Source