csound-expression-typed-0.2.2.0: typed core for the library csound-expression

Safe HaskellNone
LanguageHaskell2010

Csound.Typed.Types.MonoArg

Synopsis

Documentation

data MonoArg Source #

Input argument for monophonic synthesizer. It includes signals for amplitude, frequency (Cycles Per second), gate, trigger. The gate equals to 1 when any note is pressed or zero when nothing is pressed. The trigger equals to 1 at the moment when new note is pressed otherwise it's 0.

Constructors

MonoArg 

Fields

type MonoAdsr = Sig -> Sig -> Sig -> Sig -> Sig Source #

ADSR that's used in monophonic instruments.

adsrMonoSynt :: (MonoAdsr -> (Sig, Sig) -> a) -> MonoArg -> a Source #

Turns the function that expects ADSR-function and amplitude and frequency to the function on monophonic argument.