/usr/lib/pd/extra/zexy/wrap-help.pd is in pd-zexy 2.2.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | #N canvas 0 31 540 641 10;
#X text 118 18 wrap a float between to limits;
#X obj 71 18 wrap;
#X obj 42 150 wrap;
#X floatatom 42 132 5 0 0 0 - - -;
#X floatatom 42 173 5 0 0 0 - - -;
#X floatatom 42 242 5 0 0 0 - - -;
#X floatatom 42 283 5 0 0 0 - - -;
#X text 32 94 if called without arguments \, [wrap] will wrap the input
between [0 \, 1);
#X text 32 204 if called with one argument f \, [wrap] will wrap the
input between [0 \, f);
#X text 37 53 (somehow a float-capable modulo-function with some extensions)
;
#X floatatom 32 342 5 0 0 0 - - -;
#X floatatom 32 383 5 0 0 0 - - -;
#X text 22 306 if called with two arguments f1 f2 \, [wrap] will wrap
the input between [f1 \, f2);
#X obj 42 260 wrap 10.5;
#X floatatom 244 342 5 0 0 0 - - -;
#X floatatom 244 383 5 0 0 0 - - -;
#X text 127 361 is the same as;
#X obj 31 467 wrap;
#X floatatom 31 441 5 0 0 0 - - -;
#X floatatom 31 490 5 0 0 0 - - -;
#X obj 32 360 wrap 1 9.2;
#X obj 244 360 wrap 9.2 1;
#X msg 94 425 2 4;
#X msg 94 448 -8;
#X text 129 433 you can dynamically set the limits via the second inlet
;
#X text 143 472 if only one argument is given \, the second is assumed
as zero (0).;
#X text 137 513 wrapping is always done between [f1 \, f2) \, where
f1 is ALWAYS less than f2.;
#X text 130 563 if you need wrapping between (f1 \, f2] you have to
multiply the numbers with -1 before and after wrapping.;
#X text 458 20 part of zexy;
#N canvas 498 241 494 344 META 0;
#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 105 AUTHOR IOhannes m zmoelnig;
#X text 12 85 OUTLET_0 float;
#X text 12 5 KEYWORDS control;
#X text 12 45 DESCRIPTION wrap a float between to limits;
#X text 12 65 INLET_0 float;
#X restore 483 617 pd META;
#X connect 2 0 4 0;
#X connect 3 0 2 0;
#X connect 5 0 13 0;
#X connect 10 0 20 0;
#X connect 13 0 6 0;
#X connect 14 0 21 0;
#X connect 17 0 19 0;
#X connect 18 0 17 0;
#X connect 20 0 11 0;
#X connect 21 0 15 0;
|