← All effects
Control Math

Cosine

What it is

The Cosine block computes the cosine of a single control input, treated as an angle in radians, and writes the result (between -1 and 1) to a control output. It is a control-domain math operator with no adjustable parameters.

How it works

On every tick it reads the incoming control value, applies the standard-library cos function and stores the result 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.