SuperCollider CLASSES

Sanitize

Remove infinity, NaN, and denormals
Inherits from: UGen : AbstractFunction : Object

Description

Replaces infinities, NaNs, and subnormal numbers (denormals) with a given signal, zero by default. The method UGen: -sanitize provides a shorthand for this.

See also CheckBadValues, which allows you to discriminate specific kinds of bad values and print information about them to the post window.

Class Methods

*ar (in: 0, replace: 0)

*kr (in: 0, replace: 0)

Arguments:

in

Input signal to sanitize.

replace

The signal that replaces bad values.

Inherited class methods

Instance Methods

Inherited instance methods