Skip to content

textmode.synth.js / SynthSource / r

Method: r()

ts
r(scale?, offset?): this;

Extract the red channel as a grayscale value.

Parameters

ParameterTypeDescription
scale?SynthParameterValueScale multiplier (default: 1.0)
offset?SynthParameterValueOffset amount (default: 0.0)

Returns

this

Example