aboutsummaryrefslogtreecommitdiff
path: root/doc/pddp/clip-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pddp/clip-help.pd')
-rw-r--r--doc/pddp/clip-help.pd240
1 files changed, 140 insertions, 100 deletions
diff --git a/doc/pddp/clip-help.pd b/doc/pddp/clip-help.pd
index f1df628f..ea550110 100644
--- a/doc/pddp/clip-help.pd
+++ b/doc/pddp/clip-help.pd
@@ -1,106 +1,146 @@
-#N canvas 3 22 569 590 10;
-#X obj 114 540 pddp/pddplink http://puredata.info/dev/pddp -text pddp;
-#X obj 8 3 cnv 15 90 578 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X text 38 36 INLETS:;
-#X text 38 51 - LEFT:;
-#X text 32 230 - RIGHT:;
-#X text 29 346 OUTLETS:;
-#X text 13 281 ARGUMENTS:;
-#X text 20 392 EXAMPLES:;
-#X text 20 488 SEE ALSO:;
-#N canvas 58 22 423 272 Related_Objects 0;
-#X text 25 11 Native Pd Objects;
-#X text 23 92 Externals and other object libraries;
-#X obj 45 54 int;
-#X obj 85 53 f;
-#X obj 123 53 min;
-#X obj 166 53 max;
-#X obj 206 53 clip~;
-#X obj 260 53 min~;
-#X obj 308 53 max~;
-#X text 44 125 - none that I am aware of;
-#X restore 114 488 pd Related_Objects;
-#N canvas 57 22 651 632 More_Info 0;
-#X text 40 187 LOW AND HIGH VALUES;
-#X text 304 34 Consider the following:;
-#X floatatom 101 66 5 0 0 0 - - -;
-#X floatatom 83 147 5 0 0 0 - - -;
-#X obj 83 121 min 50;
-#X obj 83 95 max -50;
-#X text 170 106 same as;
-#X obj 271 104 clip -50 50;
-#X floatatom 271 133 5 0 0 0 - - -;
-#X text 43 18 [clip] is a tool which combines the functionality of
+#N canvas 0 0 555 619 10;
+#X obj 0 595 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0
+14 -228856 -66577 0;
+#X obj 0 0 cnv 15 552 40 empty \$0-pddp.cnv.header clip 3 12 0 18 -204280
+-1 0;
+#X obj 0 297 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
+-228856 -1 0;
+#N canvas 46 243 494 344 META 0;
+#X text 12 105 PLATFORM windows macosx gnulinux;
+#X text 12 205 LIBRARY internal;
+#X text 12 245 WEBSITE http://crca.ucsd.edu/~msp/;
+#X text 12 65 LICENSE SIBSD;
+#X text 12 225 AUTHOR Miller Puckette;
+#X text 12 305 HELP_PATCH_AUTHORS Dave Sabine \, April 25 \, 2003 Jonathan
+Wilkes revised the patch to conform to the PDDP template for Pd version
+0.42.;
+#X text 12 5 GENRE help;
+#X text 12 45 KEYWORDS control filter;
+#X text 12 85 DESCRIPTION force a number to lie between two limits
+;
+#X text 12 25 NAME clip;
+#X text 12 125 INLET_0 float list;
+#X text 12 185 OUTLET_0 float;
+#X text 12 145 INLET_1 float;
+#X text 12 165 INLET_2 float;
+#X text 12 265 RELEASE_DATE 2009;
+#X text 12 285 RELEASE_VERSION;
+#X restore 500 597 pd META;
+#X obj 0 415 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0
+13 -228856 -1 0;
+#X obj 0 458 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12
+0 13 -228856 -1 0;
+#X obj 0 533 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8 12
+0 13 -228856 -1 0;
+#X obj 78 306 cnv 17 3 45 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
+-162280 0;
+#N canvas 46 488 428 102 Related_objects 0;
+#X obj 234 43 int;
+#X obj 274 42 f;
+#X obj 22 42 min;
+#X obj 65 42 max;
+#X obj 105 42 clip~;
+#X obj 149 42 min~;
+#X obj 191 42 max~;
+#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
+14 -204280 -1 0;
+#X text 7 1 [clip] Related Objects;
+#X restore 101 597 pd Related_objects;
+#X obj 78 424 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
+-162280 0;
+#X obj 78 362 cnv 17 3 17 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856
+-162280 0;
+#X text 98 361 float;
+#X obj 78 387 cnv 17 3 17 empty \$0-pddp.cnv.let.2 2 5 9 0 16 -228856
+-162280 0;
+#X text 98 386 float;
+#X obj 487 3 clip;
+#X obj 460 20 pddp/pddplink http://wiki.puredata.info/en/clip -text
+pdpedia: clip;
+#X obj 306 179 clip -50 50;
+#X floatatom 306 205 5 0 0 0 - - -;
+#X floatatom 306 141 5 0 0 0 - - -;
+#X text 383 177 creation arguments;
+#X obj 128 179 clip;
+#X floatatom 138 140 5 0 0 0 - - -;
+#X floatatom 181 140 5 0 0 0 - - -;
+#X floatatom 224 140 5 0 0 0 - - -;
+#X floatatom 128 205 5 0 0 0 - - -;
+#X text 171 179 no arguments;
+#X text 205 108 list;
+#X msg 128 108 42 100 500;
+#X text 98 305 float;
+#X text 168 305 - a float at the left inlet will be clipped to the
+low and high values stored in the object.;
+#X text 98 424 float;
+#N canvas 102 355 428 206 clip_vs_min_and_max 0;
+#X text 10 70 Consider the following:;
+#X floatatom 50 96 5 0 0 0 - - -;
+#X floatatom 50 177 5 0 0 0 - - -;
+#X obj 50 151 min 50;
+#X obj 50 125 max -50;
+#X text 137 136 same as;
+#X obj 257 148 clip -50 50;
+#X floatatom 257 177 5 0 0 0 - - -;
+#X text 10 37 [clip] is a tool which combines the functionality of
[min] and [max] into a single object.;
-#X text 56 208 [clip] always assumes that the first argument (second
+#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
+14 -204280 -1 0;
+#X text 7 1 [clip] Relationship between [clip] and [min] \, [max];
+#X connect 1 0 4 0;
+#X connect 1 0 6 0;
+#X connect 3 0 2 0;
+#X connect 4 0 3 0;
+#X connect 6 0 7 0;
+#X restore 101 567 pd clip_vs_min_and_max;
+#N canvas 99 243 428 294 low_and_high_values 0;
+#X text 35 32 [clip] always assumes that the first argument (second
inlet) is the low extreme of the range and the second argument (third
inlet) is the high extreme. However \, strange behaviour should be
expected if you mix these arguments up.;
-#X obj 64 331 clip -50 50;
-#X obj 190 325 clip 72 -104;
-#X floatatom 64 298 5 0 0 0 - - -;
-#X floatatom 64 360 5 0 0 0 - - -;
-#X floatatom 190 357 5 0 0 0 - - -;
-#X text 195 284 Numbers below 72 are clipped to 72;
-#X text 195 304 Numbers above -104 are clipped to -104;
-#X text 72 405 This could be used effectively to toggle between two
-numbers.;
-#X floatatom 401 383 5 0 0 0 - - -;
-#X obj 370 360 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+#X obj 43 155 clip -50 50;
+#X obj 169 149 clip 72 -104;
+#X floatatom 43 122 5 0 0 0 - - -;
+#X floatatom 43 184 5 0 0 0 - - -;
+#X floatatom 169 181 5 0 0 0 - - -;
+#X text 174 104 Numbers below 72 are clipped to 72;
+#X text 174 124 Numbers above -104 are clipped to -104;
+#X floatatom 311 258 5 0 0 0 - - -;
+#X obj 311 214 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
-#X obj 402 352 clip 1 -1024;
+#X obj 311 236 clip 1 -1024;
+#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
+14 -204280 -1 0;
+#X text 7 1 [clip] Low and High Values;
+#X text 114 238 This could be used effectively;
+#X text 114 253 to toggle between two numbers.;
+#X connect 1 0 4 0;
#X connect 2 0 5 0;
-#X connect 2 0 7 0;
-#X connect 4 0 3 0;
-#X connect 5 0 4 0;
-#X connect 7 0 8 0;
-#X connect 11 0 14 0;
-#X connect 12 0 15 0;
-#X connect 13 0 11 0;
-#X connect 13 0 12 0;
-#X connect 20 0 21 0;
-#X connect 21 0 19 0;
-#X restore 114 514 pd More_Info;
-#X obj 57 11 clip;
-#X text 105 51 Float - A float at the left inlet will be clipped to
-the low and high values stored in the object.;
-#X text 105 82 List - A list at the left inlet will be truncated to
-include only the first three elements. The first element in the list
-is the number which will be clipped. The second element will update
-the value stored at the second inlet. The third element will update
-the value stored at the third inlet.;
-#X text 25 180 - CENTER:;
-#X text 105 180 Float - A float at the second inlet is stored for later
-use. It will be used as either the low or high value at which to clip
-incoming floats at that left inlet.;
-#X text 105 231 Float - A float at the third inlet is stored for later
-use. It will be used as either the low or high value at which to clip
-incoming floats at that left inlet.;
-#X text 104 281 Two - [float] accepts two floats as creation arguments
-which initializes the first values to be stored in the object and duplicate
-the functions of the second and third inlet.;
-#X text 108 12 - FORCE A NUMBER INTO A RANGE;
-#X obj 122 428 clip -50 50;
-#X floatatom 122 455 5 0 0 0 - - -;
-#X floatatom 122 404 5 0 0 0 - - -;
-#X text 181 405 creation arguments;
-#X obj 411 466 clip;
-#X floatatom 410 437 5 0 0 0 - - -;
-#X floatatom 460 437 5 0 0 0 - - -;
-#X floatatom 510 437 5 0 0 0 - - -;
-#X floatatom 411 492 5 0 0 0 - - -;
-#X text 464 468 no arguments;
-#X text 450 405 list;
-#X text 158 541 - Dave Sabine \, April 25 \, 2003;
-#X msg 373 405 42 100 500;
-#X text 344 565 updated for Pd version 0.38-2;
-#X text 102 346 One - outputs a float which is limited to a range within
-the high and low values of the second and third inlet.;
-#X connect 19 0 20 0;
-#X connect 21 0 19 0;
-#X connect 23 0 27 0;
-#X connect 24 0 23 0;
-#X connect 25 0 23 1;
-#X connect 26 0 23 2;
-#X connect 31 0 23 0;
+#X connect 3 0 1 0;
+#X connect 3 0 2 0;
+#X connect 9 0 10 0;
+#X connect 10 0 8 0;
+#X restore 101 542 pd low_and_high_values;
+#X text 11 23 force a number to lie between two limits;
+#X text 168 424 - outputs a float which is limited to a range within
+the high and low values of the middle and last inlet.;
+#X text 167 477 - (optional) initial minimum value beyond which to
+clip the signal.;
+#X text 167 502 - (optional) initial maximum value beyond which to
+clip the signal.;
+#X text 80 477 1) float;
+#X text 80 502 2) float;
+#X text 168 386 - maximum value beyond which the incoming signal is
+clipped.;
+#X text 168 361 - minimum value beyond which the incoming signal is
+clipped.;
+#X text 98 335 list;
+#X text 168 335 - a list is distributed to the inlets of [clip].;
+#X obj 4 597 pddp/pddplink pddp/help.pd -text help;
+#X connect 16 0 17 0;
+#X connect 18 0 16 0;
+#X connect 20 0 24 0;
+#X connect 21 0 20 0;
+#X connect 22 0 20 1;
+#X connect 23 0 20 2;
+#X connect 27 0 20 0;