ReplaceBadValues:
Filter:
SafetyNet/Classes (extension) | UGens > Filters

ReplaceBadValues
ExtensionExtension

replaces bad UGen signals (infinity, not-a-number, and denormals)

Description

This pseudo-UGen uses CheckBadValues to test a ugen signal for infinity, NaN (not a number), and denormals. If one of these is found, it replaces the bad signal with a substitute signal given.

First examples:

Class Methods

.ar

.kr

Arguments:

in

the input signal to replace when bad

sub

the substitute signal to replace it with

id

an optional ID to post when input changes bad/ok state

post

set post mode, see CheckBadValues

Examples