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

ReplaceBadValues : Object
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

ReplaceBadValues.ar(in, sub: 0, id: 0, post: 2)

ReplaceBadValues.kr(in, sub: 0, id: 0, post: 2)

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

Inherited class methods

Instance Methods

Inherited instance methods

Examples