scriptnode  math.

I have a few questions about math in scriptnode.
What exactly does
math.clip
do in scriptnode?
can't find any information...Also what is
math.clear
for?last one, how can I understand
core.peak
?cheers

math.clip limits (clips) the output to the specified value
math.clear clears the output to zero
core.peak detects the peak in the signal and sends the value to the modulation target. 
@ChristophHart it is very cool the clip 'it just deserves a little softkness button

@ChristophHart so is
math.clip
something like a clamp between 0 and the set value? 
@yall @clumsybear clip is the maximum distortion you can get as it strictly cuts out everything above the value, and below minus the value, hence gives a square like shape.
It's not meant to be smooth, for a smooth result, use tanh 
@ustk j avais pas vu celui lÃ je vais essayer. Tu sais comment connecter le visu du cliper a l'interface par hasard ?^^

@ustk thanks for the reply, but that's not what I was asking
math.clip
is used in the transient shaper example in scriptnode for gain computation, I would like to know what exactly it does and if it acts as a clamp, like theclip
operator in max/msp gen~ for example 
@clumsybear for what I understand of clip in max/msp they are not the same.
math.clip just cuts out what is above or below. Think of it as a diode if you know a bit of electronics
@yall Tu veux dire le node.peak ? Impossibleâ€¦