x-dsp-0.2: A embedded DSL for manipulating DSP languages in Haskell

Language.XDsp.Semantics.Core

Synopsis

Documentation

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

Instances

Dsp HN 
Dsp (S n) 

class Dsp repr => Constants repr whereSource

Create signals from constants.

Methods

cnst :: Double -> repr (INum repr)Source

ckig :: Double -> repr (KSig repr)Source

csig :: Double -> repr (ASig repr)Source

Instances

class Dsp repr => Asn repr a whereSource

Assign a signal to a named variable

Methods

asn :: a -> repr aSource

Instances

Varable a => Asn (S n) a

supports assignment