aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patches/pdp_charcoal.pd268
1 files changed, 268 insertions, 0 deletions
diff --git a/patches/pdp_charcoal.pd b/patches/pdp_charcoal.pd
new file mode 100644
index 0000000..f417506
--- /dev/null
+++ b/patches/pdp_charcoal.pd
@@ -0,0 +1,268 @@
+#N canvas 355 35 712 664 10;
+#X obj 268 64 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 123 136 loop \$1;
+#X obj 124 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
+1;
+#X msg 370 44 open \$1;
+#X obj 369 20 openpanel;
+#X obj 354 3 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X floatatom 316 99 5 0 0 0 - - -;
+#X msg 225 65 stop;
+#X obj 323 68 hsl 300 15 0 1000 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 0 1;
+#X obj 257 135 metro 70;
+#X obj 252 167 pdp_yqt;
+#X obj 421 166 pdp_v4l;
+#X obj 430 135 metro 70;
+#X obj 475 101 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
+-1;
+#X msg 432 102 stop;
+#X msg 517 133 open /dev/video;
+#X obj 549 361 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X obj 549 413 pdp_control;
+#X msg 549 386 thread \$1;
+#X floatatom 549 474 5 0 0 0 - - -;
+#X obj 549 443 route pdp_drop;
+#X floatatom 322 407 5 0 0 0 - - -;
+#X text 389 405 Blur factor;
+#N canvas 346 16 870 675 edge_detect 0;
+#X obj 343 530 pdp_mul;
+#X obj 132 421 inlet;
+#X obj 234 621 outlet;
+#X obj 133 442 pdp_trigger p p;
+#X obj 344 499 pdp_conv;
+#X obj 14 503 pdp_conv;
+#X obj 47 150 loadbang;
+#X floatatom 83 180 5 0 0 0 - - -;
+#X obj 258 84 inlet;
+#X obj 15 532 pdp_mul;
+#X obj 95 256 / 2;
+#X obj 47 213 t f f f;
+#X obj 47 300 pack f f f;
+#X obj 47 256 / 2;
+#X msg 47 341 vmask \$1 \$2 \$3;
+#X msg 168 341 hmask \$1 0 \$2;
+#X obj 168 300 pack f f;
+#X obj 168 212 t f f;
+#X obj 206 255 * -1;
+#X obj 325 148 loadbang;
+#X floatatom 361 178 5 0 0 0 - - -;
+#X obj 373 254 / 2;
+#X obj 325 211 t f f f;
+#X obj 325 298 pack f f f;
+#X obj 325 254 / 2;
+#X obj 446 298 pack f f;
+#X obj 446 210 t f f;
+#X obj 484 253 * -1;
+#X msg 325 339 hmask \$1 \$2 \$3;
+#X msg 446 339 vmask \$1 0 \$2;
+#X text 245 57 Kernel's peak;
+#X floatatom 120 231 5 0 0 0 - - -;
+#X floatatom 241 224 5 0 0 0 - - -;
+#X floatatom 1 217 5 0 0 0 - - -;
+#X msg 47 179 10;
+#X msg 325 177 10;
+#X obj 234 584 pdp_add;
+#X connect 0 0 36 1;
+#X connect 1 0 3 0;
+#X connect 3 0 5 0;
+#X connect 3 1 4 0;
+#X connect 4 0 0 1;
+#X connect 4 0 0 0;
+#X connect 5 0 9 1;
+#X connect 5 0 9 0;
+#X connect 6 0 34 0;
+#X connect 7 0 11 0;
+#X connect 7 0 17 0;
+#X connect 8 0 7 0;
+#X connect 8 0 20 0;
+#X connect 9 0 36 0;
+#X connect 10 0 12 2;
+#X connect 11 0 13 0;
+#X connect 11 1 12 1;
+#X connect 11 2 10 0;
+#X connect 12 0 14 0;
+#X connect 13 0 12 0;
+#X connect 14 0 5 0;
+#X connect 15 0 5 0;
+#X connect 16 0 15 0;
+#X connect 17 0 16 0;
+#X connect 17 1 18 0;
+#X connect 18 0 16 1;
+#X connect 19 0 35 0;
+#X connect 20 0 22 0;
+#X connect 20 0 26 0;
+#X connect 21 0 23 2;
+#X connect 22 0 24 0;
+#X connect 22 1 23 1;
+#X connect 22 2 21 0;
+#X connect 23 0 28 0;
+#X connect 24 0 23 0;
+#X connect 25 0 29 0;
+#X connect 26 0 25 0;
+#X connect 26 1 27 0;
+#X connect 27 0 25 1;
+#X connect 28 0 4 0;
+#X connect 29 0 4 0;
+#X connect 31 0 10 1;
+#X connect 31 0 21 1;
+#X connect 32 0 18 1;
+#X connect 32 0 27 1;
+#X connect 33 0 13 1;
+#X connect 33 0 24 1;
+#X connect 34 0 11 0;
+#X connect 34 0 17 0;
+#X connect 35 0 22 0;
+#X connect 35 0 26 0;
+#X connect 36 0 2 0;
+#X restore 216 328 pd edge_detect;
+#X floatatom 333 330 5 0 0 0 - - -;
+#N canvas 0 0 450 300 blur 0;
+#X obj 26 33 inlet;
+#X obj 26 174 outlet;
+#X obj 26 134 pdp_bq;
+#X obj 70 66 pdp_ut_addscaleclip -1 -0.5 0.05 0.48;
+#X obj 70 33 inlet;
+#X msg 181 34 2;
+#X msg 70 98 lpf \$1 0.25;
+#X msg 136 34 0;
+#X obj 136 10 loadbang;
+#X msg 163 98 hor 1;
+#X msg 209 98 ver 1;
+#X connect 0 0 2 0;
+#X connect 2 0 1 0;
+#X connect 3 0 6 0;
+#X connect 4 0 3 0;
+#X connect 5 0 2 1;
+#X connect 6 0 2 0;
+#X connect 7 0 3 0;
+#X connect 8 0 7 0;
+#X connect 8 0 5 0;
+#X connect 8 0 9 0;
+#X connect 8 0 10 0;
+#X connect 9 0 2 0;
+#X connect 10 0 2 0;
+#X restore 216 407 pd blur;
+#N canvas 0 0 450 300 invert 0;
+#X obj 34 51 inlet;
+#X obj 34 236 outlet;
+#X obj 34 173 pdp_gain;
+#X obj 34 100 pdp_cheby 1;
+#X obj 153 24 loadbang;
+#X msg 141 146 chanmask 6;
+#X msg 153 58 chanmask 1 \, coef 0 1 \, coef 1 -1;
+#X msg 141 120 -1;
+#X connect 0 0 3 0;
+#X connect 2 0 1 0;
+#X connect 3 0 2 0;
+#X connect 4 0 6 0;
+#X connect 5 0 2 0;
+#X connect 6 0 3 0;
+#X connect 6 0 7 0;
+#X connect 7 0 2 1;
+#X connect 7 0 5 0;
+#X restore 215 525 pd invert;
+#X text 97 582 charcoal effect : made with basic pdp objects;
+#X obj 216 375 pdp_spigot;
+#X obj 296 376 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X obj 215 496 pdp_spigot;
+#X obj 298 496 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X obj 216 300 pdp_spigot;
+#X obj 298 300 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X obj 216 266 pdp_grey;
+#X obj 216 237 pdp_spigot;
+#X obj 298 238 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X text 325 238 on/off;
+#X text 327 300 on/off;
+#X text 329 376 on/off;
+#X text 328 496 on/off;
+#X text 383 328 Kernel's peak;
+#X text 97 596 monochrome + edge detection + blur + normalize + negate
+;
+#X obj 215 439 pdp_spigot;
+#X obj 298 439 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X text 328 439 on/off;
+#N canvas 0 0 450 300 agc 0;
+#X obj 174 115 pdp_cog;
+#X obj 174 222 /;
+#X obj 174 147 t b f;
+#X obj 116 89 pdp_t p p;
+#X obj 116 252 pdp_gain;
+#X obj 23 40 inlet;
+#X obj 238 146 inlet;
+#X obj 116 279 outlet;
+#X obj 23 62 route chanmask;
+#X msg 23 102 chanmask \$1;
+#X obj 174 183 f 1;
+#X connect 0 0 2 0;
+#X connect 1 0 4 1;
+#X connect 2 0 10 0;
+#X connect 2 1 1 1;
+#X connect 3 0 4 0;
+#X connect 3 1 0 0;
+#X connect 4 0 7 0;
+#X connect 5 0 8 0;
+#X connect 6 0 10 1;
+#X connect 8 0 9 0;
+#X connect 8 1 3 0;
+#X connect 9 0 4 0;
+#X connect 10 0 1 0;
+#X restore 215 467 pd agc;
+#X floatatom 325 468 5 0 0 0 - - -;
+#X text 390 471 Normalization gain;
+#X obj 132 207 inlet;
+#X obj 215 556 outlet;
+#X obj 276 467 inlet;
+#X connect 0 0 9 0;
+#X connect 1 0 10 0;
+#X connect 2 0 1 0;
+#X connect 3 0 10 0;
+#X connect 4 0 3 0;
+#X connect 5 0 4 0;
+#X connect 6 0 9 1;
+#X connect 7 0 9 0;
+#X connect 8 0 6 0;
+#X connect 9 0 10 0;
+#X connect 10 0 35 0;
+#X connect 11 0 35 0;
+#X connect 12 0 11 0;
+#X connect 13 0 12 0;
+#X connect 14 0 12 0;
+#X connect 15 0 11 0;
+#X connect 16 0 18 0;
+#X connect 17 0 20 0;
+#X connect 18 0 17 0;
+#X connect 20 0 19 0;
+#X connect 21 0 25 1;
+#X connect 23 0 28 0;
+#X connect 24 0 23 1;
+#X connect 25 0 43 0;
+#X connect 26 0 50 0;
+#X connect 28 0 25 0;
+#X connect 28 1 30 0;
+#X connect 29 0 28 1;
+#X connect 30 0 26 0;
+#X connect 30 1 50 0;
+#X connect 31 0 30 1;
+#X connect 32 0 23 0;
+#X connect 32 1 28 0;
+#X connect 33 0 32 1;
+#X connect 34 0 32 0;
+#X connect 35 0 34 0;
+#X connect 35 1 32 0;
+#X connect 36 0 35 1;
+#X connect 43 0 46 0;
+#X connect 43 1 30 0;
+#X connect 44 0 43 1;
+#X connect 46 0 30 0;
+#X connect 47 0 46 1;
+#X connect 49 0 35 0;
+#X connect 51 0 47 0;