Skip to content

textmode.synth.js / SynthSource / modulateRepeat

Method: modulateRepeat()

ts
modulateRepeat(
   source, 
   repeatX?, 
   repeatY?, 
   offsetX?, 
   offsetY?): this;

Modulate repeat pattern with another source.

Parameters

ParameterTypeDescription
sourceSynthParameterValueModulation source
repeatX?SynthParameterValueX repetitions (default: 3.0)
repeatY?SynthParameterValueY repetitions (default: 3.0)
offsetX?SynthParameterValueX offset (default: 0.5)
offsetY?SynthParameterValueY offset (default: 0.5)

Returns

this

Example