tri-wave-map

xod/core/tri-wave-map

Computes triangle function value
tri-wave-map
@/tri-wave-map
Computes triangle function value
INnumber
An input time value, i.e. the abscissa
Tnumber
An iterval between wave peaks, i.e. the period of the function
tri-wave-map
OUTOUTNNININTT
Nnumber
The number of a funcion cycle. Starts from 0.
OUTnumber
The function value in [0, 1] range. Starts from 0.