Max: gen~

Notes

Change the name of a referenced Buffer in a codebox

send a message with the codebox (local) name of the buffer followed by the name of the buffer within Max.

Declaring a param in a Codebox

Param amount(0., min=-1, max=1);

Normalized Tunable Sigmoid Function

nice way to map 0,1 or -1,1 to a J- or S-curve.

y = (x - kx) / k - 2k|x| + 1
-1 < k < 1