From a0aef64af84622e8d6d02c7714fb82178dea0286 Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Fri, 28 Feb 2003 09:47:11 +0000 Subject: pdp docs svn path=/trunk/externals/pdp/; revision=439 --- doc/objects/help_pdp_add.pd | 24 ------- doc/objects/help_pdp_affine.pd | 18 ----- doc/objects/help_pdp_bq.pd | 149 --------------------------------------- doc/objects/help_pdp_bqt.pd | 95 ------------------------- doc/objects/help_pdp_cheby.pd | 47 ------------ doc/objects/help_pdp_chrot.pd | 13 ---- doc/objects/help_pdp_control.pd | 37 ---------- doc/objects/help_pdp_conv.pd | 44 ------------ doc/objects/help_pdp_del.pd | 24 ------- doc/objects/help_pdp_gain.pd | 32 --------- doc/objects/help_pdp_gradient.pd | 29 -------- doc/objects/help_pdp_grey.pd | 17 ----- doc/objects/help_pdp_mix.pd | 21 ------ doc/objects/help_pdp_mix2.pd | 25 ------- doc/objects/help_pdp_mul.pd | 24 ------- doc/objects/help_pdp_noise.pd | 21 ------ doc/objects/help_pdp_qt.pd | 71 ------------------- doc/objects/help_pdp_qt~.pd | 25 ------- doc/objects/help_pdp_randmix.pd | 21 ------ doc/objects/help_pdp_reg.pd | 20 ------ doc/objects/help_pdp_rotate.pd | 30 -------- doc/objects/help_pdp_route.pd | 22 ------ doc/objects/help_pdp_scale.pd | 32 --------- doc/objects/help_pdp_scan~.pd | 41 ----------- doc/objects/help_pdp_scope~.pd | 23 ------ doc/objects/help_pdp_snap.pd | 21 ------ doc/objects/help_pdp_trigger.pd | 14 ---- doc/objects/help_pdp_v4l.pd | 54 -------------- doc/objects/help_pdp_xv.pd | 29 -------- doc/objects/help_pdp_zoom.pd | 41 ----------- doc/objects/help_pdp_zrot.pd | 47 ------------ doc/objects/pdp_add.pd | 24 +++++++ doc/objects/pdp_affine.pd | 18 +++++ doc/objects/pdp_bq.pd | 149 +++++++++++++++++++++++++++++++++++++++ doc/objects/pdp_bqt.pd | 95 +++++++++++++++++++++++++ doc/objects/pdp_cheby.pd | 47 ++++++++++++ doc/objects/pdp_chrot.pd | 13 ++++ doc/objects/pdp_constant.pd | 21 ++++++ doc/objects/pdp_control.pd | 37 ++++++++++ doc/objects/pdp_conv.pd | 44 ++++++++++++ doc/objects/pdp_del.pd | 26 +++++++ doc/objects/pdp_gain.pd | 32 +++++++++ doc/objects/pdp_gradient.pd | 29 ++++++++ doc/objects/pdp_grey.pd | 17 +++++ doc/objects/pdp_grey2mask.pd | 25 +++++++ doc/objects/pdp_help_output.pd | 5 +- doc/objects/pdp_mix.pd | 21 ++++++ doc/objects/pdp_mix2.pd | 25 +++++++ doc/objects/pdp_mul.pd | 24 +++++++ doc/objects/pdp_noise.pd | 21 ++++++ doc/objects/pdp_qt.pd | 71 +++++++++++++++++++ doc/objects/pdp_qt~.pd | 25 +++++++ doc/objects/pdp_randmix.pd | 21 ++++++ doc/objects/pdp_reg.pd | 20 ++++++ doc/objects/pdp_rotate.pd | 30 ++++++++ doc/objects/pdp_route.pd | 22 ++++++ doc/objects/pdp_scale.pd | 32 +++++++++ doc/objects/pdp_scanxy~.pd | 76 ++++++++++++++++++++ doc/objects/pdp_scan~.pd | 41 +++++++++++ doc/objects/pdp_scope~.pd | 23 ++++++ doc/objects/pdp_snap.pd | 21 ++++++ doc/objects/pdp_trigger.pd | 14 ++++ doc/objects/pdp_v4l.pd | 54 ++++++++++++++ doc/objects/pdp_xv.pd | 36 ++++++++++ doc/objects/pdp_zoom.pd | 41 +++++++++++ doc/objects/pdp_zrot.pd | 47 ++++++++++++ 66 files changed, 1244 insertions(+), 1114 deletions(-) delete mode 100644 doc/objects/help_pdp_add.pd delete mode 100644 doc/objects/help_pdp_affine.pd delete mode 100644 doc/objects/help_pdp_bq.pd delete mode 100644 doc/objects/help_pdp_bqt.pd delete mode 100644 doc/objects/help_pdp_cheby.pd delete mode 100644 doc/objects/help_pdp_chrot.pd delete mode 100644 doc/objects/help_pdp_control.pd delete mode 100644 doc/objects/help_pdp_conv.pd delete mode 100644 doc/objects/help_pdp_del.pd delete mode 100644 doc/objects/help_pdp_gain.pd delete mode 100644 doc/objects/help_pdp_gradient.pd delete mode 100644 doc/objects/help_pdp_grey.pd delete mode 100644 doc/objects/help_pdp_mix.pd delete mode 100644 doc/objects/help_pdp_mix2.pd delete mode 100644 doc/objects/help_pdp_mul.pd delete mode 100644 doc/objects/help_pdp_noise.pd delete mode 100644 doc/objects/help_pdp_qt.pd delete mode 100644 doc/objects/help_pdp_qt~.pd delete mode 100644 doc/objects/help_pdp_randmix.pd delete mode 100644 doc/objects/help_pdp_reg.pd delete mode 100644 doc/objects/help_pdp_rotate.pd delete mode 100644 doc/objects/help_pdp_route.pd delete mode 100644 doc/objects/help_pdp_scale.pd delete mode 100644 doc/objects/help_pdp_scan~.pd delete mode 100644 doc/objects/help_pdp_scope~.pd delete mode 100644 doc/objects/help_pdp_snap.pd delete mode 100644 doc/objects/help_pdp_trigger.pd delete mode 100644 doc/objects/help_pdp_v4l.pd delete mode 100644 doc/objects/help_pdp_xv.pd delete mode 100644 doc/objects/help_pdp_zoom.pd delete mode 100644 doc/objects/help_pdp_zrot.pd create mode 100644 doc/objects/pdp_add.pd create mode 100644 doc/objects/pdp_affine.pd create mode 100644 doc/objects/pdp_bq.pd create mode 100644 doc/objects/pdp_bqt.pd create mode 100644 doc/objects/pdp_cheby.pd create mode 100644 doc/objects/pdp_chrot.pd create mode 100644 doc/objects/pdp_constant.pd create mode 100644 doc/objects/pdp_control.pd create mode 100644 doc/objects/pdp_conv.pd create mode 100644 doc/objects/pdp_del.pd create mode 100644 doc/objects/pdp_gain.pd create mode 100644 doc/objects/pdp_gradient.pd create mode 100644 doc/objects/pdp_grey.pd create mode 100644 doc/objects/pdp_grey2mask.pd create mode 100644 doc/objects/pdp_mix.pd create mode 100644 doc/objects/pdp_mix2.pd create mode 100644 doc/objects/pdp_mul.pd create mode 100644 doc/objects/pdp_noise.pd create mode 100644 doc/objects/pdp_qt.pd create mode 100644 doc/objects/pdp_qt~.pd create mode 100644 doc/objects/pdp_randmix.pd create mode 100644 doc/objects/pdp_reg.pd create mode 100644 doc/objects/pdp_rotate.pd create mode 100644 doc/objects/pdp_route.pd create mode 100644 doc/objects/pdp_scale.pd create mode 100644 doc/objects/pdp_scanxy~.pd create mode 100644 doc/objects/pdp_scan~.pd create mode 100644 doc/objects/pdp_scope~.pd create mode 100644 doc/objects/pdp_snap.pd create mode 100644 doc/objects/pdp_trigger.pd create mode 100644 doc/objects/pdp_v4l.pd create mode 100644 doc/objects/pdp_xv.pd create mode 100644 doc/objects/pdp_zoom.pd create mode 100644 doc/objects/pdp_zrot.pd (limited to 'doc/objects') diff --git a/doc/objects/help_pdp_add.pd b/doc/objects/help_pdp_add.pd deleted file mode 100644 index 4105dcf..0000000 --- a/doc/objects/help_pdp_add.pd +++ /dev/null @@ -1,24 +0,0 @@ -#N canvas 180 63 511 383 10; -#X msg 77 38 start; -#X msg 124 38 stop; -#X obj 77 70 pdp_help_input; -#X obj 77 322 pdp_help_output; -#X obj 77 279 pdp_add; -#X obj 121 246 pdp_reg; -#X obj 196 183 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X text 229 181 click here; -#X obj 77 163 pdp_gain; -#X floatatom 128 135 5 0 0; -#X msg 128 109 0.5; -#X text 229 283 adds (and saturates) 2 packets; -#X connect 0 0 2 0; -#X connect 1 0 2 0; -#X connect 2 0 8 0; -#X connect 4 0 3 0; -#X connect 5 0 4 1; -#X connect 6 0 5 0; -#X connect 8 0 4 0; -#X connect 8 0 5 1; -#X connect 9 0 8 1; -#X connect 10 0 9 0; diff --git a/doc/objects/help_pdp_affine.pd b/doc/objects/help_pdp_affine.pd deleted file mode 100644 index 3386fb8..0000000 --- a/doc/objects/help_pdp_affine.pd +++ /dev/null @@ -1,18 +0,0 @@ -#N canvas 278 50 576 226 10; -#X obj 31 121 pdp_affine 1; -#X obj 31 44 pdp_help_input; -#X obj 31 175 pdp_help_output; -#X floatatom 70 95 5 0 0; -#X floatatom 118 95 5 0 0; -#X msg 31 15 start; -#X msg 77 15 stop; -#X text 76 79 a; -#X text 128 80 b; -#X text 200 103 pdp_affine computes ax+b on an image x; -#X text 200 121 its use is depreciated. use pdp_cheby instead.; -#X connect 0 0 2 0; -#X connect 1 0 0 0; -#X connect 3 0 0 1; -#X connect 4 0 0 2; -#X connect 5 0 1 0; -#X connect 6 0 1 0; diff --git a/doc/objects/help_pdp_bq.pd b/doc/objects/help_pdp_bq.pd deleted file mode 100644 index 06c05da..0000000 --- a/doc/objects/help_pdp_bq.pd +++ /dev/null @@ -1,149 +0,0 @@ -#N canvas 364 134 765 779 10; -#X floatatom 100 598 5 0 0; -#X msg 28 361 ver \$1; -#X msg 28 393 hor \$1; -#X obj 96 362 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X obj 95 389 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X obj 28 629 pdp_bq; -#X floatatom 89 495 5 0 0; -#X msg 28 495 onep \$1; -#X floatatom 89 526 5 0 0; -#X msg 28 530 twop \$1; -#X obj 85 272 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 -; -#X obj 87 304 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X obj 79 209 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 -; -#X obj 82 244 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 -; -#X msg 28 209 lr \$1; -#X msg 28 244 rl \$1; -#X msg 28 277 tb \$1; -#X msg 28 305 bt \$1; -#X obj 454 406 t b f; -#X floatatom 489 369 5 0 0; -#X floatatom 488 317 5 0 0; -#X obj 454 436 pack s 0 0; -#X msg 454 469 \$1 \$2 \$3; -#X obj 489 405 t b f; -#X msg 410 370 lpf; -#X msg 409 344 hpf; -#X msg 409 398 apf; -#X msg 409 425 bsf; -#X obj 461 38 pdp_help_input; -#X msg 461 13 start; -#X msg 507 13 stop; -#X obj 28 746 pdp_help_output; -#X text 159 598 right inlet sets number of passes; -#X text 37 16 pdp_bq: a spatial biquad filter; -#X obj 495 196 pdp_blur; -#X obj 598 194 pdp_phase; -#X obj 461 93 pdp_route 3; -#X obj 533 65 hdl 15 1 0 3 empty empty empty 0 -6 0 8 -262144 -1 -1 -0; -#X obj 41 670 r \$0-out; -#X obj 495 246 s \$0-out; -#X floatatom 544 119 5 0 0; -#X floatatom 617 117 5 0 0; -#X text 312 358 high pass; -#X text 313 382 low pass; -#X text 314 410 all pass; -#X text 313 439 band stop; -#X text 541 367 pole Q; -#X text 94 31 it is a bit awkward to use directly; -#X text 94 45 try one of the abstractions (pdp_blur and; -#X text 95 61 pdp_phase); -#X text 122 208 left->right; -#X text 124 242 right->left; -#X text 126 272 top->bottom; -#X text 126 300 bottom->top; -#X text 133 359 bt and tb; -#X text 132 383 lr and rl; -#X text 147 494 one pole filter; -#X text 146 524 double one pole filter; -#X msg 89 464 0.1; -#X msg 556 95 0.5; -#X msg 616 94 0.5; -#X text 588 62 choose example here; -#X msg 672 118 1; -#X msg 673 140 0; -#X msg 673 163 -1; -#X msg 712 116 1; -#X msg 713 138 0; -#X msg 713 161 -1; -#X text 93 91 "unstable" behaviour is possible; -#X msg 490 347 0.1; -#X msg 488 293 0.3; -#X obj 28 720 pdp_gain; -#X floatatom 112 693 5 0 0; -#X msg 112 671 1; -#X text 95 107 when frequency and Q are outside their; -#X text 96 122 sensible ranges; -#X text 122 180 set filter direction:; -#X text 264 342 set the filter type:; -#X text 137 476 set the filter type:; -#X text 538 319 (between 0 and 1 \, 0.5 = nyquist); -#X text 540 333; -#X text 540 305 pole frequency; -#X msg 100 572 1; -#X connect 0 0 5 1; -#X connect 1 0 5 0; -#X connect 2 0 5 0; -#X connect 3 0 1 0; -#X connect 4 0 2 0; -#X connect 5 0 71 0; -#X connect 6 0 7 0; -#X connect 7 0 5 0; -#X connect 8 0 9 0; -#X connect 8 0 9 0; -#X connect 9 0 5 0; -#X connect 10 0 16 0; -#X connect 11 0 17 0; -#X connect 12 0 14 0; -#X connect 13 0 15 0; -#X connect 14 0 5 0; -#X connect 15 0 5 0; -#X connect 16 0 5 0; -#X connect 17 0 5 0; -#X connect 18 0 21 0; -#X connect 18 1 21 1; -#X connect 19 0 23 0; -#X connect 20 0 18 0; -#X connect 21 0 22 0; -#X connect 22 0 5 0; -#X connect 23 0 21 0; -#X connect 23 1 21 2; -#X connect 24 0 21 0; -#X connect 25 0 21 0; -#X connect 26 0 21 0; -#X connect 27 0 21 0; -#X connect 28 0 36 0; -#X connect 29 0 28 0; -#X connect 30 0 28 0; -#X connect 34 0 39 0; -#X connect 35 0 39 0; -#X connect 36 0 5 0; -#X connect 36 1 34 0; -#X connect 36 2 35 0; -#X connect 37 0 36 1; -#X connect 38 0 71 0; -#X connect 40 0 34 1; -#X connect 41 0 35 1; -#X connect 58 0 6 0; -#X connect 59 0 40 0; -#X connect 60 0 41 0; -#X connect 62 0 35 2; -#X connect 63 0 35 2; -#X connect 64 0 35 2; -#X connect 65 0 35 3; -#X connect 66 0 35 3; -#X connect 67 0 35 3; -#X connect 69 0 19 0; -#X connect 70 0 20 0; -#X connect 71 0 31 0; -#X connect 72 0 71 1; -#X connect 73 0 72 0; -#X connect 82 0 0 0; diff --git a/doc/objects/help_pdp_bqt.pd b/doc/objects/help_pdp_bqt.pd deleted file mode 100644 index a2f483e..0000000 --- a/doc/objects/help_pdp_bqt.pd +++ /dev/null @@ -1,95 +0,0 @@ -#N canvas 384 88 785 659 10; -#X floatatom 88 211 5 0 0; -#X msg 27 211 onep \$1; -#X floatatom 88 242 5 0 0; -#X msg 27 246 twop \$1; -#X obj 454 406 t b f; -#X floatatom 489 369 5 0 0; -#X floatatom 488 317 5 0 0; -#X obj 454 436 pack s 0 0; -#X msg 454 469 \$1 \$2 \$3; -#X obj 489 405 t b f; -#X msg 410 370 lpf; -#X msg 409 344 hpf; -#X msg 409 398 apf; -#X msg 409 425 bsf; -#X obj 461 38 pdp_help_input; -#X msg 461 13 start; -#X msg 507 13 stop; -#X obj 27 616 pdp_help_output; -#X obj 461 93 pdp_route 3; -#X obj 533 65 hdl 15 1 0 3 empty empty empty 0 -6 0 8 -262144 -1 -1 -0; -#X obj 40 540 r \$0-out; -#X obj 558 231 s \$0-out; -#X floatatom 490 157 5 0 0; -#X floatatom 601 156 5 0 0; -#X text 312 358 high pass; -#X text 313 382 low pass; -#X text 314 410 all pass; -#X text 313 439 band stop; -#X text 541 367 pole Q; -#X text 99 31 it is a bit awkward to use directly; -#X text 146 210 one pole filter; -#X text 145 240 double one pole filter; -#X msg 88 180 0.1; -#X msg 502 133 0.5; -#X msg 600 133 0.5; -#X text 588 62 choose example here; -#X text 93 91 "unstable" behaviour is possible; -#X msg 490 347 0.1; -#X msg 488 293 0.3; -#X obj 27 590 pdp_gain; -#X floatatom 118 564 5 0 0; -#X msg 118 542 1; -#X text 95 107 when frequency and Q are outside their; -#X text 96 122 sensible ranges; -#X text 264 342 set the filter type:; -#X text 136 192 set the filter type:; -#X text 538 319 (between 0 and 1 \, 0.5 = nyquist); -#X text 540 333; -#X text 540 305 pole frequency; -#X text 37 16 pdp_bqt: a temporal biquad filter; -#X text 99 45 try one of the abstractions (pdp_motion_blur and; -#X text 100 61 pdp_motion_phase); -#X obj 434 190 pdp_motion_blur; -#X obj 558 190 pdp_motion_phase; -#X obj 27 499 pdp_bqt; -#X connect 0 0 1 0; -#X connect 1 0 54 0; -#X connect 2 0 3 0; -#X connect 2 0 3 0; -#X connect 3 0 54 0; -#X connect 4 0 7 0; -#X connect 4 1 7 1; -#X connect 5 0 9 0; -#X connect 6 0 4 0; -#X connect 7 0 8 0; -#X connect 8 0 54 0; -#X connect 9 0 7 0; -#X connect 9 1 7 2; -#X connect 10 0 7 0; -#X connect 11 0 7 0; -#X connect 12 0 7 0; -#X connect 13 0 7 0; -#X connect 14 0 18 0; -#X connect 15 0 14 0; -#X connect 16 0 14 0; -#X connect 18 0 54 0; -#X connect 18 1 52 0; -#X connect 18 2 53 0; -#X connect 19 0 18 1; -#X connect 20 0 39 0; -#X connect 22 0 52 1; -#X connect 23 0 53 1; -#X connect 32 0 0 0; -#X connect 33 0 22 0; -#X connect 34 0 23 0; -#X connect 37 0 5 0; -#X connect 38 0 6 0; -#X connect 39 0 17 0; -#X connect 40 0 39 1; -#X connect 41 0 40 0; -#X connect 52 0 21 0; -#X connect 53 0 21 0; -#X connect 54 0 39 0; diff --git a/doc/objects/help_pdp_cheby.pd b/doc/objects/help_pdp_cheby.pd deleted file mode 100644 index ada420b..0000000 --- a/doc/objects/help_pdp_cheby.pd +++ /dev/null @@ -1,47 +0,0 @@ -#N canvas 57 353 672 516 10; -#X msg 81 108 coef 0 \$1; -#X floatatom 113 78 5 0 0; -#X floatatom 180 81 5 0 0; -#X msg 160 109 coef 1 \$1; -#X floatatom 276 78 5 0 0; -#X msg 244 108 coef 2 \$1; -#X floatatom 356 77 5 0 0; -#X msg 324 107 coef 3 \$1; -#X obj 51 372 pdp_cheby 3; -#X floatatom 338 324 5 0 0; -#X msg 340 194 chan 1; -#X text 216 52 coefficients; -#X msg 339 233 chan 0; -#X msg 394 194 chan 2; -#X msg 448 194 chan 3; -#X text 152 363 creation arg: order (nb coefs = order + 1); -#X text 153 379 (default = minimal order = 2); -#X msg 338 274 reset; -#X obj 51 41 pdp_help_input; -#X msg 51 11 start; -#X msg 100 11 stop; -#X obj 51 414 pdp_help_output; -#X text 392 234 all channels; -#X text 391 324 right inlet: number of iterations; -#X text 390 273 set all coefs to 0; -#X msg 338 303 1; -#X text 340 173 select colour channel to be processed; -#X connect 0 0 8 0; -#X connect 1 0 0 0; -#X connect 2 0 3 0; -#X connect 3 0 8 0; -#X connect 4 0 5 0; -#X connect 5 0 8 0; -#X connect 6 0 7 0; -#X connect 7 0 8 0; -#X connect 8 0 21 0; -#X connect 9 0 8 1; -#X connect 10 0 8 0; -#X connect 12 0 8 0; -#X connect 13 0 8 0; -#X connect 14 0 8 0; -#X connect 17 0 8 0; -#X connect 18 0 8 0; -#X connect 19 0 18 0; -#X connect 20 0 18 0; -#X connect 25 0 9 0; diff --git a/doc/objects/help_pdp_chrot.pd b/doc/objects/help_pdp_chrot.pd deleted file mode 100644 index fb59ed5..0000000 --- a/doc/objects/help_pdp_chrot.pd +++ /dev/null @@ -1,13 +0,0 @@ -#N canvas 355 66 554 208 10; -#X obj 74 64 pdp_help_input; -#X msg 74 31 start; -#X msg 124 31 stop; -#X obj 74 121 pdp_chrot; -#X obj 74 157 pdp_help_output; -#X floatatom 151 99 5 0 0; -#X text 204 100 rotate the chroma components by this angle; -#X connect 0 0 3 0; -#X connect 1 0 0 0; -#X connect 2 0 0 0; -#X connect 3 0 4 0; -#X connect 5 0 3 1; diff --git a/doc/objects/help_pdp_control.pd b/doc/objects/help_pdp_control.pd deleted file mode 100644 index fccb5e9..0000000 --- a/doc/objects/help_pdp_control.pd +++ /dev/null @@ -1,37 +0,0 @@ -#N canvas 259 276 579 567 10; -#X obj 237 316 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 -1; -#X obj 237 406 pdp_control; -#X msg 237 357 thread \$1; -#X obj 48 54 pdp_help_input; -#X msg 48 24 start; -#X msg 105 24 stop; -#X obj 48 205 pdp_help_output; -#X obj 48 154 pdp_conv; -#X floatatom 117 86 5 0 0; -#X obj 79 350 osc~; -#X floatatom 79 315 5 0 0; -#X obj 79 419 osc~; -#X floatatom 112 391 5 0 0; -#X obj 79 449 dac~; -#X obj 237 445 print; -#X text 276 314 switch thread processing on or of; -#X text 291 446 a pdp_drop message will be sent out; -#X text 291 462 when a package is dropped; -#X text 175 82 increase this with thread processing enabled \, no audio -should be dropped. if you do it with thread processing enabled \, increasing -it too much can lock up the machine when real time scheduling is enabled. -; -#X text 119 155 a convolution object to burn cycles; -#X connect 0 0 2 0; -#X connect 1 0 14 0; -#X connect 2 0 1 0; -#X connect 3 0 7 0; -#X connect 4 0 3 0; -#X connect 5 0 3 0; -#X connect 7 0 6 0; -#X connect 8 0 7 1; -#X connect 9 0 11 0; -#X connect 10 0 9 0; -#X connect 11 0 13 0; -#X connect 12 0 11 1; diff --git a/doc/objects/help_pdp_conv.pd b/doc/objects/help_pdp_conv.pd deleted file mode 100644 index aed62e2..0000000 --- a/doc/objects/help_pdp_conv.pd +++ /dev/null @@ -1,44 +0,0 @@ -#N canvas 450 114 702 535 10; -#X obj 39 353 pdp_conv; -#X floatatom 90 326 5 0 0; -#X msg 87 195 hor \$1; -#X msg 86 137 ver \$1; -#X obj 87 170 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1 -; -#X obj 86 112 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1 -; -#X msg 89 264 vmask 0.25 0.5 0.25; -#X msg 89 291 hmask 0.25 0.5 0.25; -#X msg 88 239 vmask 0.25 -0.5 0.25; -#X obj 39 63 pdp_help_input; -#X msg 39 24 start; -#X msg 86 24 stop; -#X obj 39 480 pdp_help_output; -#X obj 39 436 pdp_gain; -#X floatatom 90 409 5 0 0; -#X msg 90 386 1; -#X text 162 327 right inlet sets number of iterations; -#X text 263 239 these messages set the horizontal and vertical convolution -masks. note that there is no support for 2 dimensional masks. if you -want that you'll need to factor things out. (see the pdp_conv_* abstractions -for examples); -#X text 264 157 enable/disable horizontal and vertical masks; -#X text 162 428 note: mask coefficents are between -1 and 1; -#X text 162 441 use a gain object to compensate for this; -#X msg 128 385 9; -#X connect 0 0 13 0; -#X connect 1 0 0 1; -#X connect 2 0 0 0; -#X connect 3 0 0 0; -#X connect 4 0 2 0; -#X connect 5 0 3 0; -#X connect 6 0 0 0; -#X connect 7 0 0 0; -#X connect 8 0 0 0; -#X connect 9 0 0 0; -#X connect 10 0 9 0; -#X connect 11 0 9 0; -#X connect 13 0 12 0; -#X connect 14 0 13 1; -#X connect 15 0 14 0; -#X connect 21 0 14 0; diff --git a/doc/objects/help_pdp_del.pd b/doc/objects/help_pdp_del.pd deleted file mode 100644 index cc68094..0000000 --- a/doc/objects/help_pdp_del.pd +++ /dev/null @@ -1,24 +0,0 @@ -#N canvas 414 20 609 368 10; -#X floatatom 107 116 5 0 0; -#X floatatom 64 207 5 0 0; -#X obj 20 60 pdp_help_input; -#X msg 20 31 start; -#X msg 72 30 stop; -#X obj 42 147 pdp_del 50; -#X obj 20 236 pdp_mix; -#X obj 20 268 pdp_help_output; -#X msg 64 183 0.5; -#X text 164 116 right inlet sets current delay length; -#X text 164 149 a packet delay line.; -#X text 164 165 creation arg = max delay length; -#X text 164 180 (dont make this too large \, packets are not compressed!) -; -#X connect 0 0 5 1; -#X connect 1 0 6 2; -#X connect 2 0 5 0; -#X connect 2 0 6 0; -#X connect 3 0 2 0; -#X connect 4 0 2 0; -#X connect 5 0 6 1; -#X connect 6 0 7 0; -#X connect 8 0 1 0; diff --git a/doc/objects/help_pdp_gain.pd b/doc/objects/help_pdp_gain.pd deleted file mode 100644 index eec7e76..0000000 --- a/doc/objects/help_pdp_gain.pd +++ /dev/null @@ -1,32 +0,0 @@ -#N canvas 317 409 546 403 10; -#X msg 91 25 start; -#X msg 139 25 stop; -#X obj 91 56 pdp_help_input; -#X obj 91 350 pdp_help_output; -#X obj 91 274 pdp_gain; -#X floatatom 142 245 5 0 0; -#X text 201 243 right inlet sets overal gain; -#X msg 127 159 y \$1; -#X msg 176 159 v \$1; -#X msg 224 158 u \$1; -#X floatatom 127 122 5 0 0; -#X floatatom 176 122 5 0 0; -#X floatatom 224 122 5 0 0; -#X text 281 121 set individual channel gains; -#X text 301 144 y: luma; -#X text 301 160 v: chroma red; -#X text 301 175 u: chroma blue; -#X text 201 290 creation argument sets initial gain; -#X text 200 308 (default = 1); -#X text 202 274 pdp_gain clips when overdriven; -#X connect 0 0 2 0; -#X connect 1 0 2 0; -#X connect 2 0 4 0; -#X connect 4 0 3 0; -#X connect 5 0 4 1; -#X connect 7 0 4 0; -#X connect 8 0 4 0; -#X connect 9 0 4 0; -#X connect 10 0 7 0; -#X connect 11 0 8 0; -#X connect 12 0 9 0; diff --git a/doc/objects/help_pdp_gradient.pd b/doc/objects/help_pdp_gradient.pd deleted file mode 100644 index ece3876..0000000 --- a/doc/objects/help_pdp_gradient.pd +++ /dev/null @@ -1,29 +0,0 @@ -#N canvas 489 317 590 374 10; -#X obj 46 291 pdp_gradient; -#X floatatom 188 114 5 0 0; -#X obj 145 143 t b f; -#X floatatom 140 114 5 0 0; -#X obj 104 144 t b f; -#X floatatom 93 114 5 0 0; -#X obj 46 40 pdp_help_input; -#X msg 46 10 start; -#X msg 95 10 stop; -#X obj 46 337 pdp_help_output; -#X text 150 283 apply a color gradient to a greyscale image or the -luma channel of a colour image; -#X obj 93 181 pack 0 0 0; -#X msg 93 216 rgb \$1 \$2 \$3; -#X text 107 91 red green blue; -#X connect 0 0 9 0; -#X connect 1 0 2 0; -#X connect 2 0 11 0; -#X connect 2 1 11 2; -#X connect 3 0 4 0; -#X connect 4 0 11 0; -#X connect 4 1 11 1; -#X connect 5 0 11 0; -#X connect 6 0 0 0; -#X connect 7 0 6 0; -#X connect 8 0 6 0; -#X connect 11 0 12 0; -#X connect 12 0 0 0; diff --git a/doc/objects/help_pdp_grey.pd b/doc/objects/help_pdp_grey.pd deleted file mode 100644 index cd8d4e2..0000000 --- a/doc/objects/help_pdp_grey.pd +++ /dev/null @@ -1,17 +0,0 @@ -#N canvas 556 468 575 277 10; -#X obj 46 40 pdp_help_input; -#X msg 46 10 start; -#X msg 95 10 stop; -#X obj 46 225 pdp_help_output; -#X obj 118 69 hdl 15 1 0 2 empty empty empty 0 -6 0 8 -262144 -1 -1 -0; -#X obj 46 90 pdp_route 2; -#X obj 118 154 pdp_grey; -#X text 194 155 convert a packet to greyscale; -#X connect 0 0 5 0; -#X connect 1 0 0 0; -#X connect 2 0 0 0; -#X connect 4 0 5 1; -#X connect 5 0 3 0; -#X connect 5 1 6 0; -#X connect 6 0 3 0; diff --git a/doc/objects/help_pdp_mix.pd b/doc/objects/help_pdp_mix.pd deleted file mode 100644 index 92ed2bc..0000000 --- a/doc/objects/help_pdp_mix.pd +++ /dev/null @@ -1,21 +0,0 @@ -#N canvas 314 353 576 288 10; -#X obj 103 132 pdp_reg; -#X obj 201 86 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 200 155 5 0 0; -#X obj 81 48 pdp_help_input; -#X msg 81 18 start; -#X msg 130 18 stop; -#X obj 81 238 pdp_help_output; -#X text 268 80 click here; -#X text 268 175 0 = left \, 1 = right; -#X obj 81 184 pdp_mix; -#X text 268 159 crossfade between 2 packets; -#X connect 0 0 9 1; -#X connect 1 0 0 0; -#X connect 2 0 9 2; -#X connect 3 0 0 1; -#X connect 3 0 9 0; -#X connect 4 0 3 0; -#X connect 5 0 3 0; -#X connect 9 0 6 0; diff --git a/doc/objects/help_pdp_mix2.pd b/doc/objects/help_pdp_mix2.pd deleted file mode 100644 index aa492b1..0000000 --- a/doc/objects/help_pdp_mix2.pd +++ /dev/null @@ -1,25 +0,0 @@ -#N canvas 314 353 576 288 10; -#X obj 98 132 pdp_reg; -#X obj 201 86 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 205 138 5 0 0; -#X obj 81 48 pdp_help_input; -#X msg 81 18 start; -#X msg 130 18 stop; -#X obj 81 238 pdp_help_output; -#X text 268 80 click here; -#X obj 81 201 pdp_mix2; -#X floatatom 205 161 5 0 0; -#X text 158 199 pdp_mix2 adds two packets after applying attenuation -; -#X text 268 136 left packet attenuation; -#X text 268 159 right packet attenuation; -#X connect 0 0 8 1; -#X connect 1 0 0 0; -#X connect 2 0 8 2; -#X connect 3 0 0 1; -#X connect 3 0 8 0; -#X connect 4 0 3 0; -#X connect 5 0 3 0; -#X connect 8 0 6 0; -#X connect 9 0 8 3; diff --git a/doc/objects/help_pdp_mul.pd b/doc/objects/help_pdp_mul.pd deleted file mode 100644 index 596c1cb..0000000 --- a/doc/objects/help_pdp_mul.pd +++ /dev/null @@ -1,24 +0,0 @@ -#N canvas 224 229 462 390 10; -#X msg 77 38 start; -#X msg 124 38 stop; -#X obj 77 70 pdp_help_input; -#X obj 77 330 pdp_help_output; -#X obj 121 164 pdp_reg; -#X obj 195 127 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X text 228 125 click here; -#X obj 77 295 pdp_gain; -#X floatatom 128 267 5 0 0; -#X text 229 201 multiplies 2 packets; -#X obj 77 197 pdp_mul; -#X msg 128 241 2; -#X connect 0 0 2 0; -#X connect 1 0 2 0; -#X connect 2 0 10 0; -#X connect 2 0 4 1; -#X connect 4 0 10 1; -#X connect 5 0 4 0; -#X connect 7 0 3 0; -#X connect 8 0 7 1; -#X connect 10 0 7 0; -#X connect 11 0 8 0; diff --git a/doc/objects/help_pdp_noise.pd b/doc/objects/help_pdp_noise.pd deleted file mode 100644 index 732d4a1..0000000 --- a/doc/objects/help_pdp_noise.pd +++ /dev/null @@ -1,21 +0,0 @@ -#N canvas 614 448 575 277 10; -#X obj 46 231 pdp_help_output; -#X obj 46 198 pdp_noise; -#X obj 46 149 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X msg 174 71 dim 320 240; -#X text 270 71 set packet dimensions; -#X msg 174 98 type grey; -#X msg 174 121 type yv12; -#X text 270 100 generate greyscale; -#X text 270 119 generate colour (default); -#X msg 174 152 seed 123; -#X text 270 152 set seed value; -#X text 167 21 pdp_noise creates a random image (with uniform distribution -between -1 and 1) when a bang is received; -#X connect 1 0 0 0; -#X connect 2 0 1 0; -#X connect 3 0 1 0; -#X connect 5 0 1 0; -#X connect 6 0 1 0; -#X connect 9 0 1 0; diff --git a/doc/objects/help_pdp_qt.pd b/doc/objects/help_pdp_qt.pd deleted file mode 100644 index 9ff6154..0000000 --- a/doc/objects/help_pdp_qt.pd +++ /dev/null @@ -1,71 +0,0 @@ -#N canvas 400 126 740 623 10; -#X obj 59 391 pdp_qt; -#X floatatom 77 429 5 0 0; -#X floatatom 127 430 5 0 0; -#X obj 56 41 metro 40; -#X msg 56 13 bang; -#X msg 97 13 stop; -#X msg 15 13 bang; -#X obj 140 41 openpanel; -#X msg 140 66 open \$1; -#X msg 140 13 bang; -#X msg 140 92 close; -#X text 249 66 open/close for file access; -#X floatatom 140 120 5 0 0; -#X floatatom 140 146 5 0 0; -#X text 248 117 float on left inlet selects a frame for output; -#X msg 140 197 loop \$1; -#X obj 203 182 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; -#X text 250 198 automatic looping can be enabled/disabled; -#X text 251 9 pdp_qt plays a quicktime movie.; -#X text 250 221 this enables automatic playback at the frame rate specified -in the movie file. in pdp_qt~ playback is synchronized to the audio -stream.; -#X msg 142 341 dump array 0; -#X text 252 330 if the movie contains audio \, this command dumps the -audio data into an array specified by the first argument. the second -argument is the audio channel (default = 0 = left); -#X msg 142 291 stop; -#X text 251 289 stops automatic playback (same as autoplay 0); -#X msg 141 222 autoplay 1; -#X msg 142 267 play; -#X text 252 432 the second outlet outputs the current frame number. -the third outlet outputs the total number of frames in a movie when -it is opened.; -#X msg 142 315 cont; -#X text 251 269 starts automatic playback (same as 0 \, autplay 1 \, -bang); -#X text 251 310 resumes automatic playback (same as autplay 1 \, bang) -; -#X text 249 137 float on right inlet selects the frame to be read on -the next sync event (bang message / internal sync).; -#X obj 59 462 pdp_help_output; -#X obj 335 535 table array; -#X obj 448 535 tabplay~ array; -#X obj 448 576 dac~; -#X obj 448 506 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X connect 0 0 31 0; -#X connect 0 1 1 0; -#X connect 0 2 2 0; -#X connect 3 0 0 0; -#X connect 4 0 3 0; -#X connect 5 0 3 0; -#X connect 6 0 0 0; -#X connect 7 0 8 0; -#X connect 8 0 0 0; -#X connect 9 0 7 0; -#X connect 10 0 0 0; -#X connect 12 0 0 0; -#X connect 13 0 0 1; -#X connect 15 0 0 0; -#X connect 16 0 15 0; -#X connect 20 0 0 0; -#X connect 22 0 0 0; -#X connect 24 0 0 0; -#X connect 25 0 0 0; -#X connect 27 0 0 0; -#X connect 33 0 34 0; -#X connect 33 0 34 1; -#X connect 35 0 33 0; diff --git a/doc/objects/help_pdp_qt~.pd b/doc/objects/help_pdp_qt~.pd deleted file mode 100644 index b03e4e1..0000000 --- a/doc/objects/help_pdp_qt~.pd +++ /dev/null @@ -1,25 +0,0 @@ -#N canvas 400 126 692 254 10; -#X obj 62 122 pdp_qt~; -#X obj 90 164 dac~; -#X msg 39 51 play; -#X obj 133 42 openpanel; -#X msg 133 67 open \$1; -#X msg 133 14 bang; -#X text 257 67 pdp_qt~ is the same as pdp_qt exept that it also outputs -the audio data corresponding to the current frame on its 2 rightmost -outlets. if there is a lag between audio and video a pdp_del object -can be inserted to delay the image. note that in order to get acceptable -audio quality with relatively few dropouts you might need to increase -the pd audio latency.; -#X msg 15 24 loop 1; -#X floatatom 84 52 5 0 0; -#X obj 62 214 pdp_help_output; -#X connect 0 0 9 0; -#X connect 0 3 1 0; -#X connect 0 4 1 1; -#X connect 2 0 0 0; -#X connect 3 0 4 0; -#X connect 4 0 0 0; -#X connect 5 0 3 0; -#X connect 7 0 0 0; -#X connect 8 0 0 1; diff --git a/doc/objects/help_pdp_randmix.pd b/doc/objects/help_pdp_randmix.pd deleted file mode 100644 index 75f12fc..0000000 --- a/doc/objects/help_pdp_randmix.pd +++ /dev/null @@ -1,21 +0,0 @@ -#N canvas 314 353 584 288 10; -#X obj 81 184 pdp_randmix; -#X obj 117 132 pdp_reg; -#X obj 200 87 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 200 155 5 0 0; -#X obj 81 48 pdp_help_input; -#X msg 81 18 start; -#X msg 130 18 stop; -#X obj 81 238 pdp_help_output; -#X text 268 80 click here; -#X text 268 159 random crossfade between 2 packets; -#X text 268 175 0 = left \, 1 = right; -#X connect 0 0 7 0; -#X connect 1 0 0 1; -#X connect 2 0 1 0; -#X connect 3 0 0 2; -#X connect 4 0 0 0; -#X connect 4 0 1 1; -#X connect 5 0 4 0; -#X connect 6 0 4 0; diff --git a/doc/objects/help_pdp_reg.pd b/doc/objects/help_pdp_reg.pd deleted file mode 100644 index 9a78e66..0000000 --- a/doc/objects/help_pdp_reg.pd +++ /dev/null @@ -1,20 +0,0 @@ -#N canvas 623 480 596 300 10; -#X obj 41 171 pdp_reg; -#X obj 41 140 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 --1; -#X msg 85 15 start; -#X msg 135 15 stop; -#X obj 85 53 pdp_help_input; -#X obj 41 240 pdp_help_output; -#X text 113 144 pdp_reg works in the same way as the pd float or int -objects; -#X text 263 178 bang: sends stored packet to output; -#X text 263 163 pdp: stores packet and sends to output; -#X text 263 199 pdp: stores a new packet; -#X text 112 164 left intlet (hot):; -#X text 112 199 right intlet (cold):; -#X connect 0 0 5 0; -#X connect 1 0 0 0; -#X connect 2 0 4 0; -#X connect 3 0 4 0; -#X connect 4 0 0 1; diff --git a/doc/objects/help_pdp_rotate.pd b/doc/objects/help_pdp_rotate.pd deleted file mode 100644 index 6c60c60..0000000 --- a/doc/objects/help_pdp_rotate.pd +++ /dev/null @@ -1,30 +0,0 @@ -#N canvas 467 414 562 448 10; -#X msg 195 174 centerx \$1; -#X floatatom 195 145 5 0 0; -#X floatatom 279 145 5 0 0; -#X msg 279 174 centery \$1; -#X obj 46 40 pdp_help_input; -#X msg 46 10 start; -#X msg 95 10 stop; -#X obj 46 401 pdp_help_output; -#X text 194 70 (0 \, 0) = top left; -#X text 194 84 (1 \, 1) = bottom right; -#X msg 247 113 0.5; -#X floatatom 187 318 5 0 0; -#X msg 187 288 0; -#X text 192 6 pdp_zrot: zoom and rotation; -#X obj 46 363 pdp_rotate; -#X text 239 319 right inlet sets rotation angle; -#X text 194 54 set rotation center; -#X connect 0 0 14 0; -#X connect 1 0 0 0; -#X connect 2 0 3 0; -#X connect 3 0 14 0; -#X connect 4 0 14 0; -#X connect 5 0 4 0; -#X connect 6 0 4 0; -#X connect 10 0 1 0; -#X connect 10 0 2 0; -#X connect 11 0 14 1; -#X connect 12 0 11 0; -#X connect 14 0 7 0; diff --git a/doc/objects/help_pdp_route.pd b/doc/objects/help_pdp_route.pd deleted file mode 100644 index c9d341d..0000000 --- a/doc/objects/help_pdp_route.pd +++ /dev/null @@ -1,22 +0,0 @@ -#N canvas 614 448 575 277 10; -#X obj 46 40 pdp_help_input; -#X msg 46 10 start; -#X msg 95 10 stop; -#X obj 46 225 pdp_help_output; -#X obj 46 172 pdp_gain 1; -#X obj 130 172 pdp_gain 2; -#X obj 118 69 hdl 15 1 0 2 empty empty empty 0 -6 0 8 -262144 -1 -1 -0; -#X text 155 88 routes a packet to a specified outlet \, determined -by the right inlet; -#X text 155 124 creation argument = number of outlets (default = 2) -; -#X obj 46 90 pdp_route 2; -#X connect 0 0 9 0; -#X connect 1 0 0 0; -#X connect 2 0 0 0; -#X connect 4 0 3 0; -#X connect 5 0 3 0; -#X connect 6 0 9 1; -#X connect 9 0 4 0; -#X connect 9 1 5 0; diff --git a/doc/objects/help_pdp_scale.pd b/doc/objects/help_pdp_scale.pd deleted file mode 100644 index 9ed7996..0000000 --- a/doc/objects/help_pdp_scale.pd +++ /dev/null @@ -1,32 +0,0 @@ -#N canvas 475 141 635 386 10; -#X msg 76 207 dim 256 256; -#X msg 76 235 dim 320 240; -#X obj 28 275 pdp_scale 320 240; -#X msg 75 181 dim 32 32; -#X msg 259 234 quality \$1; -#X obj 28 65 pdp_help_input; -#X msg 28 36 start; -#X msg 80 35 stop; -#X obj 28 317 pdp_help_output; -#X text 347 225 0 = nearest neighbour; -#X text 347 240 1 = bilinear; -#X text 74 154 set new packet dimensions; -#X text 161 28 pdp_scale rescales the packet format.; -#X text 161 56 use this if you want to combine different packet sizes. -or have movies that don't have a legal size (not a multiple of 8x8) -; -#X msg 259 204 0; -#X msg 294 204 1; -#X text 159 103 (try to avoid rescaling by using movies with equal -(legal) dimensions \, it is not a cheap operation and can easily be -done in advance); -#X connect 0 0 2 0; -#X connect 1 0 2 0; -#X connect 2 0 8 0; -#X connect 3 0 2 0; -#X connect 4 0 2 0; -#X connect 5 0 2 0; -#X connect 6 0 5 0; -#X connect 7 0 5 0; -#X connect 14 0 4 0; -#X connect 15 0 4 0; diff --git a/doc/objects/help_pdp_scan~.pd b/doc/objects/help_pdp_scan~.pd deleted file mode 100644 index fb3b749..0000000 --- a/doc/objects/help_pdp_scan~.pd +++ /dev/null @@ -1,41 +0,0 @@ -#N canvas 387 370 666 499 10; -#X obj 73 140 pdp_scan~; -#X obj 73 113 phasor~; -#X floatatom 73 86 5 0 0; -#X obj 73 353 dac~; -#X obj 13 48 pdp_help_input; -#X msg 13 19 start; -#X obj 13 397 pdp_help_output; -#X obj 73 311 *~; -#X floatatom 89 282 5 0 0; -#X obj 73 251 hip~ 20; -#X floatatom 117 224 5 0 0; -#X floatatom 131 171 5 0 0; -#X obj 73 198 lop~ 1000; -#X text 214 43 pdp_scan~: scanned synthesis; -#X msg 217 102 interpolate \$1; -#X obj 217 76 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X text 216 124 set interpolation between consecutive packets on/off -; -#X text 216 142 (the audio crossfade size is determined by the pd blocksize. -so you can use a block~ object to set this); -#X text 218 236 it works like osc~ \, only the waveform is scanned -from the luma plane of an image. the path is an oval centered at the -middle of the image with axes equal to 60% of the image width/height -; -#X connect 0 0 12 0; -#X connect 1 0 0 0; -#X connect 2 0 1 0; -#X connect 4 0 0 0; -#X connect 4 0 6 0; -#X connect 5 0 4 0; -#X connect 7 0 3 0; -#X connect 7 0 3 1; -#X connect 8 0 7 1; -#X connect 9 0 7 0; -#X connect 10 0 9 1; -#X connect 11 0 12 1; -#X connect 12 0 9 0; -#X connect 14 0 0 0; -#X connect 15 0 14 0; diff --git a/doc/objects/help_pdp_scope~.pd b/doc/objects/help_pdp_scope~.pd deleted file mode 100644 index eeeaabe..0000000 --- a/doc/objects/help_pdp_scope~.pd +++ /dev/null @@ -1,23 +0,0 @@ -#N canvas 526 43 567 300 10; -#X obj 37 200 pdp_scope~; -#X obj 37 44 metro 40; -#X obj 37 19 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 94 18 5 0 0; -#X msg 131 131 type grey; -#X msg 131 109 type yv12; -#X obj 37 256 pdp_help_output; -#X msg 131 157 dim 320 240; -#X obj 59 121 osc~; -#X floatatom 59 88 5 0 0; -#X text 131 66 a very simple oscilloscope; -#X text 227 132 set output image type and dimensions; -#X connect 0 0 6 0; -#X connect 1 0 0 0; -#X connect 2 0 1 0; -#X connect 3 0 1 1; -#X connect 4 0 0 0; -#X connect 5 0 0 0; -#X connect 7 0 0 0; -#X connect 8 0 0 0; -#X connect 9 0 8 0; diff --git a/doc/objects/help_pdp_snap.pd b/doc/objects/help_pdp_snap.pd deleted file mode 100644 index b5c2752..0000000 --- a/doc/objects/help_pdp_snap.pd +++ /dev/null @@ -1,21 +0,0 @@ -#N canvas 623 480 596 300 10; -#X msg 92 15 start; -#X msg 142 15 stop; -#X obj 92 53 pdp_help_input; -#X obj 41 240 pdp_help_output; -#X text 140 172 bang: sends stored packet to output; -#X text 113 143 left intlet (hot):; -#X text 112 202 right intlet (cold):; -#X obj 41 171 pdp_snap; -#X text 115 103 pdp_reg takes a snapshot from a pdp stream.; -#X text 263 201 pdp inlet; -#X text 139 157 snap: stores the next packet that arrives on second -inlet; -#X msg 8 130 bang; -#X msg 49 130 snap; -#X connect 0 0 2 0; -#X connect 1 0 2 0; -#X connect 2 0 7 1; -#X connect 7 0 3 0; -#X connect 11 0 7 0; -#X connect 12 0 7 0; diff --git a/doc/objects/help_pdp_trigger.pd b/doc/objects/help_pdp_trigger.pd deleted file mode 100644 index f8b5461..0000000 --- a/doc/objects/help_pdp_trigger.pd +++ /dev/null @@ -1,14 +0,0 @@ -#N canvas 526 379 575 277 10; -#X obj 46 40 pdp_help_input; -#X msg 46 10 start; -#X msg 95 10 stop; -#X obj 46 225 pdp_help_output; -#X obj 46 91 pdp_trigger; -#X obj 118 145 print; -#X text 154 90 outputs a bang on the right output before sending packet -to the left output; -#X connect 0 0 4 0; -#X connect 1 0 0 0; -#X connect 2 0 0 0; -#X connect 4 0 3 0; -#X connect 4 1 5 0; diff --git a/doc/objects/help_pdp_v4l.pd b/doc/objects/help_pdp_v4l.pd deleted file mode 100644 index 5f5ebb4..0000000 --- a/doc/objects/help_pdp_v4l.pd +++ /dev/null @@ -1,54 +0,0 @@ -#N canvas 238 181 882 542 10; -#X obj 107 427 pdp_v4l; -#X obj 107 53 metro 40; -#X msg 159 14 stop; -#X msg 107 14 bang; -#X msg 51 14 bang; -#X msg 209 93 open /dev/video0; -#X msg 209 117 open /dev/video1; -#X text 347 95 you can choose the input device using the 'open' message. -the default is /dev/video0; -#X msg 209 142 close; -#X text 348 143 closes the video port; -#X msg 209 168 type yv12; -#X msg 209 192 type grey; -#X text 348 171 type sets the ouput image package type. currently only -yv12 (luma/chroma color) and greyscale are supported.; -#X msg 210 221 dim 320 240; -#X msg 210 244 dim 640 480; -#X text 348 215 dim sets the dimensions of the captured frame. please -note that in all objects dimensions and packet type (color/greyscale) -have to be the same to be combined (i.e. mixed); -#X text 207 18 pdp_v4l grabs video from the video4linux device. it -grabs a frame whenever a bang message is received. the output rate -is limited by the maximum framerate of the video device. if there is -no device opened \, it will attempt to open /dev/video0; -#X msg 210 319 channel \$1; -#X floatatom 210 295 5 0 0; -#X text 347 320 sets the v4l channel (like tuner \, composite \, svideo -\, ...); -#X floatatom 210 359 5 0 0; -#X msg 210 383 freq \$1; -#X floatatom 271 359 5 0 0; -#X msg 271 383 freqMHz \$1; -#X text 346 359 sets the v4l tuner frequency (in v4l units and MHz) -; -#X obj 107 480 pdp_help_output; -#X connect 0 0 25 0; -#X connect 1 0 0 0; -#X connect 2 0 1 0; -#X connect 3 0 1 0; -#X connect 4 0 0 0; -#X connect 5 0 0 0; -#X connect 6 0 0 0; -#X connect 8 0 0 0; -#X connect 10 0 0 0; -#X connect 11 0 0 0; -#X connect 13 0 0 0; -#X connect 14 0 0 0; -#X connect 17 0 0 0; -#X connect 18 0 17 0; -#X connect 20 0 21 0; -#X connect 21 0 0 0; -#X connect 22 0 23 0; -#X connect 23 0 0 0; diff --git a/doc/objects/help_pdp_xv.pd b/doc/objects/help_pdp_xv.pd deleted file mode 100644 index 5c0b371..0000000 --- a/doc/objects/help_pdp_xv.pd +++ /dev/null @@ -1,29 +0,0 @@ -#N canvas 303 183 708 385 10; -#X obj 29 328 pdp_xv; -#X msg 132 223 dim 320 240; -#X msg 132 246 dim 640 480; -#X text 271 226 dim sets the window dimensions; -#X msg 132 177 create; -#X msg 132 198 destroy; -#X text 130 114 pdp_xv ouputs video in a window using the xVideo extension. -if your graphics card/driver supports it you can have multiple output -windows. if a pdp message is received and a window is not open \, one -is created automaticly.; -#X text 271 180 use these messages to explicitly create/destroy the -window; -#X msg 134 294 cursor \$1; -#X obj 134 274 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; -#X text 270 294 enables/disables cursor in xv window; -#X obj 29 61 pdp_help_input; -#X msg 29 25 start; -#X msg 78 24 stop; -#X connect 1 0 0 0; -#X connect 2 0 0 0; -#X connect 4 0 0 0; -#X connect 5 0 0 0; -#X connect 8 0 0 0; -#X connect 9 0 8 0; -#X connect 11 0 0 0; -#X connect 12 0 11 0; -#X connect 13 0 11 0; diff --git a/doc/objects/help_pdp_zoom.pd b/doc/objects/help_pdp_zoom.pd deleted file mode 100644 index 19ec1a7..0000000 --- a/doc/objects/help_pdp_zoom.pd +++ /dev/null @@ -1,41 +0,0 @@ -#N canvas 467 414 562 448 10; -#X obj 46 288 pdp_zoom; -#X floatatom 121 264 5 0 0; -#X floatatom 174 130 5 0 0; -#X msg 87 160 zoomx \$1; -#X msg 174 160 zoomy \$1; -#X floatatom 87 129 5 0 0; -#X msg 282 162 centerx \$1; -#X floatatom 282 133 5 0 0; -#X floatatom 366 133 5 0 0; -#X msg 366 162 centery \$1; -#X obj 46 40 pdp_help_input; -#X msg 46 10 start; -#X msg 95 10 stop; -#X obj 46 341 pdp_help_output; -#X text 173 265 right inlet sets zoom amount; -#X text 281 42 set zoom center; -#X text 281 58 (0 \, 0) = top left; -#X text 281 72 (1 \, 1) = bottom right; -#X text 71 79 set individual axis zoom; -#X msg 142 102 1; -#X msg 334 101 0.5; -#X msg 121 234 1; -#X connect 0 0 13 0; -#X connect 1 0 0 1; -#X connect 2 0 4 0; -#X connect 3 0 0 0; -#X connect 4 0 0 0; -#X connect 5 0 3 0; -#X connect 6 0 0 0; -#X connect 7 0 6 0; -#X connect 8 0 9 0; -#X connect 9 0 0 0; -#X connect 10 0 0 0; -#X connect 11 0 10 0; -#X connect 12 0 10 0; -#X connect 19 0 2 0; -#X connect 19 0 5 0; -#X connect 20 0 7 0; -#X connect 20 0 8 0; -#X connect 21 0 1 0; diff --git a/doc/objects/help_pdp_zrot.pd b/doc/objects/help_pdp_zrot.pd deleted file mode 100644 index f3937a0..0000000 --- a/doc/objects/help_pdp_zrot.pd +++ /dev/null @@ -1,47 +0,0 @@ -#N canvas 467 414 562 448 10; -#X floatatom 257 275 5 0 0; -#X floatatom 174 130 5 0 0; -#X msg 87 160 zoomx \$1; -#X msg 174 160 zoomy \$1; -#X floatatom 87 129 5 0 0; -#X msg 282 162 centerx \$1; -#X floatatom 282 133 5 0 0; -#X floatatom 366 133 5 0 0; -#X msg 366 162 centery \$1; -#X obj 46 40 pdp_help_input; -#X msg 46 10 start; -#X msg 95 10 stop; -#X obj 46 401 pdp_help_output; -#X text 281 58 (0 \, 0) = top left; -#X text 281 72 (1 \, 1) = bottom right; -#X text 71 79 set individual axis zoom; -#X msg 142 102 1; -#X msg 334 101 0.5; -#X msg 257 245 1; -#X obj 46 363 pdp_zrot; -#X text 309 276 second inlet sets zoom amount; -#X floatatom 257 333 5 0 0; -#X msg 257 303 0; -#X text 309 334 third inlet sets rotation angle; -#X text 281 42 set zoom/rotation center; -#X text 192 6 pdp_zrot: zoom and rotation; -#X connect 0 0 19 1; -#X connect 1 0 3 0; -#X connect 2 0 19 0; -#X connect 3 0 19 0; -#X connect 4 0 2 0; -#X connect 5 0 19 0; -#X connect 6 0 5 0; -#X connect 7 0 8 0; -#X connect 8 0 19 0; -#X connect 9 0 19 0; -#X connect 10 0 9 0; -#X connect 11 0 9 0; -#X connect 16 0 1 0; -#X connect 16 0 4 0; -#X connect 17 0 6 0; -#X connect 17 0 7 0; -#X connect 18 0 0 0; -#X connect 19 0 12 0; -#X connect 21 0 19 2; -#X connect 22 0 21 0; diff --git a/doc/objects/pdp_add.pd b/doc/objects/pdp_add.pd new file mode 100644 index 0000000..4105dcf --- /dev/null +++ b/doc/objects/pdp_add.pd @@ -0,0 +1,24 @@ +#N canvas 180 63 511 383 10; +#X msg 77 38 start; +#X msg 124 38 stop; +#X obj 77 70 pdp_help_input; +#X obj 77 322 pdp_help_output; +#X obj 77 279 pdp_add; +#X obj 121 246 pdp_reg; +#X obj 196 183 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 229 181 click here; +#X obj 77 163 pdp_gain; +#X floatatom 128 135 5 0 0; +#X msg 128 109 0.5; +#X text 229 283 adds (and saturates) 2 packets; +#X connect 0 0 2 0; +#X connect 1 0 2 0; +#X connect 2 0 8 0; +#X connect 4 0 3 0; +#X connect 5 0 4 1; +#X connect 6 0 5 0; +#X connect 8 0 4 0; +#X connect 8 0 5 1; +#X connect 9 0 8 1; +#X connect 10 0 9 0; diff --git a/doc/objects/pdp_affine.pd b/doc/objects/pdp_affine.pd new file mode 100644 index 0000000..3386fb8 --- /dev/null +++ b/doc/objects/pdp_affine.pd @@ -0,0 +1,18 @@ +#N canvas 278 50 576 226 10; +#X obj 31 121 pdp_affine 1; +#X obj 31 44 pdp_help_input; +#X obj 31 175 pdp_help_output; +#X floatatom 70 95 5 0 0; +#X floatatom 118 95 5 0 0; +#X msg 31 15 start; +#X msg 77 15 stop; +#X text 76 79 a; +#X text 128 80 b; +#X text 200 103 pdp_affine computes ax+b on an image x; +#X text 200 121 its use is depreciated. use pdp_cheby instead.; +#X connect 0 0 2 0; +#X connect 1 0 0 0; +#X connect 3 0 0 1; +#X connect 4 0 0 2; +#X connect 5 0 1 0; +#X connect 6 0 1 0; diff --git a/doc/objects/pdp_bq.pd b/doc/objects/pdp_bq.pd new file mode 100644 index 0000000..06c05da --- /dev/null +++ b/doc/objects/pdp_bq.pd @@ -0,0 +1,149 @@ +#N canvas 364 134 765 779 10; +#X floatatom 100 598 5 0 0; +#X msg 28 361 ver \$1; +#X msg 28 393 hor \$1; +#X obj 96 362 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X obj 95 389 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X obj 28 629 pdp_bq; +#X floatatom 89 495 5 0 0; +#X msg 28 495 onep \$1; +#X floatatom 89 526 5 0 0; +#X msg 28 530 twop \$1; +#X obj 85 272 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X obj 87 304 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X obj 79 209 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X obj 82 244 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X msg 28 209 lr \$1; +#X msg 28 244 rl \$1; +#X msg 28 277 tb \$1; +#X msg 28 305 bt \$1; +#X obj 454 406 t b f; +#X floatatom 489 369 5 0 0; +#X floatatom 488 317 5 0 0; +#X obj 454 436 pack s 0 0; +#X msg 454 469 \$1 \$2 \$3; +#X obj 489 405 t b f; +#X msg 410 370 lpf; +#X msg 409 344 hpf; +#X msg 409 398 apf; +#X msg 409 425 bsf; +#X obj 461 38 pdp_help_input; +#X msg 461 13 start; +#X msg 507 13 stop; +#X obj 28 746 pdp_help_output; +#X text 159 598 right inlet sets number of passes; +#X text 37 16 pdp_bq: a spatial biquad filter; +#X obj 495 196 pdp_blur; +#X obj 598 194 pdp_phase; +#X obj 461 93 pdp_route 3; +#X obj 533 65 hdl 15 1 0 3 empty empty empty 0 -6 0 8 -262144 -1 -1 +0; +#X obj 41 670 r \$0-out; +#X obj 495 246 s \$0-out; +#X floatatom 544 119 5 0 0; +#X floatatom 617 117 5 0 0; +#X text 312 358 high pass; +#X text 313 382 low pass; +#X text 314 410 all pass; +#X text 313 439 band stop; +#X text 541 367 pole Q; +#X text 94 31 it is a bit awkward to use directly; +#X text 94 45 try one of the abstractions (pdp_blur and; +#X text 95 61 pdp_phase); +#X text 122 208 left->right; +#X text 124 242 right->left; +#X text 126 272 top->bottom; +#X text 126 300 bottom->top; +#X text 133 359 bt and tb; +#X text 132 383 lr and rl; +#X text 147 494 one pole filter; +#X text 146 524 double one pole filter; +#X msg 89 464 0.1; +#X msg 556 95 0.5; +#X msg 616 94 0.5; +#X text 588 62 choose example here; +#X msg 672 118 1; +#X msg 673 140 0; +#X msg 673 163 -1; +#X msg 712 116 1; +#X msg 713 138 0; +#X msg 713 161 -1; +#X text 93 91 "unstable" behaviour is possible; +#X msg 490 347 0.1; +#X msg 488 293 0.3; +#X obj 28 720 pdp_gain; +#X floatatom 112 693 5 0 0; +#X msg 112 671 1; +#X text 95 107 when frequency and Q are outside their; +#X text 96 122 sensible ranges; +#X text 122 180 set filter direction:; +#X text 264 342 set the filter type:; +#X text 137 476 set the filter type:; +#X text 538 319 (between 0 and 1 \, 0.5 = nyquist); +#X text 540 333; +#X text 540 305 pole frequency; +#X msg 100 572 1; +#X connect 0 0 5 1; +#X connect 1 0 5 0; +#X connect 2 0 5 0; +#X connect 3 0 1 0; +#X connect 4 0 2 0; +#X connect 5 0 71 0; +#X connect 6 0 7 0; +#X connect 7 0 5 0; +#X connect 8 0 9 0; +#X connect 8 0 9 0; +#X connect 9 0 5 0; +#X connect 10 0 16 0; +#X connect 11 0 17 0; +#X connect 12 0 14 0; +#X connect 13 0 15 0; +#X connect 14 0 5 0; +#X connect 15 0 5 0; +#X connect 16 0 5 0; +#X connect 17 0 5 0; +#X connect 18 0 21 0; +#X connect 18 1 21 1; +#X connect 19 0 23 0; +#X connect 20 0 18 0; +#X connect 21 0 22 0; +#X connect 22 0 5 0; +#X connect 23 0 21 0; +#X connect 23 1 21 2; +#X connect 24 0 21 0; +#X connect 25 0 21 0; +#X connect 26 0 21 0; +#X connect 27 0 21 0; +#X connect 28 0 36 0; +#X connect 29 0 28 0; +#X connect 30 0 28 0; +#X connect 34 0 39 0; +#X connect 35 0 39 0; +#X connect 36 0 5 0; +#X connect 36 1 34 0; +#X connect 36 2 35 0; +#X connect 37 0 36 1; +#X connect 38 0 71 0; +#X connect 40 0 34 1; +#X connect 41 0 35 1; +#X connect 58 0 6 0; +#X connect 59 0 40 0; +#X connect 60 0 41 0; +#X connect 62 0 35 2; +#X connect 63 0 35 2; +#X connect 64 0 35 2; +#X connect 65 0 35 3; +#X connect 66 0 35 3; +#X connect 67 0 35 3; +#X connect 69 0 19 0; +#X connect 70 0 20 0; +#X connect 71 0 31 0; +#X connect 72 0 71 1; +#X connect 73 0 72 0; +#X connect 82 0 0 0; diff --git a/doc/objects/pdp_bqt.pd b/doc/objects/pdp_bqt.pd new file mode 100644 index 0000000..a2f483e --- /dev/null +++ b/doc/objects/pdp_bqt.pd @@ -0,0 +1,95 @@ +#N canvas 384 88 785 659 10; +#X floatatom 88 211 5 0 0; +#X msg 27 211 onep \$1; +#X floatatom 88 242 5 0 0; +#X msg 27 246 twop \$1; +#X obj 454 406 t b f; +#X floatatom 489 369 5 0 0; +#X floatatom 488 317 5 0 0; +#X obj 454 436 pack s 0 0; +#X msg 454 469 \$1 \$2 \$3; +#X obj 489 405 t b f; +#X msg 410 370 lpf; +#X msg 409 344 hpf; +#X msg 409 398 apf; +#X msg 409 425 bsf; +#X obj 461 38 pdp_help_input; +#X msg 461 13 start; +#X msg 507 13 stop; +#X obj 27 616 pdp_help_output; +#X obj 461 93 pdp_route 3; +#X obj 533 65 hdl 15 1 0 3 empty empty empty 0 -6 0 8 -262144 -1 -1 +0; +#X obj 40 540 r \$0-out; +#X obj 558 231 s \$0-out; +#X floatatom 490 157 5 0 0; +#X floatatom 601 156 5 0 0; +#X text 312 358 high pass; +#X text 313 382 low pass; +#X text 314 410 all pass; +#X text 313 439 band stop; +#X text 541 367 pole Q; +#X text 99 31 it is a bit awkward to use directly; +#X text 146 210 one pole filter; +#X text 145 240 double one pole filter; +#X msg 88 180 0.1; +#X msg 502 133 0.5; +#X msg 600 133 0.5; +#X text 588 62 choose example here; +#X text 93 91 "unstable" behaviour is possible; +#X msg 490 347 0.1; +#X msg 488 293 0.3; +#X obj 27 590 pdp_gain; +#X floatatom 118 564 5 0 0; +#X msg 118 542 1; +#X text 95 107 when frequency and Q are outside their; +#X text 96 122 sensible ranges; +#X text 264 342 set the filter type:; +#X text 136 192 set the filter type:; +#X text 538 319 (between 0 and 1 \, 0.5 = nyquist); +#X text 540 333; +#X text 540 305 pole frequency; +#X text 37 16 pdp_bqt: a temporal biquad filter; +#X text 99 45 try one of the abstractions (pdp_motion_blur and; +#X text 100 61 pdp_motion_phase); +#X obj 434 190 pdp_motion_blur; +#X obj 558 190 pdp_motion_phase; +#X obj 27 499 pdp_bqt; +#X connect 0 0 1 0; +#X connect 1 0 54 0; +#X connect 2 0 3 0; +#X connect 2 0 3 0; +#X connect 3 0 54 0; +#X connect 4 0 7 0; +#X connect 4 1 7 1; +#X connect 5 0 9 0; +#X connect 6 0 4 0; +#X connect 7 0 8 0; +#X connect 8 0 54 0; +#X connect 9 0 7 0; +#X connect 9 1 7 2; +#X connect 10 0 7 0; +#X connect 11 0 7 0; +#X connect 12 0 7 0; +#X connect 13 0 7 0; +#X connect 14 0 18 0; +#X connect 15 0 14 0; +#X connect 16 0 14 0; +#X connect 18 0 54 0; +#X connect 18 1 52 0; +#X connect 18 2 53 0; +#X connect 19 0 18 1; +#X connect 20 0 39 0; +#X connect 22 0 52 1; +#X connect 23 0 53 1; +#X connect 32 0 0 0; +#X connect 33 0 22 0; +#X connect 34 0 23 0; +#X connect 37 0 5 0; +#X connect 38 0 6 0; +#X connect 39 0 17 0; +#X connect 40 0 39 1; +#X connect 41 0 40 0; +#X connect 52 0 21 0; +#X connect 53 0 21 0; +#X connect 54 0 39 0; diff --git a/doc/objects/pdp_cheby.pd b/doc/objects/pdp_cheby.pd new file mode 100644 index 0000000..ada420b --- /dev/null +++ b/doc/objects/pdp_cheby.pd @@ -0,0 +1,47 @@ +#N canvas 57 353 672 516 10; +#X msg 81 108 coef 0 \$1; +#X floatatom 113 78 5 0 0; +#X floatatom 180 81 5 0 0; +#X msg 160 109 coef 1 \$1; +#X floatatom 276 78 5 0 0; +#X msg 244 108 coef 2 \$1; +#X floatatom 356 77 5 0 0; +#X msg 324 107 coef 3 \$1; +#X obj 51 372 pdp_cheby 3; +#X floatatom 338 324 5 0 0; +#X msg 340 194 chan 1; +#X text 216 52 coefficients; +#X msg 339 233 chan 0; +#X msg 394 194 chan 2; +#X msg 448 194 chan 3; +#X text 152 363 creation arg: order (nb coefs = order + 1); +#X text 153 379 (default = minimal order = 2); +#X msg 338 274 reset; +#X obj 51 41 pdp_help_input; +#X msg 51 11 start; +#X msg 100 11 stop; +#X obj 51 414 pdp_help_output; +#X text 392 234 all channels; +#X text 391 324 right inlet: number of iterations; +#X text 390 273 set all coefs to 0; +#X msg 338 303 1; +#X text 340 173 select colour channel to be processed; +#X connect 0 0 8 0; +#X connect 1 0 0 0; +#X connect 2 0 3 0; +#X connect 3 0 8 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 7 0; +#X connect 7 0 8 0; +#X connect 8 0 21 0; +#X connect 9 0 8 1; +#X connect 10 0 8 0; +#X connect 12 0 8 0; +#X connect 13 0 8 0; +#X connect 14 0 8 0; +#X connect 17 0 8 0; +#X connect 18 0 8 0; +#X connect 19 0 18 0; +#X connect 20 0 18 0; +#X connect 25 0 9 0; diff --git a/doc/objects/pdp_chrot.pd b/doc/objects/pdp_chrot.pd new file mode 100644 index 0000000..fb59ed5 --- /dev/null +++ b/doc/objects/pdp_chrot.pd @@ -0,0 +1,13 @@ +#N canvas 355 66 554 208 10; +#X obj 74 64 pdp_help_input; +#X msg 74 31 start; +#X msg 124 31 stop; +#X obj 74 121 pdp_chrot; +#X obj 74 157 pdp_help_output; +#X floatatom 151 99 5 0 0; +#X text 204 100 rotate the chroma components by this angle; +#X connect 0 0 3 0; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 3 0 4 0; +#X connect 5 0 3 1; diff --git a/doc/objects/pdp_constant.pd b/doc/objects/pdp_constant.pd new file mode 100644 index 0000000..b17c488 --- /dev/null +++ b/doc/objects/pdp_constant.pd @@ -0,0 +1,21 @@ +#N canvas 306 280 575 277 10; +#X obj 46 231 pdp_help_output; +#X obj 46 149 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 125 76 dim 320 240; +#X text 221 76 set packet dimensions; +#X msg 125 103 type grey; +#X msg 125 126 type yv12; +#X obj 46 198 pdp_constant; +#X floatatom 125 172 5 0 0; +#X text 221 105 generate greyscale image; +#X text 221 124 generate colour image (default); +#X text 221 174 set constant; +#X text 118 26 pdp_constant creates an image filled with a constant +when a bang is received; +#X connect 1 0 6 0; +#X connect 2 0 6 0; +#X connect 4 0 6 0; +#X connect 5 0 6 0; +#X connect 6 0 0 0; +#X connect 7 0 6 1; diff --git a/doc/objects/pdp_control.pd b/doc/objects/pdp_control.pd new file mode 100644 index 0000000..fccb5e9 --- /dev/null +++ b/doc/objects/pdp_control.pd @@ -0,0 +1,37 @@ +#N canvas 259 276 579 567 10; +#X obj 237 316 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +1; +#X obj 237 406 pdp_control; +#X msg 237 357 thread \$1; +#X obj 48 54 pdp_help_input; +#X msg 48 24 start; +#X msg 105 24 stop; +#X obj 48 205 pdp_help_output; +#X obj 48 154 pdp_conv; +#X floatatom 117 86 5 0 0; +#X obj 79 350 osc~; +#X floatatom 79 315 5 0 0; +#X obj 79 419 osc~; +#X floatatom 112 391 5 0 0; +#X obj 79 449 dac~; +#X obj 237 445 print; +#X text 276 314 switch thread processing on or of; +#X text 291 446 a pdp_drop message will be sent out; +#X text 291 462 when a package is dropped; +#X text 175 82 increase this with thread processing enabled \, no audio +should be dropped. if you do it with thread processing enabled \, increasing +it too much can lock up the machine when real time scheduling is enabled. +; +#X text 119 155 a convolution object to burn cycles; +#X connect 0 0 2 0; +#X connect 1 0 14 0; +#X connect 2 0 1 0; +#X connect 3 0 7 0; +#X connect 4 0 3 0; +#X connect 5 0 3 0; +#X connect 7 0 6 0; +#X connect 8 0 7 1; +#X connect 9 0 11 0; +#X connect 10 0 9 0; +#X connect 11 0 13 0; +#X connect 12 0 11 1; diff --git a/doc/objects/pdp_conv.pd b/doc/objects/pdp_conv.pd new file mode 100644 index 0000000..aed62e2 --- /dev/null +++ b/doc/objects/pdp_conv.pd @@ -0,0 +1,44 @@ +#N canvas 450 114 702 535 10; +#X obj 39 353 pdp_conv; +#X floatatom 90 326 5 0 0; +#X msg 87 195 hor \$1; +#X msg 86 137 ver \$1; +#X obj 87 170 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1 +; +#X obj 86 112 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1 +; +#X msg 89 264 vmask 0.25 0.5 0.25; +#X msg 89 291 hmask 0.25 0.5 0.25; +#X msg 88 239 vmask 0.25 -0.5 0.25; +#X obj 39 63 pdp_help_input; +#X msg 39 24 start; +#X msg 86 24 stop; +#X obj 39 480 pdp_help_output; +#X obj 39 436 pdp_gain; +#X floatatom 90 409 5 0 0; +#X msg 90 386 1; +#X text 162 327 right inlet sets number of iterations; +#X text 263 239 these messages set the horizontal and vertical convolution +masks. note that there is no support for 2 dimensional masks. if you +want that you'll need to factor things out. (see the pdp_conv_* abstractions +for examples); +#X text 264 157 enable/disable horizontal and vertical masks; +#X text 162 428 note: mask coefficents are between -1 and 1; +#X text 162 441 use a gain object to compensate for this; +#X msg 128 385 9; +#X connect 0 0 13 0; +#X connect 1 0 0 1; +#X connect 2 0 0 0; +#X connect 3 0 0 0; +#X connect 4 0 2 0; +#X connect 5 0 3 0; +#X connect 6 0 0 0; +#X connect 7 0 0 0; +#X connect 8 0 0 0; +#X connect 9 0 0 0; +#X connect 10 0 9 0; +#X connect 11 0 9 0; +#X connect 13 0 12 0; +#X connect 14 0 13 1; +#X connect 15 0 14 0; +#X connect 21 0 14 0; diff --git a/doc/objects/pdp_del.pd b/doc/objects/pdp_del.pd new file mode 100644 index 0000000..af16651 --- /dev/null +++ b/doc/objects/pdp_del.pd @@ -0,0 +1,26 @@ +#N canvas 414 20 609 368 10; +#X floatatom 107 116 5 0 0; +#X floatatom 64 207 5 0 0; +#X obj 20 60 pdp_help_input; +#X msg 20 31 start; +#X msg 72 30 stop; +#X obj 20 236 pdp_mix; +#X obj 20 268 pdp_help_output; +#X msg 64 183 0.5; +#X text 164 116 right inlet sets current delay length; +#X text 164 149 a packet delay line.; +#X text 164 180 (dont make this too large \, packets are not compressed!) +; +#X obj 42 147 pdp_del 50; +#X text 164 165 first creation arg = max delay length; +#X text 165 213 second creation arg: initial delay (default = max) +; +#X connect 0 0 11 1; +#X connect 1 0 5 2; +#X connect 2 0 5 0; +#X connect 2 0 11 0; +#X connect 3 0 2 0; +#X connect 4 0 2 0; +#X connect 5 0 6 0; +#X connect 7 0 1 0; +#X connect 11 0 5 1; diff --git a/doc/objects/pdp_gain.pd b/doc/objects/pdp_gain.pd new file mode 100644 index 0000000..eec7e76 --- /dev/null +++ b/doc/objects/pdp_gain.pd @@ -0,0 +1,32 @@ +#N canvas 317 409 546 403 10; +#X msg 91 25 start; +#X msg 139 25 stop; +#X obj 91 56 pdp_help_input; +#X obj 91 350 pdp_help_output; +#X obj 91 274 pdp_gain; +#X floatatom 142 245 5 0 0; +#X text 201 243 right inlet sets overal gain; +#X msg 127 159 y \$1; +#X msg 176 159 v \$1; +#X msg 224 158 u \$1; +#X floatatom 127 122 5 0 0; +#X floatatom 176 122 5 0 0; +#X floatatom 224 122 5 0 0; +#X text 281 121 set individual channel gains; +#X text 301 144 y: luma; +#X text 301 160 v: chroma red; +#X text 301 175 u: chroma blue; +#X text 201 290 creation argument sets initial gain; +#X text 200 308 (default = 1); +#X text 202 274 pdp_gain clips when overdriven; +#X connect 0 0 2 0; +#X connect 1 0 2 0; +#X connect 2 0 4 0; +#X connect 4 0 3 0; +#X connect 5 0 4 1; +#X connect 7 0 4 0; +#X connect 8 0 4 0; +#X connect 9 0 4 0; +#X connect 10 0 7 0; +#X connect 11 0 8 0; +#X connect 12 0 9 0; diff --git a/doc/objects/pdp_gradient.pd b/doc/objects/pdp_gradient.pd new file mode 100644 index 0000000..ece3876 --- /dev/null +++ b/doc/objects/pdp_gradient.pd @@ -0,0 +1,29 @@ +#N canvas 489 317 590 374 10; +#X obj 46 291 pdp_gradient; +#X floatatom 188 114 5 0 0; +#X obj 145 143 t b f; +#X floatatom 140 114 5 0 0; +#X obj 104 144 t b f; +#X floatatom 93 114 5 0 0; +#X obj 46 40 pdp_help_input; +#X msg 46 10 start; +#X msg 95 10 stop; +#X obj 46 337 pdp_help_output; +#X text 150 283 apply a color gradient to a greyscale image or the +luma channel of a colour image; +#X obj 93 181 pack 0 0 0; +#X msg 93 216 rgb \$1 \$2 \$3; +#X text 107 91 red green blue; +#X connect 0 0 9 0; +#X connect 1 0 2 0; +#X connect 2 0 11 0; +#X connect 2 1 11 2; +#X connect 3 0 4 0; +#X connect 4 0 11 0; +#X connect 4 1 11 1; +#X connect 5 0 11 0; +#X connect 6 0 0 0; +#X connect 7 0 6 0; +#X connect 8 0 6 0; +#X connect 11 0 12 0; +#X connect 12 0 0 0; diff --git a/doc/objects/pdp_grey.pd b/doc/objects/pdp_grey.pd new file mode 100644 index 0000000..cd8d4e2 --- /dev/null +++ b/doc/objects/pdp_grey.pd @@ -0,0 +1,17 @@ +#N canvas 556 468 575 277 10; +#X obj 46 40 pdp_help_input; +#X msg 46 10 start; +#X msg 95 10 stop; +#X obj 46 225 pdp_help_output; +#X obj 118 69 hdl 15 1 0 2 empty empty empty 0 -6 0 8 -262144 -1 -1 +0; +#X obj 46 90 pdp_route 2; +#X obj 118 154 pdp_grey; +#X text 194 155 convert a packet to greyscale; +#X connect 0 0 5 0; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 4 0 5 1; +#X connect 5 0 3 0; +#X connect 5 1 6 0; +#X connect 6 0 3 0; diff --git a/doc/objects/pdp_grey2mask.pd b/doc/objects/pdp_grey2mask.pd new file mode 100644 index 0000000..9a561ff --- /dev/null +++ b/doc/objects/pdp_grey2mask.pd @@ -0,0 +1,25 @@ +#N canvas 369 257 656 300 10; +#X obj 46 40 pdp_help_input; +#X msg 46 10 start; +#X msg 95 10 stop; +#X obj 46 275 pdp_help_output; +#X obj 90 146 pdp_grey2mask; +#X obj 46 183 pdp_mul; +#X obj 46 247 pdp_gain; +#X floatatom 97 220 5 0 0; +#X text 194 136 convert a grey scale image or the luma channel of a +colour image to an image mask. (to be used for multiplication); +#X obj 90 119 pdp_reg; +#X obj 172 73 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 197 70 click here to propagate a new mask; +#X connect 0 0 5 0; +#X connect 0 0 9 1; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 4 0 5 1; +#X connect 5 0 6 0; +#X connect 6 0 3 0; +#X connect 7 0 6 1; +#X connect 9 0 4 0; +#X connect 10 0 9 0; diff --git a/doc/objects/pdp_help_output.pd b/doc/objects/pdp_help_output.pd index b3cf6cf..c216ae3 100644 --- a/doc/objects/pdp_help_output.pd +++ b/doc/objects/pdp_help_output.pd @@ -1,7 +1,6 @@ -#N canvas 664 342 450 300 10; -#X obj 158 71 inlet; +#N canvas 482 342 450 300 10; +#X obj 59 95 inlet; #X obj 59 178 pdp_xv; -#X obj 162 180 pdp_sdl; #X text 17 11 this abstraction is used as an output module in most of the documentation patches. change it to reflect your preferred output object.; diff --git a/doc/objects/pdp_mix.pd b/doc/objects/pdp_mix.pd new file mode 100644 index 0000000..12dc169 --- /dev/null +++ b/doc/objects/pdp_mix.pd @@ -0,0 +1,21 @@ +#N canvas 314 353 576 288 10; +#X obj 103 132 pdp_reg; +#X obj 201 86 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 200 155 5 0 0; +#X obj 81 48 pdp_help_input; +#X msg 81 18 start; +#X msg 130 18 stop; +#X obj 81 238 pdp_help_output; +#X text 268 80 click here; +#X obj 81 184 pdp_mix; +#X text 268 159 crossfade between 2 packets; +#X text 268 175 0 = left inlet \, 1 = middle inlet; +#X connect 0 0 8 1; +#X connect 1 0 0 0; +#X connect 2 0 8 2; +#X connect 3 0 0 1; +#X connect 3 0 8 0; +#X connect 4 0 3 0; +#X connect 5 0 3 0; +#X connect 8 0 6 0; diff --git a/doc/objects/pdp_mix2.pd b/doc/objects/pdp_mix2.pd new file mode 100644 index 0000000..aa492b1 --- /dev/null +++ b/doc/objects/pdp_mix2.pd @@ -0,0 +1,25 @@ +#N canvas 314 353 576 288 10; +#X obj 98 132 pdp_reg; +#X obj 201 86 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 205 138 5 0 0; +#X obj 81 48 pdp_help_input; +#X msg 81 18 start; +#X msg 130 18 stop; +#X obj 81 238 pdp_help_output; +#X text 268 80 click here; +#X obj 81 201 pdp_mix2; +#X floatatom 205 161 5 0 0; +#X text 158 199 pdp_mix2 adds two packets after applying attenuation +; +#X text 268 136 left packet attenuation; +#X text 268 159 right packet attenuation; +#X connect 0 0 8 1; +#X connect 1 0 0 0; +#X connect 2 0 8 2; +#X connect 3 0 0 1; +#X connect 3 0 8 0; +#X connect 4 0 3 0; +#X connect 5 0 3 0; +#X connect 8 0 6 0; +#X connect 9 0 8 3; diff --git a/doc/objects/pdp_mul.pd b/doc/objects/pdp_mul.pd new file mode 100644 index 0000000..596c1cb --- /dev/null +++ b/doc/objects/pdp_mul.pd @@ -0,0 +1,24 @@ +#N canvas 224 229 462 390 10; +#X msg 77 38 start; +#X msg 124 38 stop; +#X obj 77 70 pdp_help_input; +#X obj 77 330 pdp_help_output; +#X obj 121 164 pdp_reg; +#X obj 195 127 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 228 125 click here; +#X obj 77 295 pdp_gain; +#X floatatom 128 267 5 0 0; +#X text 229 201 multiplies 2 packets; +#X obj 77 197 pdp_mul; +#X msg 128 241 2; +#X connect 0 0 2 0; +#X connect 1 0 2 0; +#X connect 2 0 10 0; +#X connect 2 0 4 1; +#X connect 4 0 10 1; +#X connect 5 0 4 0; +#X connect 7 0 3 0; +#X connect 8 0 7 1; +#X connect 10 0 7 0; +#X connect 11 0 8 0; diff --git a/doc/objects/pdp_noise.pd b/doc/objects/pdp_noise.pd new file mode 100644 index 0000000..732d4a1 --- /dev/null +++ b/doc/objects/pdp_noise.pd @@ -0,0 +1,21 @@ +#N canvas 614 448 575 277 10; +#X obj 46 231 pdp_help_output; +#X obj 46 198 pdp_noise; +#X obj 46 149 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 174 71 dim 320 240; +#X text 270 71 set packet dimensions; +#X msg 174 98 type grey; +#X msg 174 121 type yv12; +#X text 270 100 generate greyscale; +#X text 270 119 generate colour (default); +#X msg 174 152 seed 123; +#X text 270 152 set seed value; +#X text 167 21 pdp_noise creates a random image (with uniform distribution +between -1 and 1) when a bang is received; +#X connect 1 0 0 0; +#X connect 2 0 1 0; +#X connect 3 0 1 0; +#X connect 5 0 1 0; +#X connect 6 0 1 0; +#X connect 9 0 1 0; diff --git a/doc/objects/pdp_qt.pd b/doc/objects/pdp_qt.pd new file mode 100644 index 0000000..9ff6154 --- /dev/null +++ b/doc/objects/pdp_qt.pd @@ -0,0 +1,71 @@ +#N canvas 400 126 740 623 10; +#X obj 59 391 pdp_qt; +#X floatatom 77 429 5 0 0; +#X floatatom 127 430 5 0 0; +#X obj 56 41 metro 40; +#X msg 56 13 bang; +#X msg 97 13 stop; +#X msg 15 13 bang; +#X obj 140 41 openpanel; +#X msg 140 66 open \$1; +#X msg 140 13 bang; +#X msg 140 92 close; +#X text 249 66 open/close for file access; +#X floatatom 140 120 5 0 0; +#X floatatom 140 146 5 0 0; +#X text 248 117 float on left inlet selects a frame for output; +#X msg 140 197 loop \$1; +#X obj 203 182 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X text 250 198 automatic looping can be enabled/disabled; +#X text 251 9 pdp_qt plays a quicktime movie.; +#X text 250 221 this enables automatic playback at the frame rate specified +in the movie file. in pdp_qt~ playback is synchronized to the audio +stream.; +#X msg 142 341 dump array 0; +#X text 252 330 if the movie contains audio \, this command dumps the +audio data into an array specified by the first argument. the second +argument is the audio channel (default = 0 = left); +#X msg 142 291 stop; +#X text 251 289 stops automatic playback (same as autoplay 0); +#X msg 141 222 autoplay 1; +#X msg 142 267 play; +#X text 252 432 the second outlet outputs the current frame number. +the third outlet outputs the total number of frames in a movie when +it is opened.; +#X msg 142 315 cont; +#X text 251 269 starts automatic playback (same as 0 \, autplay 1 \, +bang); +#X text 251 310 resumes automatic playback (same as autplay 1 \, bang) +; +#X text 249 137 float on right inlet selects the frame to be read on +the next sync event (bang message / internal sync).; +#X obj 59 462 pdp_help_output; +#X obj 335 535 table array; +#X obj 448 535 tabplay~ array; +#X obj 448 576 dac~; +#X obj 448 506 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X connect 0 0 31 0; +#X connect 0 1 1 0; +#X connect 0 2 2 0; +#X connect 3 0 0 0; +#X connect 4 0 3 0; +#X connect 5 0 3 0; +#X connect 6 0 0 0; +#X connect 7 0 8 0; +#X connect 8 0 0 0; +#X connect 9 0 7 0; +#X connect 10 0 0 0; +#X connect 12 0 0 0; +#X connect 13 0 0 1; +#X connect 15 0 0 0; +#X connect 16 0 15 0; +#X connect 20 0 0 0; +#X connect 22 0 0 0; +#X connect 24 0 0 0; +#X connect 25 0 0 0; +#X connect 27 0 0 0; +#X connect 33 0 34 0; +#X connect 33 0 34 1; +#X connect 35 0 33 0; diff --git a/doc/objects/pdp_qt~.pd b/doc/objects/pdp_qt~.pd new file mode 100644 index 0000000..b03e4e1 --- /dev/null +++ b/doc/objects/pdp_qt~.pd @@ -0,0 +1,25 @@ +#N canvas 400 126 692 254 10; +#X obj 62 122 pdp_qt~; +#X obj 90 164 dac~; +#X msg 39 51 play; +#X obj 133 42 openpanel; +#X msg 133 67 open \$1; +#X msg 133 14 bang; +#X text 257 67 pdp_qt~ is the same as pdp_qt exept that it also outputs +the audio data corresponding to the current frame on its 2 rightmost +outlets. if there is a lag between audio and video a pdp_del object +can be inserted to delay the image. note that in order to get acceptable +audio quality with relatively few dropouts you might need to increase +the pd audio latency.; +#X msg 15 24 loop 1; +#X floatatom 84 52 5 0 0; +#X obj 62 214 pdp_help_output; +#X connect 0 0 9 0; +#X connect 0 3 1 0; +#X connect 0 4 1 1; +#X connect 2 0 0 0; +#X connect 3 0 4 0; +#X connect 4 0 0 0; +#X connect 5 0 3 0; +#X connect 7 0 0 0; +#X connect 8 0 0 1; diff --git a/doc/objects/pdp_randmix.pd b/doc/objects/pdp_randmix.pd new file mode 100644 index 0000000..75f12fc --- /dev/null +++ b/doc/objects/pdp_randmix.pd @@ -0,0 +1,21 @@ +#N canvas 314 353 584 288 10; +#X obj 81 184 pdp_randmix; +#X obj 117 132 pdp_reg; +#X obj 200 87 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 200 155 5 0 0; +#X obj 81 48 pdp_help_input; +#X msg 81 18 start; +#X msg 130 18 stop; +#X obj 81 238 pdp_help_output; +#X text 268 80 click here; +#X text 268 159 random crossfade between 2 packets; +#X text 268 175 0 = left \, 1 = right; +#X connect 0 0 7 0; +#X connect 1 0 0 1; +#X connect 2 0 1 0; +#X connect 3 0 0 2; +#X connect 4 0 0 0; +#X connect 4 0 1 1; +#X connect 5 0 4 0; +#X connect 6 0 4 0; diff --git a/doc/objects/pdp_reg.pd b/doc/objects/pdp_reg.pd new file mode 100644 index 0000000..9a78e66 --- /dev/null +++ b/doc/objects/pdp_reg.pd @@ -0,0 +1,20 @@ +#N canvas 623 480 596 300 10; +#X obj 41 171 pdp_reg; +#X obj 41 140 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 +-1; +#X msg 85 15 start; +#X msg 135 15 stop; +#X obj 85 53 pdp_help_input; +#X obj 41 240 pdp_help_output; +#X text 113 144 pdp_reg works in the same way as the pd float or int +objects; +#X text 263 178 bang: sends stored packet to output; +#X text 263 163 pdp: stores packet and sends to output; +#X text 263 199 pdp: stores a new packet; +#X text 112 164 left intlet (hot):; +#X text 112 199 right intlet (cold):; +#X connect 0 0 5 0; +#X connect 1 0 0 0; +#X connect 2 0 4 0; +#X connect 3 0 4 0; +#X connect 4 0 0 1; diff --git a/doc/objects/pdp_rotate.pd b/doc/objects/pdp_rotate.pd new file mode 100644 index 0000000..6c60c60 --- /dev/null +++ b/doc/objects/pdp_rotate.pd @@ -0,0 +1,30 @@ +#N canvas 467 414 562 448 10; +#X msg 195 174 centerx \$1; +#X floatatom 195 145 5 0 0; +#X floatatom 279 145 5 0 0; +#X msg 279 174 centery \$1; +#X obj 46 40 pdp_help_input; +#X msg 46 10 start; +#X msg 95 10 stop; +#X obj 46 401 pdp_help_output; +#X text 194 70 (0 \, 0) = top left; +#X text 194 84 (1 \, 1) = bottom right; +#X msg 247 113 0.5; +#X floatatom 187 318 5 0 0; +#X msg 187 288 0; +#X text 192 6 pdp_zrot: zoom and rotation; +#X obj 46 363 pdp_rotate; +#X text 239 319 right inlet sets rotation angle; +#X text 194 54 set rotation center; +#X connect 0 0 14 0; +#X connect 1 0 0 0; +#X connect 2 0 3 0; +#X connect 3 0 14 0; +#X connect 4 0 14 0; +#X connect 5 0 4 0; +#X connect 6 0 4 0; +#X connect 10 0 1 0; +#X connect 10 0 2 0; +#X connect 11 0 14 1; +#X connect 12 0 11 0; +#X connect 14 0 7 0; diff --git a/doc/objects/pdp_route.pd b/doc/objects/pdp_route.pd new file mode 100644 index 0000000..c9d341d --- /dev/null +++ b/doc/objects/pdp_route.pd @@ -0,0 +1,22 @@ +#N canvas 614 448 575 277 10; +#X obj 46 40 pdp_help_input; +#X msg 46 10 start; +#X msg 95 10 stop; +#X obj 46 225 pdp_help_output; +#X obj 46 172 pdp_gain 1; +#X obj 130 172 pdp_gain 2; +#X obj 118 69 hdl 15 1 0 2 empty empty empty 0 -6 0 8 -262144 -1 -1 +0; +#X text 155 88 routes a packet to a specified outlet \, determined +by the right inlet; +#X text 155 124 creation argument = number of outlets (default = 2) +; +#X obj 46 90 pdp_route 2; +#X connect 0 0 9 0; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 4 0 3 0; +#X connect 5 0 3 0; +#X connect 6 0 9 1; +#X connect 9 0 4 0; +#X connect 9 1 5 0; diff --git a/doc/objects/pdp_scale.pd b/doc/objects/pdp_scale.pd new file mode 100644 index 0000000..9ed7996 --- /dev/null +++ b/doc/objects/pdp_scale.pd @@ -0,0 +1,32 @@ +#N canvas 475 141 635 386 10; +#X msg 76 207 dim 256 256; +#X msg 76 235 dim 320 240; +#X obj 28 275 pdp_scale 320 240; +#X msg 75 181 dim 32 32; +#X msg 259 234 quality \$1; +#X obj 28 65 pdp_help_input; +#X msg 28 36 start; +#X msg 80 35 stop; +#X obj 28 317 pdp_help_output; +#X text 347 225 0 = nearest neighbour; +#X text 347 240 1 = bilinear; +#X text 74 154 set new packet dimensions; +#X text 161 28 pdp_scale rescales the packet format.; +#X text 161 56 use this if you want to combine different packet sizes. +or have movies that don't have a legal size (not a multiple of 8x8) +; +#X msg 259 204 0; +#X msg 294 204 1; +#X text 159 103 (try to avoid rescaling by using movies with equal +(legal) dimensions \, it is not a cheap operation and can easily be +done in advance); +#X connect 0 0 2 0; +#X connect 1 0 2 0; +#X connect 2 0 8 0; +#X connect 3 0 2 0; +#X connect 4 0 2 0; +#X connect 5 0 2 0; +#X connect 6 0 5 0; +#X connect 7 0 5 0; +#X connect 14 0 4 0; +#X connect 15 0 4 0; diff --git a/doc/objects/pdp_scanxy~.pd b/doc/objects/pdp_scanxy~.pd new file mode 100644 index 0000000..5edad44 --- /dev/null +++ b/doc/objects/pdp_scanxy~.pd @@ -0,0 +1,76 @@ +#N canvas 362 152 806 785 10; +#X floatatom 73 226 5 0 0; +#X obj 73 602 dac~; +#X obj 13 48 pdp_help_input; +#X msg 13 19 start; +#X obj 13 632 pdp_help_output; +#X obj 73 546 *~; +#X floatatom 89 517 5 0 0; +#X obj 73 486 hip~ 20; +#X floatatom 117 459 5 0 0; +#X floatatom 131 406 5 0 0; +#X obj 73 433 lop~ 1000; +#X msg 222 342 interpolate \$1; +#X obj 222 316 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +1; +#X text 251 313 set interpolation between consecutive packets on/off +; +#X text 216 377 (the audio crossfade size is determined by the pd blocksize. +so you can use a block~ object to set this); +#X obj 73 375 pdp_scanxy~; +#X floatatom 145 228 5 0 0; +#X floatatom 73 146 5 0 0; +#X msg 224 225 0; +#X msg 255 225 0.25; +#X obj 224 197 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 61 20 stop; +#X obj 13 96 pdp_blur; +#X floatatom 58 72 5 0 0; +#X floatatom 161 167 5 0 0; +#X obj 145 198 * 1; +#X text 220 46 pdp_scanxy~: scanned synthesis with coordinate input. +(0 \, 0) = top left \, (1 \, 1) = bottom right; +#X obj 73 267 osc~; +#X obj 145 266 osc~; +#X text 223 164 set frequency ratio for lissajous path; +#X text 250 196 resync phase; +#X obj 73 293 *~ 0.5; +#X obj 145 293 *~ 0.5; +#X obj 73 318 +~ 0.5; +#X obj 145 318 +~ 0.5; +#X text 220 87 the waveform is scanned from the luma plane of an image. +the path is determined by the left(x) and right(y) coordinate inlets. +; +#X connect 0 0 27 0; +#X connect 2 0 22 0; +#X connect 3 0 2 0; +#X connect 5 0 1 0; +#X connect 5 0 1 1; +#X connect 6 0 5 1; +#X connect 7 0 5 0; +#X connect 8 0 7 1; +#X connect 9 0 10 1; +#X connect 10 0 7 0; +#X connect 11 0 15 0; +#X connect 12 0 11 0; +#X connect 15 0 10 0; +#X connect 16 0 28 0; +#X connect 17 0 0 0; +#X connect 17 0 25 0; +#X connect 18 0 27 1; +#X connect 19 0 28 1; +#X connect 20 0 18 0; +#X connect 20 0 19 0; +#X connect 21 0 2 0; +#X connect 22 0 4 0; +#X connect 22 0 15 0; +#X connect 23 0 22 1; +#X connect 24 0 25 1; +#X connect 25 0 16 0; +#X connect 27 0 31 0; +#X connect 28 0 32 0; +#X connect 31 0 33 0; +#X connect 32 0 34 0; +#X connect 33 0 15 0; +#X connect 34 0 15 1; diff --git a/doc/objects/pdp_scan~.pd b/doc/objects/pdp_scan~.pd new file mode 100644 index 0000000..69b0900 --- /dev/null +++ b/doc/objects/pdp_scan~.pd @@ -0,0 +1,41 @@ +#N canvas 387 370 666 499 10; +#X obj 73 140 pdp_scan~; +#X obj 73 113 phasor~; +#X floatatom 73 86 5 0 0; +#X obj 73 353 dac~; +#X obj 13 48 pdp_help_input; +#X msg 13 19 start; +#X obj 13 397 pdp_help_output; +#X obj 73 311 *~; +#X floatatom 89 282 5 0 0; +#X obj 73 251 hip~ 20; +#X floatatom 117 224 5 0 0; +#X floatatom 131 171 5 0 0; +#X obj 73 198 lop~ 1000; +#X msg 217 102 interpolate \$1; +#X obj 217 76 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X text 216 124 set interpolation between consecutive packets on/off +; +#X text 216 142 (the audio crossfade size is determined by the pd blocksize. +so you can use a block~ object to set this); +#X text 218 236 the waveform is scanned from the luma plane of an image. +the path is an oval centered at the middle of the image with axes equal +to 60% of the image width/height.; +#X text 214 43 pdp_scan~: oval scanned synthesis with a phase input +; +#X connect 0 0 12 0; +#X connect 1 0 0 0; +#X connect 2 0 1 0; +#X connect 4 0 0 0; +#X connect 4 0 6 0; +#X connect 5 0 4 0; +#X connect 7 0 3 0; +#X connect 7 0 3 1; +#X connect 8 0 7 1; +#X connect 9 0 7 0; +#X connect 10 0 9 1; +#X connect 11 0 12 1; +#X connect 12 0 9 0; +#X connect 13 0 0 0; +#X connect 14 0 13 0; diff --git a/doc/objects/pdp_scope~.pd b/doc/objects/pdp_scope~.pd new file mode 100644 index 0000000..eeeaabe --- /dev/null +++ b/doc/objects/pdp_scope~.pd @@ -0,0 +1,23 @@ +#N canvas 526 43 567 300 10; +#X obj 37 200 pdp_scope~; +#X obj 37 44 metro 40; +#X obj 37 19 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 94 18 5 0 0; +#X msg 131 131 type grey; +#X msg 131 109 type yv12; +#X obj 37 256 pdp_help_output; +#X msg 131 157 dim 320 240; +#X obj 59 121 osc~; +#X floatatom 59 88 5 0 0; +#X text 131 66 a very simple oscilloscope; +#X text 227 132 set output image type and dimensions; +#X connect 0 0 6 0; +#X connect 1 0 0 0; +#X connect 2 0 1 0; +#X connect 3 0 1 1; +#X connect 4 0 0 0; +#X connect 5 0 0 0; +#X connect 7 0 0 0; +#X connect 8 0 0 0; +#X connect 9 0 8 0; diff --git a/doc/objects/pdp_snap.pd b/doc/objects/pdp_snap.pd new file mode 100644 index 0000000..b5c2752 --- /dev/null +++ b/doc/objects/pdp_snap.pd @@ -0,0 +1,21 @@ +#N canvas 623 480 596 300 10; +#X msg 92 15 start; +#X msg 142 15 stop; +#X obj 92 53 pdp_help_input; +#X obj 41 240 pdp_help_output; +#X text 140 172 bang: sends stored packet to output; +#X text 113 143 left intlet (hot):; +#X text 112 202 right intlet (cold):; +#X obj 41 171 pdp_snap; +#X text 115 103 pdp_reg takes a snapshot from a pdp stream.; +#X text 263 201 pdp inlet; +#X text 139 157 snap: stores the next packet that arrives on second +inlet; +#X msg 8 130 bang; +#X msg 49 130 snap; +#X connect 0 0 2 0; +#X connect 1 0 2 0; +#X connect 2 0 7 1; +#X connect 7 0 3 0; +#X connect 11 0 7 0; +#X connect 12 0 7 0; diff --git a/doc/objects/pdp_trigger.pd b/doc/objects/pdp_trigger.pd new file mode 100644 index 0000000..f8b5461 --- /dev/null +++ b/doc/objects/pdp_trigger.pd @@ -0,0 +1,14 @@ +#N canvas 526 379 575 277 10; +#X obj 46 40 pdp_help_input; +#X msg 46 10 start; +#X msg 95 10 stop; +#X obj 46 225 pdp_help_output; +#X obj 46 91 pdp_trigger; +#X obj 118 145 print; +#X text 154 90 outputs a bang on the right output before sending packet +to the left output; +#X connect 0 0 4 0; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 4 0 3 0; +#X connect 4 1 5 0; diff --git a/doc/objects/pdp_v4l.pd b/doc/objects/pdp_v4l.pd new file mode 100644 index 0000000..5f5ebb4 --- /dev/null +++ b/doc/objects/pdp_v4l.pd @@ -0,0 +1,54 @@ +#N canvas 238 181 882 542 10; +#X obj 107 427 pdp_v4l; +#X obj 107 53 metro 40; +#X msg 159 14 stop; +#X msg 107 14 bang; +#X msg 51 14 bang; +#X msg 209 93 open /dev/video0; +#X msg 209 117 open /dev/video1; +#X text 347 95 you can choose the input device using the 'open' message. +the default is /dev/video0; +#X msg 209 142 close; +#X text 348 143 closes the video port; +#X msg 209 168 type yv12; +#X msg 209 192 type grey; +#X text 348 171 type sets the ouput image package type. currently only +yv12 (luma/chroma color) and greyscale are supported.; +#X msg 210 221 dim 320 240; +#X msg 210 244 dim 640 480; +#X text 348 215 dim sets the dimensions of the captured frame. please +note that in all objects dimensions and packet type (color/greyscale) +have to be the same to be combined (i.e. mixed); +#X text 207 18 pdp_v4l grabs video from the video4linux device. it +grabs a frame whenever a bang message is received. the output rate +is limited by the maximum framerate of the video device. if there is +no device opened \, it will attempt to open /dev/video0; +#X msg 210 319 channel \$1; +#X floatatom 210 295 5 0 0; +#X text 347 320 sets the v4l channel (like tuner \, composite \, svideo +\, ...); +#X floatatom 210 359 5 0 0; +#X msg 210 383 freq \$1; +#X floatatom 271 359 5 0 0; +#X msg 271 383 freqMHz \$1; +#X text 346 359 sets the v4l tuner frequency (in v4l units and MHz) +; +#X obj 107 480 pdp_help_output; +#X connect 0 0 25 0; +#X connect 1 0 0 0; +#X connect 2 0 1 0; +#X connect 3 0 1 0; +#X connect 4 0 0 0; +#X connect 5 0 0 0; +#X connect 6 0 0 0; +#X connect 8 0 0 0; +#X connect 10 0 0 0; +#X connect 11 0 0 0; +#X connect 13 0 0 0; +#X connect 14 0 0 0; +#X connect 17 0 0 0; +#X connect 18 0 17 0; +#X connect 20 0 21 0; +#X connect 21 0 0 0; +#X connect 22 0 23 0; +#X connect 23 0 0 0; diff --git a/doc/objects/pdp_xv.pd b/doc/objects/pdp_xv.pd new file mode 100644 index 0000000..dd07488 --- /dev/null +++ b/doc/objects/pdp_xv.pd @@ -0,0 +1,36 @@ +#N canvas 150 382 708 497 10; +#X obj 29 412 pdp_xv; +#X msg 132 223 dim 320 240; +#X msg 132 246 dim 640 480; +#X text 271 226 dim sets the window dimensions; +#X msg 132 177 create; +#X msg 132 198 destroy; +#X text 130 114 pdp_xv ouputs video in a window using the xVideo extension. +if your graphics card/driver supports it you can have multiple output +windows. if a pdp message is received and a window is not open \, one +is created automaticly.; +#X text 271 180 use these messages to explicitly create/destroy the +window; +#X msg 134 294 cursor \$1; +#X obj 134 274 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X text 270 294 enables/disables cursor in xv window; +#X obj 29 61 pdp_help_input; +#X msg 29 25 start; +#X msg 78 24 stop; +#X text 269 326 specify the x window display; +#X msg 134 324 display :0; +#X obj 29 448 print; +#X text 133 445 the output channel sends mouse event messages (press/release/drag +and individual p/r/d for each button); +#X connect 0 0 16 0; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 4 0 0 0; +#X connect 5 0 0 0; +#X connect 8 0 0 0; +#X connect 9 0 8 0; +#X connect 11 0 0 0; +#X connect 12 0 11 0; +#X connect 13 0 11 0; +#X connect 15 0 0 0; diff --git a/doc/objects/pdp_zoom.pd b/doc/objects/pdp_zoom.pd new file mode 100644 index 0000000..19ec1a7 --- /dev/null +++ b/doc/objects/pdp_zoom.pd @@ -0,0 +1,41 @@ +#N canvas 467 414 562 448 10; +#X obj 46 288 pdp_zoom; +#X floatatom 121 264 5 0 0; +#X floatatom 174 130 5 0 0; +#X msg 87 160 zoomx \$1; +#X msg 174 160 zoomy \$1; +#X floatatom 87 129 5 0 0; +#X msg 282 162 centerx \$1; +#X floatatom 282 133 5 0 0; +#X floatatom 366 133 5 0 0; +#X msg 366 162 centery \$1; +#X obj 46 40 pdp_help_input; +#X msg 46 10 start; +#X msg 95 10 stop; +#X obj 46 341 pdp_help_output; +#X text 173 265 right inlet sets zoom amount; +#X text 281 42 set zoom center; +#X text 281 58 (0 \, 0) = top left; +#X text 281 72 (1 \, 1) = bottom right; +#X text 71 79 set individual axis zoom; +#X msg 142 102 1; +#X msg 334 101 0.5; +#X msg 121 234 1; +#X connect 0 0 13 0; +#X connect 1 0 0 1; +#X connect 2 0 4 0; +#X connect 3 0 0 0; +#X connect 4 0 0 0; +#X connect 5 0 3 0; +#X connect 6 0 0 0; +#X connect 7 0 6 0; +#X connect 8 0 9 0; +#X connect 9 0 0 0; +#X connect 10 0 0 0; +#X connect 11 0 10 0; +#X connect 12 0 10 0; +#X connect 19 0 2 0; +#X connect 19 0 5 0; +#X connect 20 0 7 0; +#X connect 20 0 8 0; +#X connect 21 0 1 0; diff --git a/doc/objects/pdp_zrot.pd b/doc/objects/pdp_zrot.pd new file mode 100644 index 0000000..f3937a0 --- /dev/null +++ b/doc/objects/pdp_zrot.pd @@ -0,0 +1,47 @@ +#N canvas 467 414 562 448 10; +#X floatatom 257 275 5 0 0; +#X floatatom 174 130 5 0 0; +#X msg 87 160 zoomx \$1; +#X msg 174 160 zoomy \$1; +#X floatatom 87 129 5 0 0; +#X msg 282 162 centerx \$1; +#X floatatom 282 133 5 0 0; +#X floatatom 366 133 5 0 0; +#X msg 366 162 centery \$1; +#X obj 46 40 pdp_help_input; +#X msg 46 10 start; +#X msg 95 10 stop; +#X obj 46 401 pdp_help_output; +#X text 281 58 (0 \, 0) = top left; +#X text 281 72 (1 \, 1) = bottom right; +#X text 71 79 set individual axis zoom; +#X msg 142 102 1; +#X msg 334 101 0.5; +#X msg 257 245 1; +#X obj 46 363 pdp_zrot; +#X text 309 276 second inlet sets zoom amount; +#X floatatom 257 333 5 0 0; +#X msg 257 303 0; +#X text 309 334 third inlet sets rotation angle; +#X text 281 42 set zoom/rotation center; +#X text 192 6 pdp_zrot: zoom and rotation; +#X connect 0 0 19 1; +#X connect 1 0 3 0; +#X connect 2 0 19 0; +#X connect 3 0 19 0; +#X connect 4 0 2 0; +#X connect 5 0 19 0; +#X connect 6 0 5 0; +#X connect 7 0 8 0; +#X connect 8 0 19 0; +#X connect 9 0 19 0; +#X connect 10 0 9 0; +#X connect 11 0 9 0; +#X connect 16 0 1 0; +#X connect 16 0 4 0; +#X connect 17 0 6 0; +#X connect 17 0 7 0; +#X connect 18 0 0 0; +#X connect 19 0 12 0; +#X connect 21 0 19 2; +#X connect 22 0 21 0; -- cgit v1.2.1