csound-expression-dynamic-0.3.8: dynamic core for csound-expression library
Safe HaskellNone
LanguageHaskell2010

Csound.Dynamic.Build

Synopsis

Expression tree

Working with expression tree

onExp :: (Exp E -> Exp E) -> E -> E Source #

Rates

Queries

Constructors

Basic constructors

numExp1 :: NumOp -> E -> E Source #

tfm :: Info -> [E] -> E Source #

pn :: Int -> E Source #

withInits :: E -> [E] -> E Source #

double :: Double -> E Source #

Converts Haskell's doubles to Csound's doubles

int :: Int -> E Source #

Converts Haskell's integers to Csound's doubles

str :: String -> E Source #

Converts Haskell's strings to Csound's strings

verbatim :: Monad m => String -> DepT m () Source #

gInit :: Monad m => String -> Int -> DepT m () Source #

Opcodes constructors

type Spec1 = [(Rate, [Rate])] Source #

opcs :: Name -> Spec1 -> [E] -> E Source #

opr1 :: Name -> E -> E Source #

opr1k :: Name -> E -> E Source #

infOpr :: Name -> E -> E -> E Source #

oprBy :: Name -> Spec1 -> [E] -> E Source #

type Specs = ([Rate], [Rate]) Source #

type MultiOut a = Int -> a Source #

Multiple output. Specify the number of outputs to get the result.

mopcs :: Name -> Specs -> [E] -> MultiOut [E] Source #

mo :: Int -> E -> [E] Source #

Global init statements

setSr :: Monad m => Int -> DepT m () Source #

setKsmps :: Monad m => Int -> DepT m () Source #

setNchnls :: Monad m => Int -> DepT m () Source #

setNchnls_i :: Monad m => Int -> DepT m () Source #

setKr :: Monad m => Int -> DepT m () Source #

Arrays

opcsArr :: Monad m => IsArrInit -> Var -> Name -> Spec1 -> [E] -> DepT m () Source #

infOprArr :: Monad m => IsArrInit -> Var -> Name -> E -> E -> DepT m () Source #