scide: implement selectionLength for openDocument
[supercollider.git] / HelpSource / Classes / Clip.schelp
blobfaef231b27cf57dcb65bb8a422458463d96cb2f6
1 class:: Clip
2 summary:: Clip a signal outside given thresholds.
3 related:: Classes/Fold, Classes/Wrap
4 categories::  UGens>Maths
7 Description::
9 This differs from the  link::Classes/BinaryOpUGen::  link::Overviews/Methods#clip2#clip2:: in that it
10 allows one to set both low and high thresholds.
13 classmethods::
15 method::ar, kr
17 argument::in
19 Signal to be clipped.
22 argument::lo
24 Low threshold of clipping. Must be less then hi.
27 argument::hi
29 High threshold of clipping. Must be greater then lo.
32 Examples::
34 code::
36 Server.internal.boot;
38 { Clip.ar(SinOsc.ar(440, 0, 0.2), -0.07, 0.07) }.scope;