← All effects
Control Math

ArcCosine

What it is

The ArcCosine block computes the inverse cosine (acos) of a single control input and writes the resulting angle, in radians, to a control output. It is a control-domain math operator with no adjustable parameters. A real result is only defined when the input lies between -1 and 1, following the ordinary acos domain, and the output ranges from 0 to pi.

How it works

On every tick it reads the incoming control value, applies the standard-library acos function and stores the angle on the output control pin. It holds no state and processes one sample-frame per tick, in step with WaveWarp's sample-per-sample engine.