haskore-0.1.0.4: The Haskore Computer Music System

Haskore.Interface.CSound.SoundMap

Documentation

type ToSound instr = instr -> (AttributeList, SoundId)Source

type InstrumentTable out instr = [(instr, InstrumentSigExp out)]Source

type InstrumentSigExp out = SigExp -> SigExp -> SigExp -> outSource

instrumentAssociation :: (parameterTuple -> AttributeList) -> (graph -> InstrumentSigExp out) -> InstrumentId -> (instr -> Maybe parameterTuple) -> graph -> InstrumentAssociation out instrSource

instrumentEq :: Eq instrument => InstrumentId -> instrument -> InstrumentSigExp out -> InstrumentAssociation out instrumentSource

type DrumTable out drum = [(drum, DrumSigExp out)]Source

type DrumSigExp out = SigExp -> SigExp -> outSource

data DrumAssociation out drum Source

Constructors

DrumAssociation DrumId (drum -> Maybe AttributeList) out 

drumAssociation :: (parameterTuple -> AttributeList) -> (graph -> DrumSigExp out) -> DrumId -> (drum -> Maybe parameterTuple) -> graph -> DrumAssociation out drumSource

drum :: DrumId -> (drum -> Maybe ()) -> DrumSigExp out -> DrumAssociation out drumSource

drumEq :: Eq drum => DrumId -> drum -> DrumSigExp out -> DrumAssociation out drumSource

drum1 :: DrumId -> (drum -> Maybe Attribute) -> (SigExp -> DrumSigExp out) -> DrumAssociation out drumSource

drum2 :: DrumId -> (drum -> Maybe (Attribute, Attribute)) -> (SigExp -> SigExp -> DrumSigExp out) -> DrumAssociation out drumSource