UnaryOpUGen:
Filter:
Classes | UGens > Algebraic

UnaryOpUGen : BasicOpUGen : UGen : AbstractFunction : Object

Apply a unary operation to the values of an input ugen

Description

UnaryOpUGens are created as the result of a unary operator applied to a UGen.

As in the examples given here, you don't usually need to instantiate UnaryOpUGen yourself.

The unary and binary operators are defined in UGen's superclass AbstractFunction, which creates the BinaryOpUGen as a result of the operation.

See Operators for an overview of common operators.

Class Methods

UnaryOpUGen.new(selector, a)

return a new instance that applies the operator selector to the ugen a

Arguments:

selector

The selector symbol for the unary operator

a

operand

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.optimizeGraph

Examples