blob: aed62e2ba0e96ccd77244886805f665667396687 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#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;
|