rsc3/doc-schelp/HelpSource/Classes/Sanitize.scrbl

29 lines
666 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{Sanitize}
Remove infinity, NaN, and denormals@section{categories}
UGens>Info
@section{description}
Replaces infinities, NaNs, and subnormal numbers (denormals) with a given signal, zero by default. The method link::Classes/UGen#-sanitize:: provides a shorthand for this.
See also link::Classes/CheckBadValues::, which allows you to discriminate specific kinds of bad values and print information about them to the post window.
@section{classmethods}
@section{method}
ar, kr
@section{argument}
in
Input signal to sanitize.
@section{argument}
replace
The signal that replaces bad values.