hsc3-0.20: Haskell SuperCollider
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Sc3.Ugen.Math

Description

Ugen math

Synopsis

Documentation

dinf :: Ugen Source #

Pseudo-infinite constant Ugen.

ceil :: Ugen -> Ugen Source #

Ugen form of ceilingE.

unitMidi :: Num t => t -> t Source #

Midi note number and velocity data is in (0, 127). This maps (0,1) to (0,127), i.e. is it (* 127).

unitCps :: UnaryOp t => t -> t Source #

midiCps of (0,1) scaled to (0,127). To make control signal data uniform, all control signals are in (0, 1).

sum_opt :: [Ugen] -> Ugen Source #

Optimised Ugen sum function.

useqId :: (ID z, Enum z) => z -> Int -> (z -> Ugen -> Ugen) -> Ugen -> Ugen Source #

Apply the Ugen processor f k times in sequence to i, ie. for k=4 f (f (f (f i))).