Sanitize:
Filter:
Classes | UGens > Info

Sanitize : UGen : AbstractFunction : Object

Remove infinity, NaN, and denormals
Source: TestUGens.sc

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

Sanitize.ar(in: 0.0, replace: 0.0)

Sanitize.kr(in: 0.0, replace: 0.0)

Arguments:

in

Input signal to sanitize.

replace

The signal that replaces bad values.

Inherited class methods

Instance Methods

Inherited instance methods