csound-expression-typed-0.2.7.1: typed core for the library csound-expression
Safe HaskellSafe-Inferred
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

Instances

Instances details
Tuple MonoArg Source # 
Instance details

Defined in Csound.Typed.Types.MonoArg

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.