diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/collage.pd | 20 | ||||
-rw-r--r-- | patches/help_emboss.pd | 73 | ||||
-rw-r--r-- | patches/help_invert.pd | 56 | ||||
-rw-r--r-- | patches/help_pdp_effects_rack.pd | 62 | ||||
-rw-r--r-- | patches/help_sobel_edge.pd | 92 |
5 files changed, 204 insertions, 99 deletions
diff --git a/patches/collage.pd b/patches/collage.pd index 3a19e6b..6e4c4aa 100644 --- a/patches/collage.pd +++ b/patches/collage.pd @@ -6,7 +6,7 @@ -1; #X msg 57 198 clear; #X obj 235 193 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 11600 1; +-1 -1 0 1; #X obj 141 195 pdp_imgloader; #X msg 55 160 load \$1; #X floatatom 588 165 5 0 0 0 - - -; @@ -16,7 +16,7 @@ -1; #X msg 401 196 clear; #X obj 579 191 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 3000 1; +-1 -1 0 1; #X obj 485 193 pdp_imgloader; #X msg 399 158 load \$1; #X floatatom 244 302 5 0 0 0 - - -; @@ -26,7 +26,7 @@ -1; #X msg 59 329 clear; #X obj 244 325 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 9500 1; +-1 -1 0 1; #X obj 143 326 pdp_imgloader; #X msg 57 291 load \$1; #X floatatom 593 291 5 0 0 0 - - -; @@ -36,14 +36,14 @@ -1; #X msg 403 321 clear; #X obj 588 319 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 9600 1; +-1 -1 0 1; #X obj 487 318 pdp_imgloader; #X msg 401 283 load \$1; #X obj 320 395 pdp_xv; #X obj 196 20 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 55 85 loop \$1; -#X obj 56 63 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1 +#X obj 56 63 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1 ; #X msg 100 54 open \$1; #X obj 99 30 openpanel; @@ -71,7 +71,7 @@ -1 0; #X msg 156 274 unhide \$1; #X obj 506 434 hradio 15 1 0 5 hide-layer empty empty 0 -6 128 8 -262144 --1 -1 1; +-1 -1 4; #X text 506 416 Select layer; #X obj 486 292 r layer-4; #X obj 142 167 r layer-1; @@ -88,11 +88,11 @@ #X msg 513 400 4; #X obj 321 453 ../doc/handle-clicks; #X obj 321 478 route 0 1 2 3 4; -#X obj 230 506 s layer-0; +#X obj 216 507 s layer-0; #X obj 289 506 s layer-1; -#X obj 348 506 s layer-2; -#X obj 410 506 s layer-3; -#X obj 471 506 s layer-4; +#X obj 363 507 s layer-2; +#X obj 435 507 s layer-3; +#X obj 509 507 s layer-4; #X msg 257 276 load images/wealth2.jpg; #X obj 311 258 loadbang; #X obj 256 57 pdp_noise; diff --git a/patches/help_emboss.pd b/patches/help_emboss.pd index 2c6bcf2..0ddcf99 100644 --- a/patches/help_emboss.pd +++ b/patches/help_emboss.pd @@ -1,7 +1,6 @@ -#N canvas 237 46 649 451 10; -#X obj 134 240 pdp_conv_emboss; -#X obj 151 303 pdp_xv; -#X floatatom 223 210 5 0 0; +#N canvas 383 56 649 451 10; +#X obj 142 292 pdp_xv; +#X floatatom 223 210 5 0 0 0 - - -; #X obj 153 39 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 58 107 loop \$1; @@ -11,7 +10,7 @@ #X obj 254 -5 openpanel; #X obj 239 -22 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; -#X floatatom 201 74 5 0 0; +#X floatatom 201 74 5 0 0 0 - - -; #X msg 110 40 stop; #X obj 208 43 hsl 300 15 0 1000 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; @@ -23,21 +22,55 @@ -1; #X msg 317 77 stop; #X msg 402 108 open /dev/video; -#X connect 0 0 1 0; -#X connect 2 0 0 1; +#N canvas 0 0 450 300 emboss 0; +#X obj 30 55 inlet; +#X obj 29 206 outlet; +#X obj 29 93 pdp_conv; +#X obj 29 126 pdp_add; +#X obj 108 9 loadbang; +#X obj 218 86 pdp_conv; +#X obj 29 176 pdp_affine 1; +#X msg 108 151 0.5; +#X msg 108 37 hmask 1 0 0; +#X msg 218 35 hmask 0 0 1; +#X obj 145 151 inlet; +#X msg 218 60 vmask 0 0 1; +#X msg 108 60 vmask -1 0 0; +#X msg 129 203 chanmask 6; +#X connect 0 0 2 0; +#X connect 0 0 5 0; +#X connect 2 0 3 0; +#X connect 3 0 6 0; +#X connect 4 0 8 0; +#X connect 4 0 9 0; +#X connect 5 0 3 1; +#X connect 6 0 1 0; +#X connect 7 0 6 2; +#X connect 7 0 13 0; +#X connect 8 0 2 0; +#X connect 8 0 12 0; +#X connect 9 0 5 0; +#X connect 9 0 11 0; +#X connect 10 0 6 2; +#X connect 11 0 5 0; +#X connect 12 0 2 0; +#X connect 12 0 7 0; +#X connect 13 0 6 0; +#X restore 142 233 pd emboss; +#X connect 1 0 18 1; +#X connect 2 0 11 0; #X connect 3 0 12 0; -#X connect 4 0 13 0; -#X connect 5 0 4 0; -#X connect 6 0 13 0; +#X connect 4 0 3 0; +#X connect 5 0 12 0; +#X connect 6 0 5 0; #X connect 7 0 6 0; -#X connect 8 0 7 0; -#X connect 9 0 12 1; -#X connect 10 0 12 0; -#X connect 11 0 9 0; -#X connect 12 0 13 0; -#X connect 13 0 0 0; -#X connect 14 0 0 0; +#X connect 8 0 11 1; +#X connect 9 0 11 0; +#X connect 10 0 8 0; +#X connect 11 0 12 0; +#X connect 12 0 18 0; +#X connect 14 0 13 0; #X connect 15 0 14 0; -#X connect 16 0 15 0; -#X connect 17 0 15 0; -#X connect 18 0 14 0; +#X connect 16 0 14 0; +#X connect 17 0 13 0; +#X connect 18 0 0 0; diff --git a/patches/help_invert.pd b/patches/help_invert.pd index 2f40700..700b628 100644 --- a/patches/help_invert.pd +++ b/patches/help_invert.pd @@ -1,7 +1,5 @@ #N canvas 237 46 649 451 10; -#X obj 134 240 pdp_invert; -#X obj 151 303 pdp_xv; -#X floatatom 223 210 5 0 0; +#X obj 134 300 pdp_xv; #X obj 153 39 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 58 107 loop \$1; @@ -11,7 +9,7 @@ #X obj 254 -5 openpanel; #X obj 239 -22 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; -#X floatatom 201 74 5 0 0; +#X floatatom 201 74 5 0 0 0 - - -; #X msg 110 40 stop; #X obj 208 43 hsl 300 15 0 1000 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; @@ -23,20 +21,38 @@ -1; #X msg 317 77 stop; #X msg 402 108 open /dev/video; -#X connect 0 0 1 0; -#X connect 3 0 12 0; -#X connect 4 0 13 0; +#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 134 240 pd invert; +#X connect 1 0 10 0; +#X connect 2 0 11 0; +#X connect 3 0 2 0; +#X connect 4 0 11 0; #X connect 5 0 4 0; -#X connect 6 0 13 0; -#X connect 7 0 6 0; -#X connect 8 0 7 0; -#X connect 9 0 12 1; -#X connect 10 0 12 0; -#X connect 11 0 9 0; -#X connect 12 0 13 0; -#X connect 13 0 0 0; -#X connect 14 0 0 0; -#X connect 15 0 14 0; -#X connect 16 0 15 0; -#X connect 17 0 15 0; -#X connect 18 0 14 0; +#X connect 6 0 5 0; +#X connect 7 0 10 1; +#X connect 8 0 10 0; +#X connect 9 0 7 0; +#X connect 10 0 11 0; +#X connect 11 0 17 0; +#X connect 13 0 12 0; +#X connect 14 0 13 0; +#X connect 15 0 13 0; +#X connect 16 0 12 0; +#X connect 17 0 0 0; diff --git a/patches/help_pdp_effects_rack.pd b/patches/help_pdp_effects_rack.pd index 55d95b8..cdf211e 100644 --- a/patches/help_pdp_effects_rack.pd +++ b/patches/help_pdp_effects_rack.pd @@ -30,7 +30,7 @@ #X floatatom 93 168 5 0 0 0 - - -; #X obj 46 141 pdp_aging; #X obj 190 140 pdp_baltan; -#X floatatom 189 164 10 0 0 0 - - -; +#X floatatom 190 162 10 0 0 0 - - -; #X obj 403 102 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 321 114 pdp_spigot; @@ -87,7 +87,7 @@ 1; #X obj 203 217 pdp_spigot; #X msg 218 270 bang; -#X obj 199 272 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +#X obj 199 272 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 202 247 pdp_ripple; #X floatatom 198 292 5 0 0 0 - - -; @@ -98,7 +98,7 @@ #X obj 65 240 pdp_simura; #X floatatom 62 283 5 0 0 0 - - -; #X obj 48 263 hdl 15 1 0 9 empty empty empty 0 -6 0 8 -262144 -1 -1 -6; +0; #X obj 126 310 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 44 322 pdp_spigot; @@ -157,7 +157,7 @@ #X obj 19 544 pdp_zoom; #X floatatom 68 500 5 0 0 0 - - -; #X obj 152 436 hsl 300 15 0.01 100 1 1 empty empty empty -2 -6 0 8 --262144 -1 -1 15704 1; +-262144 -1 -1 16604 1; #X floatatom 122 547 5 0 0 0 - - -; #X obj 146 487 hsl 300 15 0.01 100 1 1 empty empty empty -2 -6 0 8 -262144 -1 -1 14200 1; @@ -199,29 +199,29 @@ #X obj 817 117 pdp_spigot; #X floatatom 818 165 5 0 0 0 - - -; #X obj 816 141 pdp_dice; -#X obj 889 403 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; -#X obj 810 414 pdp_spigot; -#X floatatom 883 441 5 0 0 0 - - -; -#X obj 809 438 pdp_puzzle; -#X msg 813 464 up; -#X msg 845 464 down; -#X msg 885 464 left; -#X msg 925 464 right; -#X obj 848 492 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; -#X obj 848 544 pdp_control; -#X msg 848 517 thread \$1; -#X floatatom 848 605 5 0 0 0 - - -; -#X obj 848 576 route pdp_drop; +#X obj 903 405 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 824 416 pdp_spigot; +#X floatatom 897 443 5 0 0 0 - - -; +#X obj 823 440 pdp_puzzle; +#X msg 825 466 up; +#X msg 857 466 down; +#X msg 897 466 left; +#X msg 937 466 right; +#X obj 845 516 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 845 568 pdp_control; +#X msg 845 541 thread \$1; +#X floatatom 845 629 5 0 0 0 - - -; +#X obj 845 600 route pdp_drop; #X msg 568 588 framerate 10; #X obj 225 93 dac~; #X floatatom 312 21 5 0 0 0 - - -; -#X obj 740 404 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X obj 754 432 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X obj 661 415 pdp_spigot; -#X obj 660 438 pdp_ascii; -#X floatatom 730 439 5 0 0 0 - - -; +#X obj 675 443 pdp_spigot; +#X obj 674 466 pdp_ascii; +#X floatatom 744 467 5 0 0 0 - - -; #X floatatom 580 272 5 0 0 0 - - -; #X floatatom 829 266 5 0 0 0 - - -; #X obj 313 44 t b f; @@ -241,8 +241,13 @@ #X obj 321 686 pdp_ffmpeg~; #X msg 20 693 feed http://localhost:8090/feed1.ffm; #X msg 421 687 starve; -#X obj 287 642 pdp_xv; +#X obj 285 641 pdp_xv; #X obj 102 601 pdp_i 2003; +#X obj 598 433 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 519 444 pdp_spigot; +#X obj 518 467 pdp_charcoal; +#X floatatom 613 468 5 0 0 0 - - -; #X connect 0 0 8 0; #X connect 1 0 9 0; #X connect 2 0 1 0; @@ -434,9 +439,9 @@ #X connect 168 0 189 0; #X connect 170 0 177 0; #X connect 171 0 172 1; -#X connect 172 0 122 0; +#X connect 172 0 196 0; #X connect 172 1 173 0; -#X connect 173 0 122 0; +#X connect 173 0 196 0; #X connect 174 0 173 1; #X connect 175 0 53 1; #X connect 176 0 49 2; @@ -461,3 +466,8 @@ #X connect 191 0 190 0; #X connect 192 0 190 0; #X connect 194 0 193 0; +#X connect 195 0 196 1; +#X connect 196 0 122 0; +#X connect 196 1 197 0; +#X connect 197 0 122 0; +#X connect 198 0 197 1; diff --git a/patches/help_sobel_edge.pd b/patches/help_sobel_edge.pd index 011a781..9834fd9 100644 --- a/patches/help_sobel_edge.pd +++ b/patches/help_sobel_edge.pd @@ -1,19 +1,18 @@ -#N canvas 237 21 712 664 10; +#N canvas 355 36 712 664 10; #X obj 218 367 pdp_xv; #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 +#X obj 124 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 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; +#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 283 243 dac~; #X obj 257 135 metro 70; #X obj 252 167 pdp_yqt; #X obj 421 166 pdp_v4l; @@ -22,33 +21,80 @@ -1; #X msg 432 102 stop; #X msg 517 133 open /dev/video; -#X obj 217 299 pdp_conv_sobel_edge; #X obj 422 335 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 422 387 pdp_control; #X msg 422 360 thread \$1; -#X floatatom 422 448 5 0 0; +#X floatatom 422 448 5 0 0 0 - - -; #X obj 422 417 route pdp_drop; -#X connect 1 0 11 0; -#X connect 2 0 12 0; +#N canvas 0 0 450 300 edge_detection 1; +#X obj 230 280 pdp_add; +#X obj 337 232 pdp_mul; +#X obj 21 63 inlet; +#X obj 230 317 outlet; +#X obj 22 84 pdp_trigger p p; +#X obj 333 185 pdp_conv; +#X obj 372 86 loadbang; +#X msg 373 144 hmask -1 -1 \$1 -1 -1; +#X msg 399 171 vmask -1 -1 \$1 -1 -1; +#X msg 372 115 5; +#X floatatom 408 116 5 0 0 0 - - -; +#X obj 23 194 pdp_conv; +#X obj 101 116 loadbang; +#X msg 102 174 hmask -1 -1 \$1 -1 -1; +#X msg 128 201 vmask -1 -1 \$1 -1 -1; +#X msg 101 145 5; +#X floatatom 137 146 5 0 0 0 - - -; +#X obj 258 84 inlet; +#X text 254 51 Weight of the kernel's peak; +#X obj 22 236 pdp_mul; +#X connect 0 0 3 0; +#X connect 1 0 0 1; +#X connect 2 0 4 0; +#X connect 4 0 11 0; +#X connect 4 1 5 0; +#X connect 5 0 1 1; +#X connect 5 0 1 0; +#X connect 6 0 9 0; +#X connect 7 0 5 0; +#X connect 8 0 5 0; +#X connect 9 0 7 0; +#X connect 9 0 8 0; +#X connect 10 0 7 0; +#X connect 10 0 8 0; +#X connect 11 0 19 1; +#X connect 11 0 19 0; +#X connect 12 0 15 0; +#X connect 13 0 11 0; +#X connect 14 0 11 0; +#X connect 15 0 13 0; +#X connect 15 0 14 0; +#X connect 16 0 13 0; +#X connect 16 0 14 0; +#X connect 17 0 16 0; +#X connect 17 0 10 0; +#X connect 19 0 0 0; +#X restore 217 301 pd edge_detection; +#X floatatom 342 269 5 0 0 0 - - -; +#X text 388 268 Radius; +#X connect 1 0 10 0; +#X connect 2 0 11 0; #X connect 3 0 2 0; -#X connect 4 0 12 0; +#X connect 4 0 11 0; #X connect 5 0 4 0; #X connect 6 0 5 0; -#X connect 7 0 11 1; -#X connect 8 0 11 0; +#X connect 7 0 10 1; +#X connect 8 0 10 0; #X connect 9 0 7 0; -#X connect 11 0 12 0; -#X connect 12 0 18 0; -#X connect 12 3 10 0; -#X connect 12 4 10 1; -#X connect 13 0 18 0; +#X connect 10 0 11 0; +#X connect 11 0 22 0; +#X connect 13 0 12 0; #X connect 14 0 13 0; -#X connect 15 0 14 0; -#X connect 16 0 14 0; -#X connect 17 0 13 0; -#X connect 18 0 0 0; -#X connect 19 0 21 0; -#X connect 20 0 23 0; +#X connect 15 0 13 0; +#X connect 16 0 12 0; +#X connect 17 0 19 0; +#X connect 18 0 21 0; +#X connect 19 0 18 0; #X connect 21 0 20 0; -#X connect 23 0 22 0; +#X connect 22 0 0 0; +#X connect 23 0 22 1; |