x-dsp-0.2: A embedded DSL for manipulating DSP languages in Haskell
Language.XDsp.Semantics.Core
Synopsis
class Dsp repr whereSource
Third version of tagless final csound interpreter no de Bruijn indices, a monadic repr
Associated Types
data ASig repr :: *Source
data KSig repr :: *Source
data INum repr :: *Source
Methods
getSr :: repr IntegerSource
getKsmps :: repr IntegerSource
Instances
class Dsp repr => Constants repr whereSource
Create signals from constants.
cnst :: Double -> repr (INum repr)Source
ckig :: Double -> repr (KSig repr)Source
csig :: Double -> repr (ASig repr)Source
class Dsp repr => Asn repr a whereSource
Assign a signal to a named variable
asn :: a -> repr aSource
supports assignment