linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / Wrap.schelp
blob69cf9e218907a2f0783cef760712e2cc1c293867
1 class:: Wrap
2 summary:: Wrap a signal outside given thresholds.
3 related:: Classes/Clip, Classes/Fold
4 categories::  UGens>Maths
7 Description::
9 This differs from the  link::Classes/BinaryOpUGen::  link::Overviews/Methods#wrap2#wrap2:: 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 wrapped.
22 argument::lo
24 Low threshold of wrapping.
27 argument::hi
29 High threshold of wrapping.
32 Examples::
34 code::
36 Server.internal.boot;
38 { Wrap.ar(SinOsc.ar(440, 0, 0.2), -0.15, 0.15) }.scope;