Skip to content

textmode.synth.js / ModulatedArray

Interface: ModulatedArray

Extended array interface with modulation methods.

Arrays in textmode.synth.js behave like hydra - they cycle through values over time, creating dynamic, time-varying parameters. This enables complex animations without manually tracking time or state.

Example

Extends

  • Array<number>

Indexable

ts
[n: number]: number

Methods

MethodDescription
easeApply easing function to interpolation between array values.
fastSet speed multiplier for array cycling.
fitFit (remap) array values to a new range.
offsetSet time offset for array cycling.
smoothEnable smooth interpolation between array values.