Skip to content

textmode.synth.js / SynthSource / thresh

Method: thresh() ​

ts
thresh(threshold?, tolerance?): this;

Apply hard threshold.

Parameters ​

ParameterTypeDescription
threshold?SynthParameterValueThreshold value (default: 0.5)
tolerance?SynthParameterValueTolerance range (default: 0.04)

Returns ​

this

Example ​