aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/Clip-help.pd
blob: 753cfd2d424ca5dc57309313befda2c2d145495f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#N canvas 1354 293 542 335 10;
#X declare -lib cyclone;
#X text 15 35 Constrains an int \, float or list within a certain range
;
#X floatatom 312 116 0 0 0 0 - - -;
#X floatatom 190 116 0 0 0 0 - - -;
#X text 322 138 set max (int or float);
#X floatatom 26 82 0 0 0 0 - - -;
#X msg 106 64 0 20 40 60 80 100 120;
#X msg 118 97 set 100 200;
#X floatatom 68 81 0 0 0 0 - - -;
#X obj 68 183 print;
#X text 126 184 Optional arguments set the range. Default is 0 \, 0
;
#X text 187 98 changes the clipping range;
#X text 201 138 set min (int or float);
#X obj 380 6 import cyclone;
#X obj 68 153 Clip 10 50;
#X connect 1 0 13 2;
#X connect 2 0 13 1;
#X connect 4 0 13 0;
#X connect 5 0 13 0;
#X connect 6 0 13 0;
#X connect 7 0 13 0;
#X connect 13 0 8 0;