From 4a8f0c17fc791186cf43f2357b383931a3c365df Mon Sep 17 00:00:00 2001 From: musil Date: Wed, 4 Mar 2009 23:59:04 +0000 Subject: repair of tab_conv svn path=/trunk/externals/iem/iem_tab/; revision=10836 --- tab_conv-help.pd | 102 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 61 insertions(+), 41 deletions(-) (limited to 'tab_conv-help.pd') diff --git a/tab_conv-help.pd b/tab_conv-help.pd index ff985fd..7a2fff0 100644 --- a/tab_conv-help.pd +++ b/tab_conv-help.pd @@ -1,7 +1,7 @@ -#N canvas 53 28 963 538 10; -#X obj 55 51 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#N canvas 18 36 1204 616 10; +#X obj 55 56 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 55 92 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 55 97 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #N canvas 0 22 711 532 init_tables 0; #X obj 45 113 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 @@ -58,53 +58,73 @@ #X connect 11 0 14 0; #X connect 13 0 11 0; #X connect 14 0 10 0; -#X restore 678 273 pd init_tables; -#X obj 678 228 loadbang; +#X restore 678 278 pd init_tables; +#X obj 678 233 loadbang; #N canvas 0 22 450 300 (subpatch) 0; #X array in 800 float 0; #X coords 0 1 799 -1 399 100 1; -#X restore 483 20 graph; +#X restore 483 25 graph; #N canvas 0 22 450 300 (subpatch) 0; #X array filt 200 float 0; #X coords 0 0.1 199 -0.1 99 100 1; -#X restore 483 214 graph; +#X restore 483 219 graph; #N canvas 0 22 450 300 (subpatch) 0; #X array out 800 float 0; #X coords 0 1 799 -1 399 100 1; -#X restore 483 377 graph; -#X text 94 459 IEM KUG; -#X text 73 447 musil; -#X text 108 447 @; -#X text 116 447 iem.at; -#X text 77 469 Graz \, Austria; -#X text 248 360 initial arguments:; -#X text 77 37 correlates the 2nd array "measured" with the 1st -array "reference" to the destination array "cross_corr"; -#X text 78 92 (the number of samples which were correlated are: the +#X restore 483 382 graph; +#X text 94 464 IEM KUG; +#X text 73 452 musil; +#X text 108 452 @; +#X text 116 452 iem.at; +#X text 77 474 Graz \, Austria; +#X text 248 365 initial arguments:; +#X text 78 97 (the number of samples which were correlated are: the positive minimum of the difference (src1-src2) and dst array lengths) ; -#X text 226 372 1.arg: source1-name; -#X text 226 384 2.arg: source2-name; -#X text 226 396 3.arg: destination-name; -#X msg 77 297 bang; -#X obj 678 252 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X text 226 377 1.arg: source1-name; +#X text 226 389 2.arg: source2-name; +#X text 226 401 3.arg: destination-name; +#X msg 77 302 bang; +#X obj 678 257 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 62 155 !! array length of src1 > array length of src2 !!; -#X text 12 7 tab_conv; -#X obj 55 70 tab_conv in filt out; -#X text 100 9 WORK IN PROGRESS; -#X text 29 436 (c) Thomas Musil 2000 - 2009; -#X msg 109 319 src1 in; -#X msg 124 340 src2 filt; -#X msg 135 361 dst out; -#X obj 63 389 tab_conv in filt out; -#X msg 54 246 0 0 0 800 200; -#X connect 0 0 22 0; -#X connect 3 0 19 0; -#X connect 18 0 28 0; -#X connect 19 0 2 0; -#X connect 22 0 1 0; -#X connect 25 0 28 0; -#X connect 26 0 28 0; -#X connect 27 0 28 0; -#X connect 29 0 28 0; +#X text 12 12 tab_conv; +#X obj 55 75 tab_conv in filt out; +#X text 29 441 (c) Thomas Musil 2000 - 2009; +#X msg 109 324 src1 in; +#X msg 124 345 src2 filt; +#X msg 135 366 dst out; +#X obj 63 394 tab_conv in filt out; +#X msg 54 251 0 0 0 800 200; +#N canvas 0 22 450 300 (subpatch) 0; +#X array in2 16 float 2; +#X coords 0 1 16 -1 160 100 1; +#X restore 903 25 graph; +#N canvas 0 22 450 300 (subpatch) 0; +#X array filt2 4 float 2; +#X coords 0 1 4 -1 40 100 1; +#X restore 903 151 graph; +#N canvas 0 22 450 300 (subpatch) 0; +#X array out2 19 float 2; +#X coords 0 1 19 -1 190 100 1; +#X restore 903 282 graph; +#X obj 972 227 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 972 246 tab_conv in2 filt2 out2; +#X msg 971 139 \; filt2 0 0.9 0.7 0.5 0.3 \; in2 const 0 \; in2 1 0.9 +\; in2 8 0.9 \; in2 14 -0.9; +#X text 162 250 not working yet; +#X text 25 158 !!! array length of src1 + array length of src2 - 1 +; +#X text 391 158 >= array length of dst !!!; +#X text 78 39 convolutes the 2nd array "src2" with the 1st array +"src1" to the destination array "dst"; +#X connect 0 0 20 0; +#X connect 3 0 18 0; +#X connect 17 0 25 0; +#X connect 18 0 2 0; +#X connect 20 0 1 0; +#X connect 22 0 25 0; +#X connect 23 0 25 0; +#X connect 24 0 25 0; +#X connect 26 0 25 0; +#X connect 30 0 31 0; -- cgit v1.2.1