MulAdd:
Filter:
Classes | UGens > Maths

MulAdd : UGen : AbstractFunction : Object

Multiply and add to a signal

Description

Multiplies the signal by mul and adds add. This UGen is very efficient (it performs various optimisation checks, for example). It is used very heavily throughout SuperCollider to perform multiply and add operations on the server; in fact it is what "really" performs the mul and add arguments found in many UGens.

See also the discussion of mul and add arguments in the UGen help file.

Class Methods

MulAdd.new(in, mul: 1.0, add: 0.0)

Arguments:

in

input signal

mul

multiply with this value

add

add this value

Discussion:

Same as:

Inherited class methods

Undocumented class methods

MulAdd.canBeMulAdd(in, mul, add)

Instance Methods

Inherited instance methods

Examples

(Note: the "trace" message is described in the helpfile for Node.)