tri-wave-map

xod/core/tri-wave-map

Computes triangle function value
tri-wave-map
@/tri-wave-map
Deprecated:
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
OUT
N
IN
T
Nnumber
The number of a function cycle. Starts from 0.
OUTnumber
The function value in [0, 1] range. Starts from 0.