Math
Returns the absolute value of the input. Negative numbers become positive, so it is useful for rectifying oscillators, building waveshapers, or measuring signal magnitude.
Example: abs(sin(x*pi()*440/44100))
Use moderate values first, then increase modulation depth while listening for clipping, aliasing, or excessive filter resonance.
abs(-0.65)
For pitched oscillator functions, X already contains the current MIDI note pitch and transpose information. Prefer saw(X), sin(X), or pwm(X, 0.4) unless you intentionally want an octave or ratio shift such as 0.5*X or 2*X.