textmode.synth.js / SynthSource / thresh
Method: thresh()
ts
thresh(threshold?, tolerance?): this;Apply hard threshold.
Parameters
| Parameter | Type | Description |
|---|---|---|
threshold? | SynthParameterValue | Threshold value (default: 0.5) |
tolerance? | SynthParameterValue | Tolerance range (default: 0.04) |
Returns
this