From ba31b3fa5360a3711250e42dc32a055b90e0862e Mon Sep 17 00:00:00 2001 From: musil Date: Thu, 14 Dec 2006 17:57:04 +0000 Subject: some new helps added copyright svn path=/trunk/externals/iem/iem_tab/; revision=6891 --- help/tab_abs-help.pd | 48 ++-- help/tab_add-help.pd | 55 +++-- help/tab_add_scalar-help.pd | 54 +++-- help/tab_carth2polar-help.pd | 77 +++++++ help/tab_complex_inv-help.pd | 72 ++++++ help/tab_complex_mul-help.pd | 166 +++++++------- help/tab_const-help.pd | 51 +++-- help/tab_conv-help.pd | 96 ++++++++ help/tab_copy-help.pd | 62 +++--- help/tab_counter-help.pd | 87 +++++--- help/tab_cross_corr-help.pd | 149 +++++++------ help/tab_div-help.pd | 81 ++++--- help/tab_eq-help.pd | 86 ++++---- help/tab_eq_scalar-help.pd | 90 ++++---- help/tab_fft-help.pd | 454 ++++++++++++++++++++++++-------------- help/tab_find_exact_peaks-help.pd | 88 ++++++++ help/tab_find_peaks-help.pd | 108 +++++---- help/tab_ge-help.pd | 86 ++++---- help/tab_ge_scalar-help.pd | 90 ++++---- help/tab_gt-help.pd | 86 ++++---- help/tab_gt_scalar-help.pd | 90 ++++---- help/tab_ifft-help.pd | 431 ++++++++++++++++++++++++------------ help/tab_le-help.pd | 86 ++++---- help/tab_le_scalar-help.pd | 90 ++++---- help/tab_lt-help.pd | 86 ++++---- help/tab_lt_scalar-help.pd | 90 ++++---- help/tab_max_index-help.pd | 56 +++-- help/tab_min_index-help.pd | 58 +++-- help/tab_min_max-help.pd | 74 ++++--- help/tab_mul-help.pd | 73 +++--- help/tab_mul_scalar-help.pd | 62 +++--- help/tab_ne-help.pd | 86 ++++---- help/tab_ne_scalar-help.pd | 90 ++++---- help/tab_reverse-help.pd | 83 ++++--- help/tab_rfft-help.pd | 331 ++++++++++++++------------- help/tab_rifft-help.pd | 419 +++++++++++++++++++++++------------ help/tab_sqrt-help.pd | 61 ++--- help/tab_sub-help.pd | 73 +++--- help/tab_sum-help.pd | 48 ++-- 39 files changed, 2793 insertions(+), 1680 deletions(-) create mode 100644 help/tab_carth2polar-help.pd create mode 100644 help/tab_complex_inv-help.pd create mode 100644 help/tab_conv-help.pd create mode 100644 help/tab_find_exact_peaks-help.pd (limited to 'help') diff --git a/help/tab_abs-help.pd b/help/tab_abs-help.pd index e216100..fcf3553 100644 --- a/help/tab_abs-help.pd +++ b/help/tab_abs-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 778 405 10; +#N canvas 116 92 782 409 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -20,7 +20,7 @@ #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; -#X restore 534 156 graph; +#X restore 534 166 graph; #X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 @@ -29,21 +29,33 @@ -1; #X msg 59 211 50 20 50; #X text 44 154 list of 3 floats:; -#X text 56 165 src-onset; -#X text 56 175 dst-onset; -#X text 139 299 1.arg: source-name; -#X text 139 312 2.arg: destination-name; -#X text 130 40 the minimum-size of arrays; -#X msg 142 217 src src; -#X msg 202 226 dst dst; +#X text 162 273 1.arg: source-name; +#X text 162 286 2.arg: destination-name; +#X msg 154 213 src src; +#X msg 185 234 dst dst; #X obj 61 78 tab_abs src dst; -#X text 90 29 copy absolute-value from zero-onset to zero-onset -; -#X text 58 184 n samples to copy absolute; #X obj 59 264 tab_abs src dst; -#X connect 2 0 14 0; -#X connect 5 0 17 0; -#X connect 12 0 17 0; -#X connect 13 0 17 0; -#X connect 14 0 3 0; -#X connect 17 0 4 0; +#X text 78 365 IEM KUG; +#X text 62 353 musil; +#X text 92 353 @; +#X text 98 353 iem.at; +#X text 61 375 Graz \, Austria; +#X text 13 342 (c) Thomas Musil 2000 - 2006; +#X text 12 3 tab_abs; +#X text 90 29 copy absolute-value from src to dst; +#X text 56 165 1.) src onset; +#X text 56 175 2.) dst onset; +#X text 171 261 initial arguments:; +#X text 68 283 output; +#X text 208 213 xxx : change source name; +#X text 240 233 xxx : change destination name; +#X text 175 69 (the number of samples which are copied are:; +#X text 188 83 the minimum of both array lengths); +#X text 56 185 3.) n samples to copy; +#X text 190 185 absolute value; +#X connect 2 0 11 0; +#X connect 5 0 12 0; +#X connect 9 0 12 0; +#X connect 10 0 12 0; +#X connect 11 0 3 0; +#X connect 12 0 4 0; diff --git a/help/tab_add-help.pd b/help/tab_add-help.pd index aa14afd..7cf43df 100644 --- a/help/tab_add-help.pd +++ b/help/tab_add-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 847 552 10; +#N canvas 116 92 855 560 10; #N canvas 0 0 450 300 graph1 0; #X array src1 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -25,10 +25,9 @@ -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 340 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 57 173 dst-onset; -#X msg 286 234 dst dst; +#X msg 255 276 dst dst; #N canvas 0 0 450 300 graph1 0; #X array src2 100 float 1; #A 0 0.557135 0.57142 0.557135 0.528564 0.499992 0.428564 0.357136 @@ -47,24 +46,38 @@ -0.6 -0.6 -0.614286 -0.614286 -0.614286; #X coords 0 1 99 -1 200 140 1; #X restore 535 161 graph; -#X msg 142 217 src1 src1; -#X msg 218 223 src2 src2; +#X msg 136 233 src1 src1; +#X msg 195 255 src2 src2; #X msg 59 211 50 50 20 50; #X text 45 139 list of 4 floats:; -#X text 57 153 src1-onset; -#X text 56 163 src2-onset; -#X text 212 333 3.arg: destination-name; -#X text 126 42 with the minimum-size of arrays; +#X text 212 353 3.arg: destination-name; #X text 90 29 add the 2 src-arrays to dst-array; -#X text 57 183 n samples to add; #X obj 61 78 tab_add src1 src2 dst; -#X obj 59 271 tab_add src1 src2 dst; -#X text 211 306 1.arg: source1-name; -#X text 211 319 2.arg: source2-name; -#X connect 2 0 18 0; -#X connect 6 0 19 0; -#X connect 8 0 19 0; -#X connect 9 0 19 0; -#X connect 10 0 19 0; -#X connect 18 0 3 0; -#X connect 19 0 4 0; +#X obj 59 301 tab_add src1 src2 dst; +#X text 78 435 IEM KUG; +#X text 62 423 musil; +#X text 92 423 @; +#X text 98 423 iem.at; +#X text 61 445 Graz \, Austria; +#X text 13 412 (c) Thomas Musil 2000 - 2006; +#X text 234 312 initial arguments:; +#X text 72 319 output; +#X text 306 275 xxx : change destination name; +#X text 12 3 tab_add; +#X text 208 86 the minimum of the 3 array lengths); +#X text 56 177 3.) dst onset; +#X text 56 155 1.) src_1 onset; +#X text 56 166 2.) src_2 onset; +#X text 56 187 4.) n samples to add; +#X text 199 233 xxx : change source name 1; +#X text 257 255 xxx : change source name 2; +#X text 211 326 1.arg: source-name 1; +#X text 211 339 2.arg: source-name 2; +#X text 195 72 (the number of samples which were added are:; +#X connect 2 0 13 0; +#X connect 5 0 14 0; +#X connect 7 0 14 0; +#X connect 8 0 14 0; +#X connect 9 0 14 0; +#X connect 13 0 3 0; +#X connect 14 0 4 0; diff --git a/help/tab_add_scalar-help.pd b/help/tab_add_scalar-help.pd index 3f9aa57..0ba6b29 100644 --- a/help/tab_add_scalar-help.pd +++ b/help/tab_add_scalar-help.pd @@ -1,4 +1,4 @@ -#N canvas 115 92 852 556 10; +#N canvas 115 92 860 564 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -16,36 +16,48 @@ 0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 0.357144 0.357144 0.342858 0.328572; #X coords 0 1 99 -1 200 140 1; -#X restore 527 176 graph; +#X restore 527 46 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; #X restore 527 325 graph; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 340 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 45 185 dst-onset; -#X text 211 306 1.arg: source-name; -#X msg 255 235 dst dst; -#X text 33 161 list of 4 floats:; -#X text 165 42 with the minimum-size of arrays; +#X text 211 336 1.arg: source-name; +#X msg 197 270 dst dst; #X msg 47 36 0.5; -#X msg 159 229 src src; +#X msg 145 247 src src; #X msg 82 37 -0.5; #X obj 61 78 tab_add_scalar src dst; -#X obj 59 271 tab_add_scalar src dst; +#X obj 59 301 tab_add_scalar src dst; #X msg 48 227 50 20 50 -0.8; -#X text 46 195 n samples to add; -#X text 45 175 src-onset; -#X text 45 206 add-scalar; -#X text 211 319 2.arg: destination-name; +#X text 211 349 2.arg: destination-name; #X text 129 29 add the src-array with this scalar to dst-array ; -#X connect 6 0 13 0; -#X connect 9 0 12 0; -#X connect 10 0 13 0; -#X connect 11 0 12 0; -#X connect 12 0 2 0; -#X connect 13 0 3 0; -#X connect 14 0 13 0; +#X text 31 163 list of 4 floats:; +#X text 78 475 IEM KUG; +#X text 62 463 musil; +#X text 92 463 @; +#X text 98 463 iem.at; +#X text 61 485 Graz \, Austria; +#X text 13 452 (c) Thomas Musil 2000 - 2006; +#X text 234 322 initial arguments:; +#X text 71 322 output; +#X text 250 271 xxx : change destination name; +#X text 12 3 tab_add_scalar; +#X text 218 86 the minimum of both array lengths); +#X text 197 246 xxx : change source name; +#X text 42 179 1.) src onset; +#X text 42 190 2.) dst onset; +#X text 42 200 3.) n samples to add; +#X text 42 210 4.) added scalar value; +#X text 205 72 (the number of samples which were added are:; +#X connect 5 0 10 0; +#X connect 6 0 9 0; +#X connect 7 0 10 0; +#X connect 8 0 9 0; +#X connect 9 0 2 0; +#X connect 10 0 3 0; +#X connect 11 0 10 0; diff --git a/help/tab_carth2polar-help.pd b/help/tab_carth2polar-help.pd new file mode 100644 index 0000000..108f07d --- /dev/null +++ b/help/tab_carth2polar-help.pd @@ -0,0 +1,77 @@ +#N canvas 132 30 854 520 10; +#N canvas 0 0 450 300 graph1 0; +#X array real 100 float 0; +#X coords 0 1 99 -1 100 40 1; +#X restore 451 29 graph; +#X obj 61 43 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 40 381 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#N canvas 0 0 450 300 graph1 0; +#X array imag 100 float 0; +#X coords 0 1 99 -1 100 40 1; +#X restore 451 71 graph; +#N canvas 0 0 450 300 graph1 0; +#X array mag 100 float 0; +#X coords 0 1 99 -1 100 40 1; +#X restore 596 29 graph; +#N canvas 0 0 450 300 graph1 0; +#X array arg 100 float 0; +#X coords 0 1 99 -1 100 40 1; +#X restore 596 71 graph; +#X msg 696 220 2; +#X floatatom 647 276 5 0 0 0 - - -; +#X floatatom 730 277 5 0 0 0 - - -; +#X obj 710 131 loadbang; +#X text 96 444 IEM KUG; +#X text 80 432 musil; +#X text 110 432 @; +#X text 116 432 iem.at; +#X text 79 454 Graz \, Austria; +#X text 31 421 (c) Thomas Musil 2000 - 2006; +#X text 324 276 initial arguments:; +#X text 81 39 invert the complex src-arrays to the complex dst-arrays +; +#X text 98 113 the minimum of the 4 array lengths); +#X text 85 99 (the number of samples which were inverted are:; +#X text 302 288 1.arg: real_source-name; +#X text 302 300 2.arg: imag_source-name; +#X text 53 160 list of 5 floats:; +#X msg 40 229 0 0 0 0 64; +#X text 12 7 tab_carth2polar; +#X obj 730 297 * 360; +#X floatatom 730 322 5 0 0 0 - - -; +#X text 74 179 2.) src_imag-onset; +#X text 74 169 1.) src_real-onset; +#X text 74 209 5.) number of samples to convert; +#X msg 710 152 \; real const 0.75 \; imag const -0.75; +#X msg 599 154 \; real const 0.75 \; imag const 0.75; +#X text 302 312 3.arg: magnitude_destination-name; +#X text 302 323 4.arg: phase_argument_destination-name; +#X text 74 189 3.) dst_magnitude-onset; +#X text 74 199 4.) dst_phase_argument-onset; +#X obj 647 254 tabread mag; +#X obj 730 253 tabread arg; +#X obj 61 78 tab_carth2polar real imag mag arg; +#X obj 40 360 tab_carth2polar real imag mag arg; +#X msg 143 331 dst_arg arg; +#X msg 110 306 dst_mag mag; +#X msg 91 279 src_im imag; +#X msg 74 253 src_re real; +#X connect 1 0 39 0; +#X connect 7 0 37 0; +#X connect 7 0 38 0; +#X connect 9 0 26 0; +#X connect 10 0 31 0; +#X connect 24 0 40 0; +#X connect 26 0 27 0; +#X connect 37 0 8 0; +#X connect 38 0 9 0; +#X connect 39 0 2 0; +#X connect 40 0 3 0; +#X connect 41 0 40 0; +#X connect 42 0 40 0; +#X connect 43 0 40 0; +#X connect 44 0 40 0; diff --git a/help/tab_complex_inv-help.pd b/help/tab_complex_inv-help.pd new file mode 100644 index 0000000..a2505b8 --- /dev/null +++ b/help/tab_complex_inv-help.pd @@ -0,0 +1,72 @@ +#N canvas 132 30 854 520 10; +#N canvas 0 0 450 300 graph1 0; +#X array re1 100 float 0; +#X coords 0 1 99 -1 100 40 1; +#X restore 451 29 graph; +#X obj 61 43 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 40 381 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#N canvas 0 0 450 300 graph1 0; +#X array im1 100 float 0; +#X coords 0 1 99 -1 100 40 1; +#X restore 451 71 graph; +#N canvas 0 0 450 300 graph1 0; +#X array re2 100 float 0; +#X coords 0 1 99 -1 100 40 1; +#X restore 596 29 graph; +#N canvas 0 0 450 300 graph1 0; +#X array im2 100 float 0; +#X coords 0 1 99 -1 100 40 1; +#X restore 596 71 graph; +#X msg 700 247 2; +#X floatatom 661 303 5 0 0 0 - - -; +#X floatatom 734 304 5 0 0 0 - - -; +#X obj 710 131 loadbang; +#X text 96 444 IEM KUG; +#X text 80 432 musil; +#X text 110 432 @; +#X text 116 432 iem.at; +#X text 79 454 Graz \, Austria; +#X text 31 421 (c) Thomas Musil 2000 - 2006; +#X text 324 276 initial arguments:; +#X text 12 7 tab_complex_inv; +#X text 81 39 invert the complex src-arrays to the complex dst-arrays +; +#X obj 61 78 tab_complex_inv re1 im1 re2 im2; +#X text 128 113 the minimum of the 4 array lengths); +#X text 115 99 (the number of samples which were inverted are:; +#X msg 74 253 src_re re1; +#X msg 91 279 src_im im1; +#X msg 110 306 dst_re re2; +#X msg 143 331 dst_im im2; +#X obj 40 360 tab_complex_inv re1 im1 re2 im2; +#X text 302 312 3.arg: real_destination-name; +#X text 302 323 4.arg: imag_destination-name; +#X text 302 288 1.arg: real_source-name; +#X text 302 300 2.arg: imag_source-name; +#X obj 661 280 tabread re2; +#X obj 734 280 tabread im2; +#X msg 710 152 \; re1 const 0.8 \; im1 const -0.6; +#X text 105 155 1.) src_re-onset; +#X text 105 165 2.) src_im-onset; +#X text 105 175 3.) dst_re-onset; +#X text 105 185 4.) dst_im-onset; +#X text 105 195 5.) number of samples to multiply; +#X text 84 146 list of 5 floats:; +#X msg 40 229 0 0 0 0 64; +#X connect 1 0 20 0; +#X connect 7 0 32 0; +#X connect 7 0 33 0; +#X connect 10 0 34 0; +#X connect 20 0 2 0; +#X connect 23 0 27 0; +#X connect 24 0 27 0; +#X connect 25 0 27 0; +#X connect 26 0 27 0; +#X connect 27 0 3 0; +#X connect 32 0 8 0; +#X connect 33 0 9 0; +#X connect 41 0 27 0; diff --git a/help/tab_complex_mul-help.pd b/help/tab_complex_mul-help.pd index 8ef7a5c..5ee245c 100644 --- a/help/tab_complex_mul-help.pd +++ b/help/tab_complex_mul-help.pd @@ -1,16 +1,14 @@ -#N canvas 132 30 854 626 10; +#N canvas 132 30 858 630 10; #N canvas 0 0 450 300 graph1 0; #X array re1 100 float 0; #X coords 0 1 99 -1 100 40 1; #X restore 451 29 graph; -#X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 61 43 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 62 583 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 54 439 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 90 29 copy from zero-onset to zero-onset; -#X text 130 40 the minimum-size of arrays; #N canvas 0 0 450 300 graph1 0; #X array im1 100 float 0; #X coords 0 1 99 -1 100 40 1; @@ -31,79 +29,91 @@ #X array im3 100 float 0; #X coords 0 1 99 -1 100 40 1; #X restore 735 70 graph; -#X msg 501 210 \; re1 const 0.9 \; im1 const 0.6 \; re2 const 0.7 \; +#X msg 710 152 \; re1 const 0.9 \; im1 const 0.6 \; re2 const 0.7 \; im2 const -0.8; #X obj 61 78 tab_complex_mul re1 im1 re2 im2 re3 im3; -#X obj 671 243 tabread re3; -#X obj 744 243 tabread im3; -#X msg 681 199 2; -#X floatatom 671 266 5 0 0 0 - - -; -#X floatatom 744 267 5 0 0 0 - - -; -#X obj 269 243 *; -#X obj 298 243 *; -#X obj 371 242 *; -#X obj 400 242 *; -#X obj 377 273 +; -#X obj 278 274 -; -#X msg 234 217 0.9 0.7; -#X msg 290 217 0.6 -0.8; -#X floatatom 279 297 5 0 0 0 - - -; -#X msg 359 215 0.9 -0.8; -#X msg 415 215 0.6 0.7; -#X floatatom 377 295 5 0 0 0 - - -; -#X obj 62 562 tab_complex_mul re1 im1 re2 im2 re3 im3; -#X msg 82 402 src1_re re1; -#X msg 199 512 dst_re re3; -#X msg 240 535 dst_im im3; -#X msg 99 428 src1_im im1; -#X msg 151 453 src2_re re2; -#X msg 169 479 src2_im im2; -#X msg 48 378 0 0 0 0 0 0 64; -#X text 37 275 list of 7 floats:; -#X text 39 327 dst_re-onset; -#X text 39 337 dst_im-onset; -#X text 39 287 src1_re-onset; -#X text 39 297 src1_im-onset; -#X text 39 307 src2_re-onset; -#X text 39 317 src2_im-onset; -#X text 39 350 number of samples to multiply; -#X text 327 516 1.arg: real_source1-name; -#X text 327 528 2.arg: imag_source1-name; -#X text 327 540 3.arg: real_source2-name; -#X text 328 551 4.arg: imag_source2-name; -#X text 328 563 5.arg: real_destination-name; -#X text 328 574 6.arg: imag_destination-name; -#X obj 305 174 t b b b b; -#X obj 305 150 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 672 472 tabread re3; +#X obj 745 472 tabread im3; +#X msg 711 439 2; +#X floatatom 672 495 5 0 0 0 - - -; +#X floatatom 745 496 5 0 0 0 - - -; +#X obj 692 350 *; +#X obj 715 350 *; +#X obj 760 350 *; +#X obj 783 350 *; +#X obj 767 372 +; +#X obj 698 372 -; +#X msg 692 304 0.9 0.7; +#X msg 715 328 0.6 -0.8; +#X floatatom 699 395 5 0 0 0 - - -; +#X msg 760 305 0.9 -0.8; +#X msg 777 329 0.6 0.7; +#X floatatom 767 394 5 0 0 0 - - -; +#X obj 54 418 tab_complex_mul re1 im1 re2 im2 re3 im3; +#X msg 74 258 src1_re re1; +#X msg 191 368 dst_re re3; +#X msg 232 391 dst_im im3; +#X msg 91 284 src1_im im1; +#X msg 143 309 src2_re re2; +#X msg 161 335 src2_im im2; +#X msg 40 234 0 0 0 0 0 0 64; +#X text 84 146 list of 7 floats:; +#X text 303 419 1.arg: real_source1-name; +#X text 303 431 2.arg: imag_source1-name; +#X text 303 443 3.arg: real_source2-name; +#X text 304 454 4.arg: imag_source2-name; +#X text 304 466 5.arg: real_destination-name; +#X text 304 477 6.arg: imag_destination-name; +#X obj 728 281 t b b b b; +#X obj 728 257 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 500 188 loadbang; -#X connect 1 0 12 0; -#X connect 12 0 2 0; -#X connect 13 0 16 0; -#X connect 14 0 17 0; -#X connect 15 0 13 0; -#X connect 15 0 14 0; -#X connect 18 0 23 0; -#X connect 19 0 23 1; -#X connect 20 0 22 0; -#X connect 21 0 22 1; -#X connect 22 0 29 0; -#X connect 23 0 26 0; -#X connect 24 0 18 0; -#X connect 25 0 19 0; -#X connect 27 0 20 0; -#X connect 28 0 21 0; -#X connect 30 0 3 0; -#X connect 31 0 30 0; -#X connect 32 0 30 0; -#X connect 33 0 30 0; -#X connect 34 0 30 0; -#X connect 35 0 30 0; -#X connect 36 0 30 0; -#X connect 37 0 30 0; -#X connect 52 0 24 0; -#X connect 52 1 25 0; -#X connect 52 2 27 0; -#X connect 52 3 28 0; -#X connect 53 0 52 0; -#X connect 54 0 11 0; +#X obj 710 131 loadbang; +#X text 87 537 IEM KUG; +#X text 71 525 musil; +#X text 101 525 @; +#X text 107 525 iem.at; +#X text 70 547 Graz \, Austria; +#X text 22 514 (c) Thomas Musil 2000 - 2006; +#X text 12 7 tab_complex_mul; +#X text 325 407 initial arguments:; +#X text 115 99 (the number of samples which were multiplied are:; +#X text 105 155 1.) src1_re-onset; +#X text 105 165 2.) src1_im-onset; +#X text 105 175 3.) src2_re-onset; +#X text 105 185 4.) src2_im-onset; +#X text 105 195 5.) dst_re-onset; +#X text 105 205 6.) dst_im-onset; +#X text 105 215 7.) number of samples to multiply; +#X text 81 39 multiply the complex src1-arrays with the complex +src2-arrays to complex dst-array; +#X text 128 113 the minimum of the 6 array lengths); +#X connect 1 0 10 0; +#X connect 10 0 2 0; +#X connect 11 0 14 0; +#X connect 12 0 15 0; +#X connect 13 0 11 0; +#X connect 13 0 12 0; +#X connect 16 0 21 0; +#X connect 17 0 21 1; +#X connect 18 0 20 0; +#X connect 19 0 20 1; +#X connect 20 0 27 0; +#X connect 21 0 24 0; +#X connect 22 0 16 0; +#X connect 23 0 17 0; +#X connect 25 0 18 0; +#X connect 26 0 19 0; +#X connect 28 0 3 0; +#X connect 29 0 28 0; +#X connect 30 0 28 0; +#X connect 31 0 28 0; +#X connect 32 0 28 0; +#X connect 33 0 28 0; +#X connect 34 0 28 0; +#X connect 35 0 28 0; +#X connect 43 0 22 0; +#X connect 43 1 23 0; +#X connect 43 2 25 0; +#X connect 43 3 26 0; +#X connect 44 0 43 0; +#X connect 45 0 9 0; diff --git a/help/tab_const-help.pd b/help/tab_const-help.pd index c853ef9..ff2a20f 100644 --- a/help/tab_const-help.pd +++ b/help/tab_const-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 778 405 10; +#N canvas 117 93 786 444 10; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 1; #A 0 0 0 0 0 0 0 0.0428571 0.1 0.128571 0.185714 0.257143 0.3 0.371429 @@ -18,26 +18,37 @@ #X restore 518 36 graph; #X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 61 120 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 61 130 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 301 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 60 302 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 44 154 list of 3 floats:; -#X text 57 165 dst-onset; -#X msg 162 222 dst dst; -#X obj 61 92 tab_const dst; -#X msg 59 211 30 50 0.5; -#X text 90 29 set all samples of array zero; -#X text 59 174 n samples to set constant; -#X text 57 183 constant-value; -#X text 201 282 1.arg: destination-name; +#X msg 122 218 dst dst; +#X obj 61 102 tab_const dst; +#X msg 60 195 30 50 0.5; +#X text 172 270 1.arg: destination-name; #X obj 60 261 tab_const dst; #X msg 82 59 -0.7; -#X msg 133 66 0.8; -#X connect 1 0 7 0; -#X connect 6 0 13 0; -#X connect 7 0 2 0; -#X connect 8 0 13 0; -#X connect 13 0 3 0; -#X connect 14 0 7 0; -#X connect 15 0 7 0; +#X msg 114 78 0.8; +#X text 11 6 tab_const; +#X text 90 29 set all samples of array to zero; +#X text 114 58 set all samples of array to this float value +; +#X text 55 163 1.) dst onset; +#X text 55 174 2.) n samples to set; +#X text 190 257 initial arguments:; +#X text 174 219 xxx : change destination name; +#X text 75 374 IEM KUG; +#X text 59 362 musil; +#X text 89 362 @; +#X text 95 362 iem.at; +#X text 58 384 Graz \, Austria; +#X text 10 351 (c) Thomas Musil 2000 - 2006; +#X text 65 280 output; +#X text 43 153 list of 2 floats:; +#X connect 1 0 5 0; +#X connect 4 0 8 0; +#X connect 5 0 2 0; +#X connect 6 0 8 0; +#X connect 8 0 3 0; +#X connect 9 0 5 0; +#X connect 10 0 5 0; diff --git a/help/tab_conv-help.pd b/help/tab_conv-help.pd new file mode 100644 index 0000000..e3c6145 --- /dev/null +++ b/help/tab_conv-help.pd @@ -0,0 +1,96 @@ +#N canvas 52 27 959 534 10; +#X obj 55 51 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 +-1; +#N canvas 0 0 703 524 init_tables 0; +#X obj 45 132 dsp; +#X obj 45 113 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X floatatom 45 174 5 0 0 0 - - -; +#X floatatom 58 156 5 0 0 0 - - -; +#X obj 168 162 noise~; +#X obj 114 193 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 149 15 inlet; +#X obj 149 37 t b; +#X obj 188 99 del 100; +#X msg 53 82 1; +#X msg 188 122 0; +#X obj 167 64 del 100; +#X obj 228 152 dirac~; +#X obj 134 234 tabwrite~ in; +#X obj 228 235 tabwrite~ filt; +#X obj 229 180 *~ 10; +#X obj 228 208 bpq2~ 1000 10 100; +#X connect 0 0 2 0; +#X connect 0 1 3 0; +#X connect 1 0 0 0; +#X connect 4 0 13 0; +#X connect 5 0 13 0; +#X connect 5 0 14 0; +#X connect 6 0 7 0; +#X connect 7 0 9 0; +#X connect 7 0 11 0; +#X connect 8 0 10 0; +#X connect 9 0 1 0; +#X connect 10 0 1 0; +#X connect 11 0 8 0; +#X connect 11 0 5 0; +#X connect 11 0 12 0; +#X connect 12 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 14 0; +#X restore 779 202 pd init_tables; +#X obj 779 157 loadbang; +#N canvas 0 0 450 300 graph1 0; +#X array in 800 float 0; +#X coords 0 1 799 -1 199 100 1; +#X restore 443 20 graph; +#N canvas 0 0 450 300 graph1 0; +#X array filt 200 float 0; +#X coords 0 0.1 199 -0.1 199 100 1; +#X restore 443 134 graph; +#N canvas 0 0 450 300 graph1 0; +#X array out 1000 float 0; +#X coords 0 1 999 -1 199 100 1; +#X restore 443 247 graph; +#X text 94 459 IEM KUG; +#X text 78 447 musil; +#X text 108 447 @; +#X text 114 447 iem.at; +#X text 77 469 Graz \, Austria; +#X text 29 436 (c) Thomas Musil 2000 - 2006; +#X text 340 351 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 +positive minimum of the difference (src1-src2) and dst array lengths) +; +#X text 318 363 1.arg: source1-name; +#X text 318 375 2.arg: source2-name; +#X text 318 387 3.arg: destination-name; +#X text 318 399 4.arg: norming factor; +#X text 493 422 calculation in ms; +#X text 318 411 5.arg: delay time per destination sample; +#X msg 63 318 bang; +#X msg 135 361 dst cross_corr; +#X msg 124 340 src2 meas; +#X msg 109 319 src1 ref; +#X obj 779 181 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 63 389 tab_cross_corr ref meas cross_corr 0.02 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 msg 60 225 10 10 10 500 190; +#X text 100 9 WORK IN PROGRESS; +#X connect 0 0 30 0; +#X connect 3 0 26 0; +#X connect 22 0 27 0; +#X connect 23 0 27 0; +#X connect 24 0 27 0; +#X connect 25 0 27 0; +#X connect 26 0 2 0; +#X connect 30 0 1 0; +#X connect 31 0 27 0; diff --git a/help/tab_copy-help.pd b/help/tab_copy-help.pd index 8746cfa..da2e569 100644 --- a/help/tab_copy-help.pd +++ b/help/tab_copy-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 776 403 10; +#N canvas 116 92 780 479 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -16,33 +16,45 @@ 0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 0.357144 0.357144 0.342858 0.328572; #X coords 0 1 99 -1 200 140 1; -#X restore 534 10 graph; +#X restore 533 14 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; -#X restore 534 156 graph; -#X obj 61 78 tab_copy src dst; -#X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X restore 533 180 graph; +#X obj 60 35 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 60 110 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 301 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 58 345 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X msg 59 211 50 20 50; -#X text 44 154 list of 3 floats:; -#X text 56 165 src-onset; -#X text 56 175 dst-onset; -#X text 58 184 n samples to copy; -#X text 211 306 1.arg: source-name; -#X text 211 319 2.arg: destination-name; -#X text 90 29 copy from zero-onset to zero-onset; -#X text 130 40 the minimum-size of arrays; -#X msg 142 217 src src; -#X msg 202 226 dst dst; -#X obj 59 262 tab_copy src dst; -#X connect 2 0 4 0; -#X connect 3 0 2 0; -#X connect 6 0 17 0; -#X connect 15 0 17 0; -#X connect 16 0 17 0; -#X connect 17 0 5 0; +#X msg 58 215 50 20 50; +#X text 194 318 1.arg: source-name; +#X text 194 331 2.arg: destination-name; +#X msg 115 235 src src; +#X msg 165 253 dst dst; +#X text 184 73 (the number of samples which are copied are:; +#X text 197 87 the minimum of both array lengths); +#X text 43 168 list of 3 floats:; +#X text 77 419 IEM KUG; +#X text 61 407 musil; +#X text 91 407 @; +#X text 97 407 iem.at; +#X text 60 429 Graz \, Austria; +#X text 12 396 (c) Thomas Musil 2000 - 2006; +#X text 55 179 1.) src onset; +#X text 55 189 2.) dst onset; +#X text 225 306 initial arguments:; +#X text 73 323 output; +#X text 172 233 xxx : change source name; +#X text 218 252 xxx : change destination name; +#X text 11 7 tab_copy; +#X text 89 33 copy value from src to dst; +#X obj 60 82 tab_copy src dst; +#X text 55 198 3.) n samples to copy; +#X obj 58 306 tab_copy src dst; +#X connect 2 0 27 0; +#X connect 5 0 29 0; +#X connect 8 0 29 0; +#X connect 9 0 29 0; +#X connect 27 0 3 0; +#X connect 29 0 4 0; diff --git a/help/tab_counter-help.pd b/help/tab_counter-help.pd index e300826..c47152d 100644 --- a/help/tab_counter-help.pd +++ b/help/tab_counter-help.pd @@ -1,4 +1,4 @@ -#N canvas 115 92 856 560 10; +#N canvas 115 92 868 572 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; #A 0 0 0 0 0 0 0 0 0 0 0.9 0 0 0 0 0 0 0 0 0 0.9 0 0 0 0 0 0 0 0 0 @@ -6,40 +6,67 @@ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0; #X coords 0 1 99 0 200 140 1; -#X restore 527 176 graph; +#X restore 527 166 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 10 99 0 200 140 1; #X restore 527 325 graph; -#X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 53 146 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 55 398 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 45 185 dst-onset; -#X text 211 306 1.arg: source-name; -#X msg 255 235 dst dst; -#X msg 159 229 src src; -#X text 45 175 src-onset; -#X text 211 319 2.arg: destination-name; -#X obj 59 271 tab_gt_scalar src dst; -#X obj 61 78 tab_counter src dst; -#X msg 125 37 reset; -#X msg 504 103 \; src const 0; -#X msg 417 101 \; src \$1 0.9; -#X floatatom 418 74 5 0 0 0 - - -; +#X text 199 367 1.arg: source-name; +#X msg 146 317 dst dst; +#X msg 101 296 src src; +#X text 199 380 2.arg: destination-name; +#X obj 55 359 tab_gt_scalar src dst; +#X obj 53 121 tab_counter src dst; +#X msg 82 93 reset; #X obj 53 33 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X msg 48 228 0 0 100; -#X text 46 195 n samples to control n counters; -#X text 33 161 list of 3 floats:; -#X text 212 22 controls with src-array the counter-state of -dst-array (0 = reset counter \, 1 = increment counter); -#X text 213 47 only the minimum-size of arrays; -#X connect 6 0 10 0; -#X connect 7 0 10 0; -#X connect 10 0 3 0; -#X connect 11 0 2 0; -#X connect 12 0 11 0; -#X connect 15 0 14 0; -#X connect 16 0 11 0; -#X connect 17 0 10 0; +#X msg 55 273 0 0 100; +#N canvas 0 0 454 304 /SUBPATCH/ 0; +#X msg 175 59 \; src const 0; +#X msg 88 57 \; src \$1 0.9; +#X floatatom 89 30 5 0 0 0 - - -; +#X msg 88 127 \; dst ylabel -5.15 0 1 2 3 4 5 6 7 8 9 10; +#X msg 87 93 \; dst yticks 0 1 1; +#X obj 32 64 loadbang; +#X connect 2 0 1 0; +#X connect 5 0 4 0; +#X connect 5 0 3 0; +#X restore 450 146 pd; +#X text 37 222 list of 3 floats:; +#X text 78 455 IEM KUG; +#X text 62 443 musil; +#X text 92 443 @; +#X text 98 443 iem.at; +#X text 61 465 Graz \, Austria; +#X text 13 432 (c) Thomas Musil 2000 - 2006; +#X text 49 233 1.) src onset; +#X text 49 243 2.) dst onset; +#X text 232 354 initial arguments:; +#X text 64 379 output; +#X text 158 296 xxx : change source name; +#X text 199 318 xxx : change destination name; +#X text 135 162 the minimum of both array lengths); +#X text 12 3 tab_counter; +#X msg 594 31 \; src 9 0.9 \; src 19 0.9 \; src 29 0.9 \; src 39 0.9 +; +#X text 77 27 each element of the source array controls an increment +counter in the destination array \, a nonzero value lets increment +the counter value by one \, a zero value resets the counter value to +zero.; +#X text 124 93 resets all counter values to zero; +#X text 122 148 (the number of samples which control counters are: +; +#X text 49 253 3.) n samples to control n counters; +#X msg 673 32 \; src 9 -0.1 \; src 19 -0.1 \; src 29 0 \; src 39 0.9 +; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 8 0 3 0; +#X connect 9 0 2 0; +#X connect 10 0 9 0; +#X connect 11 0 9 0; +#X connect 12 0 8 0; diff --git a/help/tab_cross_corr-help.pd b/help/tab_cross_corr-help.pd index 8c1c9ff..d3d80b9 100644 --- a/help/tab_cross_corr-help.pd +++ b/help/tab_cross_corr-help.pd @@ -1,74 +1,93 @@ -#N canvas 42 76 923 536 10; -#X obj 12 36 dsp; -#X obj 12 17 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +#N canvas 42 76 736 530 10; +#X obj 55 51 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 +-1; +#N canvas 0 0 466 316 init_tables 0; +#X obj 45 132 dsp; +#X obj 45 113 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; -#X floatatom 12 78 5 0 0 0 - - -; -#X floatatom 25 60 5 0 0 0 - - -; -#X obj 171 88 noise~; -#X obj 56 305 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X floatatom 45 174 5 0 0 0 - - -; +#X floatatom 58 156 5 0 0 0 - - -; +#X obj 229 151 noise~; +#X obj 114 193 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#N canvas 63 11 701 593 tables 0; +#X obj 134 234 tabwrite~ ref; +#X obj 228 234 tabwrite~ meas; +#X obj 149 15 inlet; +#X obj 149 37 t b; +#X obj 188 99 del 100; +#X msg 53 82 1; +#X msg 188 122 0; +#X obj 167 64 del 100; +#X obj 133 182 z~ 60; +#X connect 0 0 2 0; +#X connect 0 1 3 0; +#X connect 1 0 0 0; +#X connect 4 0 7 0; +#X connect 4 0 14 0; +#X connect 5 0 6 0; +#X connect 5 0 7 0; +#X connect 8 0 9 0; +#X connect 9 0 11 0; +#X connect 9 0 13 0; +#X connect 10 0 12 0; +#X connect 11 0 1 0; +#X connect 12 0 1 0; +#X connect 13 0 10 0; +#X connect 13 0 5 0; +#X connect 14 0 6 0; +#X restore 584 206 pd init_tables; +#X obj 584 161 loadbang; #N canvas 0 0 450 300 graph1 0; #X array ref 200 float 0; -#X coords 0 1 199 -1 398 140 1; -#X restore 52 19 graph; +#X coords 0 1 199 -1 199 100 1; +#X restore 443 20 graph; #N canvas 0 0 450 300 graph1 0; #X array meas 100 float 0; -#X coords 0 1 99 -1 198 140 1; -#X restore 52 161 graph; +#X coords 0 1 99 -1 99 100 1; +#X restore 443 134 graph; #N canvas 0 0 450 300 graph1 0; #X array cross_corr 100 float 0; -#X coords 0 1 99 -1 198 140 1; -#X restore 53 411 graph; -#N canvas 0 0 450 300 graph1 0; -#X array win 100 float 0; -#X coords 0 1 99 -1 198 140 1; -#X restore 307 183 graph; -#X restore 417 82 pd tables; -#X obj 411 322 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 76 346 tabwrite~ ref; -#X obj 170 346 tabwrite~ meas; -#X obj 412 371 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 75 203 z~ 50; -#X obj 411 341 tab_cross_corr ref meas cross_corr 0.01 1; -#X obj 214 168 z~ 10; -#X obj 268 178 z~ 20; -#X obj 658 226 tabwrite win; -#X obj 658 46 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 658 67 for++ 0 99 0.1; -#X obj 658 88 t f f; -#X obj 658 115 / 100; -#X obj 658 137 * 3.14159; -#X obj 658 159 sin; -#X msg 658 181 \$1 \$1; -#X obj 658 202 *; -#X obj 489 171 tab_mul meas win meas; -#X obj 489 151 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X coords 0 1 99 -1 99 100 1; +#X restore 443 247 graph; +#X text 94 459 IEM KUG; +#X text 78 447 musil; +#X text 108 447 @; +#X text 114 447 iem.at; +#X text 77 469 Graz \, Austria; +#X text 29 436 (c) Thomas Musil 2000 - 2006; +#X text 340 351 initial arguments:; +#X text 12 7 tab_cross_corr; +#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 +positive minimum of the difference (src1-src2) and dst array lengths) +; +#X text 318 363 1.arg: source1-name; +#X text 318 375 2.arg: source2-name; +#X text 318 387 3.arg: destination-name; +#X text 318 399 4.arg: norming factor; +#X text 493 422 calculation in ms; +#X text 318 411 5.arg: delay time per destination sample; +#X msg 63 257 bang; +#X msg 80 278 time 1; +#X msg 135 361 dst cross_corr; +#X msg 124 340 src2 meas; +#X msg 109 319 src1 ref; +#X obj 584 185 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X connect 0 0 2 0; -#X connect 0 1 3 0; -#X connect 1 0 0 0; -#X connect 4 0 9 0; -#X connect 4 0 11 0; -#X connect 4 0 13 0; -#X connect 4 0 14 0; -#X connect 5 0 8 0; -#X connect 5 0 9 0; -#X connect 7 0 12 0; -#X connect 11 0 8 0; -#X connect 12 0 10 0; -#X connect 13 0 9 0; -#X connect 14 0 9 0; -#X connect 16 0 17 0; -#X connect 17 0 18 0; -#X connect 18 0 19 0; -#X connect 18 1 15 1; -#X connect 19 0 20 0; -#X connect 20 0 21 0; -#X connect 21 0 22 0; -#X connect 22 0 23 0; -#X connect 23 0 15 0; -#X connect 25 0 24 0; +#X obj 55 70 tab_cross_corr ref meas cross_corr 0.02 1; +#X msg 97 297 factor 0.02; +#X obj 63 389 tab_cross_corr ref meas cross_corr 0.02 1; +#X text 62 155 !! array length of src1 > array length of src2 !!; +#X connect 0 0 29 0; +#X connect 3 0 28 0; +#X connect 23 0 31 0; +#X connect 24 0 31 0; +#X connect 25 0 31 0; +#X connect 26 0 31 0; +#X connect 27 0 31 0; +#X connect 28 0 2 0; +#X connect 29 0 1 0; +#X connect 30 0 31 0; diff --git a/help/tab_div-help.pd b/help/tab_div-help.pd index f8b4e68..3714374 100644 --- a/help/tab_div-help.pd +++ b/help/tab_div-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 843 548 10; +#N canvas 116 92 847 552 10; #N canvas 0 0 450 300 graph1 0; #X array src1 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -16,28 +16,26 @@ 0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 0.357144 0.357144 0.342858 0.328572; #X coords 0 1 99 -1 200 140 1; -#X restore 534 10 graph; +#X restore 534 20 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; -#X restore 535 358 graph; -#X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X restore 535 368 graph; +#X obj 61 41 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 61 116 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 350 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 57 173 dst-onset; -#X text 211 306 1.arg: source-name; -#X msg 286 234 dst dst; +#X msg 255 286 dst dst; #N canvas 0 0 450 300 graph1 0; #X array src2 100 float 1; #A 0 0.557135 0.57142 0.557135 0.528564 0.499992 0.428564 0.357136 0.299994 0.0999951 -0.0571467 -0.157146 -0.228574 -0.300002 -0.328573 --0.357145 -0.385716 -0.400001 -0.400001 -0.385716 -0.385716 -0.385716 --0.357145 -0.342859 -0.342859 -0.328573 -0.300002 -0.257145 -0.185717 --0.128575 -0.0428612 0.0142812 0.142852 0.228565 0.271422 0.314279 -0.357136 0.371422 0.414278 0.428564 0.44285 0.44285 0.457135 0.499992 +-0.357145 -0.385716 -0.400001 -0.400001 -0.385716 -0.385716 -0.37143 +-0.364287 -0.357145 -0.328573 -0.300002 -0.271431 -0.24286 -0.214288 +-0.14286 -0.085718 -0.0428611 -4.28595e-006 0.0428526 0.099995 0.171423 +0.21428 0.257137 0.328565 0.371422 0.428564 0.457135 0.485707 0.499992 0.514278 0.499992 0.471421 0.44285 0.414279 0.357136 0.285708 0.171423 0.0999952 0.0142815 -0.100003 -0.214288 -0.314288 -0.385716 -0.457144 -0.471429 -0.514286 -0.500001 -0.47143 -0.442858 -0.414287 -0.37143 @@ -47,24 +45,39 @@ -0.271431 -0.400001 -0.514286 -0.542858 -0.557143 -0.585714 -0.585714 -0.6 -0.6 -0.614286 -0.614286 -0.614286; #X coords 0 1 99 -1 200 140 1; -#X restore 535 161 graph; -#X msg 142 217 src1 src1; -#X msg 218 223 src2 src2; -#X msg 59 211 50 50 20 50; -#X text 45 139 list of 4 floats:; -#X text 57 153 src1-onset; -#X text 56 163 src2-onset; -#X text 212 333 3.arg: destination-name; -#X text 211 319 2.arg: source-name; -#X text 126 42 with the minimum-size of arrays; -#X obj 61 78 tab_div src1 src2 dst; -#X text 90 29 divide the 2 src-arrays to dst-array; -#X obj 59 271 tab_div src1 src2 dst; -#X text 57 183 n samples to divide; -#X connect 2 0 18 0; -#X connect 7 0 20 0; -#X connect 9 0 20 0; -#X connect 10 0 20 0; -#X connect 11 0 20 0; -#X connect 18 0 3 0; -#X connect 20 0 4 0; +#X restore 535 171 graph; +#X msg 136 243 src1 src1; +#X msg 195 265 src2 src2; +#X msg 59 221 50 50 20 50; +#X text 45 149 list of 4 floats:; +#X text 212 363 3.arg: destination-name; +#X text 78 445 IEM KUG; +#X text 62 433 musil; +#X text 92 433 @; +#X text 98 433 iem.at; +#X text 61 455 Graz \, Austria; +#X text 13 422 (c) Thomas Musil 2000 - 2006; +#X text 234 322 initial arguments:; +#X text 72 329 output; +#X text 306 285 xxx : change destination name; +#X text 208 96 the minimum of the 3 array lengths); +#X text 56 187 3.) dst onset; +#X text 56 165 1.) src_1 onset; +#X text 56 176 2.) src_2 onset; +#X text 199 243 xxx : change source name 1; +#X text 257 265 xxx : change source name 2; +#X text 211 336 1.arg: source-name 1; +#X text 211 349 2.arg: source-name 2; +#X text 12 13 tab_div; +#X text 90 39 divide the 2 src-arrays to dst-array; +#X text 195 82 (the number of samples which were divided are:; +#X text 56 197 4.) n samples to divide; +#X obj 61 88 tab_div src1 src2 dst; +#X obj 59 311 tab_div src1 src2 dst; +#X connect 2 0 33 0; +#X connect 5 0 34 0; +#X connect 7 0 34 0; +#X connect 8 0 34 0; +#X connect 9 0 34 0; +#X connect 33 0 3 0; +#X connect 34 0 4 0; diff --git a/help/tab_eq-help.pd b/help/tab_eq-help.pd index 05e8769..7a8917a 100644 --- a/help/tab_eq-help.pd +++ b/help/tab_eq-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 855 560 10; +#N canvas 116 92 859 564 10; #N canvas 0 0 450 300 graph1 0; #X array src1 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -8,13 +8,11 @@ -0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 -0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +0.485715 0.485715 0.485715 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.485715 0.471429 0.457144 0.442858 0.442858 0.428572 0.414286 +0.385715 0.357143 0.342858 0.314286 0.285715 0.242857 0.185714 0.142857 +0.114286 0.085714; #X coords 0 1 99 -1 200 140 1; #X restore 534 10 graph; #N canvas 0 0 450 300 graph1 0; @@ -25,10 +23,9 @@ -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 340 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 57 173 dst-onset; -#X msg 286 234 dst dst; +#X msg 255 276 dst dst; #N canvas 0 0 450 300 graph1 0; #X array src2 100 float 1; #A 0 0.557135 0.57142 0.557135 0.528564 0.499992 0.428564 0.357136 @@ -36,35 +33,48 @@ -0.357145 -0.385716 -0.400001 -0.400001 -0.385716 -0.385716 -0.37143 -0.364287 -0.357145 -0.328573 -0.300002 -0.271431 -0.24286 -0.214288 -0.14286 -0.085718 -0.0428611 -4.28595e-006 0.0428526 0.099995 0.171423 -0.21428 0.257137 0.328565 0.371422 0.428564 0.457135 0.485707 0.499992 -0.514278 0.499992 0.471421 0.44285 0.414279 0.357136 0.285708 0.171423 -0.0999952 0.0142815 -0.100003 -0.214288 -0.314288 -0.385716 -0.457144 --0.471429 -0.514286 -0.500001 -0.47143 -0.442858 -0.414287 -0.37143 --0.300002 -0.228574 -0.157146 -0.0714324 0.0571381 0.128566 0.199994 -0.271422 0.34285 0.414278 0.457135 0.485707 0.499992 0.528563 0.542849 -0.499992 0.457135 0.428564 0.371422 0.314279 0.242851 0.0857095 -0.0857178 --0.271431 -0.400001 -0.514286 -0.542858 -0.557143 -0.585714 -0.585714 --0.6 -0.6 -0.614286 -0.614286 -0.614286; +0.21428 0.257137 0.328565 0.371422 0.442849 0.457135 0.471421 0.471421 +0.485706 0.485706 0.485706 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.485714 0.471429 0.457135 0.428564 0.371422 +0.314279 0.242851 0.0857095 -0.0857178 -0.271431 -0.400001 -0.514286 +-0.542858 -0.557143 -0.585714 -0.585714 -0.6 -0.6 -0.614286 -0.614286 +-0.614286; #X coords 0 1 99 -1 200 140 1; #X restore 535 161 graph; -#X msg 142 217 src1 src1; -#X msg 218 223 src2 src2; +#X msg 136 233 src1 src1; +#X msg 195 255 src2 src2; #X msg 59 211 50 50 20 50; #X text 45 139 list of 4 floats:; -#X text 57 153 src1-onset; -#X text 56 163 src2-onset; -#X text 212 333 3.arg: destination-name; -#X text 211 306 1.arg: source1-name; -#X text 211 319 2.arg: source2-name; -#X text 58 182 n samples to compare; +#X text 212 353 3.arg: destination-name; +#X text 78 435 IEM KUG; +#X text 62 423 musil; +#X text 92 423 @; +#X text 98 423 iem.at; +#X text 61 445 Graz \, Austria; +#X text 13 412 (c) Thomas Musil 2000 - 2006; +#X text 234 312 initial arguments:; +#X text 72 319 output; +#X text 306 275 xxx : change destination name; +#X text 208 86 the minimum of the 3 array lengths); +#X text 56 177 3.) dst onset; +#X text 56 155 1.) src_1 onset; +#X text 56 166 2.) src_2 onset; +#X text 199 233 xxx : change source name 1; +#X text 257 255 xxx : change source name 2; +#X text 211 326 1.arg: source-name 1; +#X text 211 339 2.arg: source-name 2; +#X text 12 3 tab_eq; +#X text 90 29 compare "equal to" the 2 src-arrays to dst-array +; #X obj 61 78 tab_eq src1 src2 dst; -#X obj 59 271 tab_eq src1 src2 dst; -#X text 97 26 compare "equal to" 2 src-arrays to dst-array -with the minimum-size of arrays; -#X connect 2 0 18 0; -#X connect 6 0 19 0; -#X connect 8 0 19 0; -#X connect 9 0 19 0; -#X connect 10 0 19 0; -#X connect 18 0 3 0; -#X connect 19 0 4 0; +#X text 195 72 (the number of samples which were compared are:; +#X text 56 187 4.) n samples to compare; +#X obj 59 301 tab_eq src1 src2 dst; +#X connect 2 0 31 0; +#X connect 5 0 34 0; +#X connect 7 0 34 0; +#X connect 8 0 34 0; +#X connect 9 0 34 0; +#X connect 31 0 3 0; +#X connect 34 0 4 0; diff --git a/help/tab_eq_scalar-help.pd b/help/tab_eq_scalar-help.pd index 8a08865..72d177b 100644 --- a/help/tab_eq_scalar-help.pd +++ b/help/tab_eq_scalar-help.pd @@ -1,50 +1,62 @@ -#N canvas 75 200 868 572 10; +#N canvas 22 55 880 584 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; -#A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 --0.0428573 0.128572 0.228572 0.285715 0.328572 0.400001 0.414287 0.457144 -0.457144 0.442858 0.385715 0.314287 0.257144 0.214286 0.1 0.0428572 --0.0142858 -0.0428573 -0.114286 -0.142858 -0.200001 -0.242858 -0.285715 --0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 --0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 -0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +#A 0 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.485714 -0.457143 +-0.4 -0.285713 -0.0571409 0.157146 0.328575 0.442861 0.557148 0.628577 +0.714292 0.800006 0.85715 0.885721 0.885721 0.871435 0.842864 0.757149 +0.557148 0.41429 0.257146 -0.0142835 -0.314285 -0.528572 -0.714287 +-0.757145 -0.757145 -0.757145 -0.742859 -0.742859 -0.728573 -0.714287 +-0.685715 -0.657144 -0.585715 -0.528572 -0.4 -0.242856 -0.0428551 0.157146 +0.342861 0.51429 0.728577 0.800006 0.828578 0.828578 0.828578 0.828578 +0.800006 0.771435 0.714292 0.571433 0.41429 0.242861 0.0857169 -0.0571409 +-0.242856 -0.385714 -0.542858 -0.685716 -0.757145 -0.800002 -0.828574 +-0.828574 -0.814288 -0.800002 -0.785716 -0.757145 -0.728573 -0.67143 +-0.585715 -0.471429 -0.271428 -0.0857125 0.114288 0.228575 0.314289 +0.385718 0.414285 0.428571 0.457143 0.471428 0.485714 0.485714 0.5 +0.5 0.5 0.5 0.5 0.5 0.5; #X coords 0 1 99 -1 200 140 1; -#X restore 527 176 graph; +#X restore 527 116 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; #X restore 527 325 graph; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 370 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 45 185 dst-onset; -#X text 211 306 1.arg: source-name; -#X msg 255 235 dst dst; -#X text 33 161 list of 4 floats:; -#X msg 159 229 src src; -#X text 45 175 src-onset; -#X text 211 319 2.arg: destination-name; -#X msg 47 36 0.3; -#X msg 82 37 -0.3; -#X msg 48 228 0 0 100 0.3; -#X text 46 195 n samples to compare; -#X text 164 29 compare "equal to" the src-array with this scalar -to dst-array with the minimum-size of arrays; +#X msg 178 272 dst dst; +#X msg 129 249 src src; #X obj 61 78 tab_eq_scalar src dst; -#X text 45 206 compare "equal to"-scalar; -#X obj 59 271 tab_eq_scalar src dst; -#X connect 6 0 18 0; -#X connect 8 0 18 0; -#X connect 11 0 16 0; -#X connect 12 0 16 0; -#X connect 13 0 18 0; -#X connect 16 0 2 0; -#X connect 18 0 3 0; +#X obj 59 331 tab_eq_scalar src dst; +#X msg 47 36 0.5; +#X msg 82 37 -0.5; +#X text 201 332 1.arg: source-name; +#X text 201 345 2.arg: destination-name; +#X text 31 163 list of 4 floats:; +#X text 78 475 IEM KUG; +#X text 62 463 musil; +#X text 92 463 @; +#X text 98 463 iem.at; +#X text 61 485 Graz \, Austria; +#X text 13 452 (c) Thomas Musil 2000 - 2006; +#X text 224 318 initial arguments:; +#X text 75 351 output; +#X text 229 272 xxx : change destination name; +#X text 218 86 the minimum of both array lengths); +#X text 182 248 xxx : change source name; +#X text 42 179 1.) src onset; +#X text 42 190 2.) dst onset; +#X text 12 3 tab_eq_scalar; +#X text 42 201 3.) n samples to compare; +#X text 42 210 4.) compared scalar value; +#X text 129 29 compare "equal to" the src-array with this scalar +to dst-array; +#X text 205 72 (the number of samples which were compared are:; +#X msg 48 228 0 0 100 0.5; +#X connect 4 0 7 0; +#X connect 5 0 7 0; +#X connect 6 0 2 0; +#X connect 7 0 3 0; +#X connect 8 0 6 0; +#X connect 9 0 6 0; +#X connect 31 0 7 0; diff --git a/help/tab_fft-help.pd b/help/tab_fft-help.pd index 754b416..707eb26 100644 --- a/help/tab_fft-help.pd +++ b/help/tab_fft-help.pd @@ -1,181 +1,303 @@ -#N canvas 37 27 949 628 10; +#N canvas 29 19 957 536 10; #N canvas 0 0 450 300 graph1 0; -#X array src 100 float 1; -#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0; -#X coords 0 1 99 -1 300 140 1; -#X restore 534 10 graph; +#X array src_re 100 float 0; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 10 graph; #N canvas 0 0 450 300 graph1 0; #X array dst_re 100 float 0; -#X coords 0 1 99 -1 300 140 1; -#X restore 534 155 graph; -#X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X coords 0 1 99 -1 199 100 1; +#X restore 674 239 graph; +#X obj 24 47 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 24 122 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 62 583 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 62 371 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 35 387 list of 3 floats:; -#X text 47 398 src-onset; -#X text 443 484 1.arg: source-name; -#X text 90 29 copy from zero-onset to zero-onset; -#X text 130 40 the minimum-size of arrays; -#X msg 99 470 src src; #N canvas 0 0 450 300 graph1 0; #X array dst_im 100 float 0; -#X coords 0 1 99 -1 300 140 1; -#X restore 534 299 graph; -#X obj 397 142 tab_const src; -#N canvas 98 77 887 548 fft~ 0; -#N canvas 0 0 450 300 graph1 0; -#X array src9 67 float 1; -#A 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0; -#X coords 0 1 66 -1 260 140 1; -#X restore 480 -8 graph; -#N canvas 0 0 450 300 graph1 0; -#X array dst_re9 65 float 0; -#X coords 0 1 64 -1 260 140 1; -#X restore 480 166 graph; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 353 graph; +#X msg 103 276 dst_re dst_re; +#X msg 118 299 dst_im dst_im; +#X msg 139 322 fftsize 64; +#X floatatom 474 22 5 0 63 0 - - -; +#X msg 546 341 \; dst_re const 0 \; dst_im const 0; +#X text 10 0 tab_fft; +#X text 93 -1 complex FTT with arrays; +#X text 102 464 IEM KUG; +#X text 86 452 musil; +#X text 116 452 @; +#X text 122 452 iem.at; +#X text 85 474 Graz \, Austria; +#X text 37 441 (c) Thomas Musil 2000 - 2006; +#N canvas 0 0 466 316 generate_a_dirac 0; +#X msg 61 106 \$1 1 1; +#X obj 61 83 t f b; +#X obj 61 62 clip 0 63; +#X obj 61 32 inlet; +#X obj 86 142 tab_const src_re; +#X connect 0 0 4 0; +#X connect 1 0 0 0; +#X connect 1 1 4 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X restore 474 41 pd generate_a_dirac; +#X floatatom 514 22 5 -31 31 0 - - -; +#N canvas 0 0 479 403 generate_a_cos 0; +#X obj 120 18 inlet; +#X obj 219 176 t f f; +#X obj 219 211 / 32; +#X obj 219 232 * 3.14159; +#X obj 219 283 cos; +#X obj 219 257 * 8; +#X obj 219 308 / 32; +#X obj 219 106 clip 0 31; +#X obj 219 127 t b f; +#X obj 219 153 for++ 0 63; +#X obj 219 331 tabwrite src_re; +#X obj 120 43 moses 0; +#X obj 39 178 t f f; +#X obj 39 213 / 32; +#X obj 39 234 * 3.14159; +#X obj 39 285 cos; +#X obj 39 259 * 8; +#X obj 39 108 clip 0 31; +#X obj 39 129 t b f; +#X obj 39 155 for++ 0 63; +#X obj 39 333 tabwrite src_re; +#X obj 90 70 * -1; +#X obj 39 310 / -32; +#X connect 0 0 11 0; +#X connect 1 0 2 0; +#X connect 1 1 10 1; +#X connect 2 0 3 0; +#X connect 3 0 5 0; +#X connect 4 0 6 0; +#X connect 5 0 4 0; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 8 1 5 1; +#X connect 9 0 1 0; +#X connect 11 0 21 0; +#X connect 11 1 7 0; +#X connect 12 0 13 0; +#X connect 12 1 20 1; +#X connect 13 0 14 0; +#X connect 14 0 16 0; +#X connect 15 0 22 0; +#X connect 16 0 15 0; +#X connect 17 0 18 0; +#X connect 18 0 19 0; +#X connect 18 1 16 1; +#X connect 19 0 12 0; +#X connect 21 0 17 0; +#X connect 22 0 20 0; +#X restore 514 61 pd generate_a_cos; +#X floatatom 555 22 5 -31 31 0 - - -; +#N canvas 0 0 483 407 generate_a_sin 0; +#X obj 102 37 inlet; +#X obj 246 182 t f f; +#X obj 246 217 / 32; +#X obj 246 238 * 3.14159; +#X obj 246 263 * 8; +#X obj 246 314 / 32; +#X obj 246 112 clip 0 31; +#X obj 246 133 t b f; +#X obj 246 159 for++ 0 63; +#X obj 246 337 tabwrite src_re; +#X obj 246 289 sin; +#X obj 54 180 t f f; +#X obj 54 215 / 32; +#X obj 54 236 * 3.14159; +#X obj 54 261 * 8; +#X obj 54 110 clip 0 31; +#X obj 54 131 t b f; +#X obj 54 157 for++ 0 63; +#X obj 54 335 tabwrite src_re; +#X obj 54 287 sin; +#X obj 54 312 / -32; +#X obj 102 60 moses 0; +#X obj 54 88 * -1; +#X connect 0 0 21 0; +#X connect 1 0 2 0; +#X connect 1 1 9 1; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 10 0; +#X connect 5 0 9 0; +#X connect 6 0 7 0; +#X connect 7 0 8 0; +#X connect 7 1 4 1; +#X connect 8 0 1 0; +#X connect 10 0 5 0; +#X connect 11 0 12 0; +#X connect 11 1 18 1; +#X connect 12 0 13 0; +#X connect 13 0 14 0; +#X connect 14 0 19 0; +#X connect 15 0 16 0; +#X connect 16 0 17 0; +#X connect 16 1 14 1; +#X connect 17 0 11 0; +#X connect 19 0 20 0; +#X connect 20 0 18 0; +#X connect 21 0 22 0; +#X connect 21 1 6 0; +#X connect 22 0 15 0; +#X restore 555 82 pd generate_a_sin; +#X text 299 355 initial arguments:; +#X text 45 56 calculates a complex fourier transformation of +complex src-arrays to complex dst-arrays; +#X text 37 147 list of 4 floats:; +#X text 49 178 3.) dst_re-onset; +#X text 49 188 4.) dst_im-onset; +#X text 49 158 1.) src_re-onset; +#X text 49 168 2.) src_im-onset; +#X msg 62 207 20 20 30 30; +#X text 259 402 4.arg: imag_destination-name; +#X text 259 390 3.arg: real_destination-name; +#X text 259 379 2.arg: imag_source-name; +#X text 259 368 1.arg: real_source-name; +#X text 259 414 5.arg: fftsize; #N canvas 0 0 450 300 graph1 0; -#X array dst_im9 65 float 0; -#X coords 0 1 64 -1 260 140 1; -#X restore 479 314 graph; -#X obj 152 -8 tabreceive~ src9; -#X obj 152 18 rfft~; -#X obj 160 78 tabsend~ dst_re9; -#X obj 183 52 tabsend~ dst_im9; -#X msg 19 402 \; src9 sinesum 64 0 0 0 0 1 \; src9 cosinesum 64 0 0 -0 0 0 0 0 1; -#X msg 11 327 \; src9 sinesum 64 0 1; -#X msg 168 333 \; src9 cosinesum 64 0 0 1; -#X obj 42 -7 for++ 0 63 1; -#X obj 42 16 t f f; -#X obj 42 51 / 32; -#X obj 42 72 * 3.14159; -#X obj 42 123 sin; -#X obj 42 166 tabwrite src9; -#X msg 29 194 \; src9 const 0; -#X obj 42 -27 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 42 97 * 5; -#X msg 31 239 \; src9 const 1; -#X obj 339 7 for++ 0 63 1; -#X obj 339 30 t f f; -#X obj 339 65 / 32; -#X obj 339 86 * 3.14159; -#X obj 339 161 tabwrite src9; -#X obj 339 -13 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 339 137 cos; -#X obj 339 111 * 8.3; -#X obj 42 145 / 32; -#X msg 183 238 \$1 1 1; -#X obj 183 215 t f b; -#X obj 183 194 clip 0 31; -#X floatatom 183 170 5 0 31 0 - - -; -#X obj 208 274 tab_const src9; +#X array src_im 100 float 0; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 124 graph; +#X obj 24 94 tab_fft src_re src_im dst_re dst_im 64; +#X msg 76 230 src_re src_re; +#X msg 90 253 src_im src_im; +#X obj 62 348 tab_fft src_re src_im dst_re dst_im 64; +#X msg 546 283 \; src_re const 0 \; src_im const 0; +#X floatatom 474 132 5 0 63 0 - - -; +#N canvas 0 0 470 320 generate_a_dirac 0; +#X msg 61 106 \$1 1 1; +#X obj 61 83 t f b; +#X obj 61 62 clip 0 63; +#X obj 61 32 inlet; +#X obj 86 142 tab_const src_im; +#X connect 0 0 4 0; +#X connect 1 0 0 0; +#X connect 1 1 4 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X restore 474 151 pd generate_a_dirac; +#X floatatom 514 132 5 -31 31 0 - - -; +#N canvas 0 0 483 407 generate_a_cos 0; +#X obj 120 18 inlet; +#X obj 219 176 t f f; +#X obj 219 211 / 32; +#X obj 219 232 * 3.14159; +#X obj 219 283 cos; +#X obj 219 257 * 8; +#X obj 219 308 / 32; +#X obj 219 106 clip 0 31; +#X obj 219 127 t b f; +#X obj 219 153 for++ 0 63; +#X obj 120 43 moses 0; +#X obj 39 178 t f f; +#X obj 39 213 / 32; +#X obj 39 234 * 3.14159; +#X obj 39 285 cos; +#X obj 39 259 * 8; +#X obj 39 108 clip 0 31; +#X obj 39 129 t b f; +#X obj 39 155 for++ 0 63; +#X obj 90 70 * -1; +#X obj 39 310 / -32; +#X obj 40 334 tabwrite src_im; +#X obj 220 331 tabwrite src_im; +#X connect 0 0 10 0; +#X connect 1 0 2 0; +#X connect 1 1 22 1; +#X connect 2 0 3 0; +#X connect 3 0 5 0; +#X connect 4 0 6 0; +#X connect 5 0 4 0; +#X connect 6 0 22 0; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 8 1 5 1; +#X connect 9 0 1 0; +#X connect 10 0 19 0; +#X connect 10 1 7 0; +#X connect 11 0 12 0; +#X connect 11 1 21 1; +#X connect 12 0 13 0; +#X connect 13 0 15 0; +#X connect 14 0 20 0; +#X connect 15 0 14 0; +#X connect 16 0 17 0; +#X connect 17 0 18 0; +#X connect 17 1 15 1; +#X connect 18 0 11 0; +#X connect 19 0 16 0; +#X connect 20 0 21 0; +#X restore 514 171 pd generate_a_cos; +#X floatatom 555 132 5 -31 31 0 - - -; +#N canvas 0 0 487 411 generate_a_sin 0; +#X obj 102 37 inlet; +#X obj 246 182 t f f; +#X obj 246 217 / 32; +#X obj 246 238 * 3.14159; +#X obj 246 263 * 8; +#X obj 246 314 / 32; +#X obj 246 112 clip 0 31; +#X obj 246 133 t b f; +#X obj 246 159 for++ 0 63; +#X obj 246 289 sin; +#X obj 54 180 t f f; +#X obj 54 215 / 32; +#X obj 54 236 * 3.14159; +#X obj 54 261 * 8; +#X obj 54 110 clip 0 31; +#X obj 54 131 t b f; +#X obj 54 157 for++ 0 63; +#X obj 54 287 sin; +#X obj 54 312 / -32; +#X obj 102 60 moses 0; +#X obj 54 88 * -1; +#X obj 246 337 tabwrite src_im; +#X obj 54 336 tabwrite src_im; +#X connect 0 0 19 0; +#X connect 1 0 2 0; +#X connect 1 1 21 1; +#X connect 2 0 3 0; #X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 4 1 6 0; +#X connect 4 0 9 0; +#X connect 5 0 21 0; +#X connect 6 0 7 0; +#X connect 7 0 8 0; +#X connect 7 1 4 1; +#X connect 8 0 1 0; +#X connect 9 0 5 0; #X connect 10 0 11 0; +#X connect 10 1 22 1; #X connect 11 0 12 0; -#X connect 11 1 15 1; #X connect 12 0 13 0; -#X connect 13 0 18 0; -#X connect 14 0 28 0; -#X connect 17 0 10 0; -#X connect 18 0 14 0; -#X connect 20 0 21 0; -#X connect 21 0 22 0; -#X connect 21 1 24 1; -#X connect 22 0 23 0; -#X connect 23 0 27 0; -#X connect 25 0 20 0; -#X connect 26 0 24 0; -#X connect 27 0 26 0; -#X connect 28 0 15 0; -#X connect 29 0 33 0; -#X connect 30 0 29 0; -#X connect 30 1 33 0; -#X connect 31 0 30 0; -#X connect 32 0 31 0; -#X restore 293 433 pd fft~; -#X obj 124 139 for++ 0 63 1; -#X obj 124 162 t f f; -#X obj 124 197 / 32; -#X obj 124 218 * 3.14159; -#X obj 124 269 sin; -#X obj 124 119 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 124 243 * 5; -#X msg 122 349 \; src const 0; -#X obj 124 323 tabwrite src; -#X msg 244 355 \; src const 1; -#X obj 242 127 for++ 0 63 1; -#X obj 242 150 t f f; -#X obj 242 185 / 32; -#X obj 242 206 * 3.14159; -#X obj 242 107 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 242 257 cos; -#X obj 242 305 tabwrite src; -#X text 444 497 2.arg: real_destination-name; -#X text 445 511 3.arg: imag_destination-name; -#X text 446 524 4.arg: fft-size; -#X text 47 407 dst_re-onset; -#X text 47 417 dst_im-onset; -#X msg 111 494 dst_re dst_re; -#X msg 152 517 dst_im dst_im; -#X msg 242 527 fftsize 64; -#X msg 372 106 \$1 1 1; -#X obj 372 83 t f b; -#X obj 372 62 clip 0 31; -#X floatatom 372 38 5 0 31 0 - - -; -#X obj 124 293 / 32; -#X obj 242 231 * 8; -#X obj 242 282 / 32; -#X msg 362 281 \; src const \$1; -#X obj 362 253 /; -#X msg 362 221 1 32; -#X msg 194 449 \; dst_re const 0 \; dst_im const 0; -#X msg 63 445 20 30 30; -#X obj 534 445 table dummy 100; -#X obj 61 78 tab_fft src dummy dst_re dst_im 64; -#X obj 62 560 tab_fft src dummy dst_re dst_im 64; -#X connect 2 0 52 0; -#X connect 10 0 53 0; +#X connect 13 0 17 0; #X connect 14 0 15 0; #X connect 15 0 16 0; -#X connect 15 1 22 1; -#X connect 16 0 17 0; -#X connect 17 0 20 0; -#X connect 18 0 43 0; -#X connect 19 0 14 0; -#X connect 20 0 18 0; -#X connect 24 0 25 0; -#X connect 25 0 26 0; -#X connect 25 1 30 1; -#X connect 26 0 27 0; -#X connect 27 0 44 0; -#X connect 28 0 24 0; -#X connect 29 0 45 0; -#X connect 36 0 53 0; -#X connect 37 0 53 0; -#X connect 38 0 53 0; -#X connect 39 0 12 0; -#X connect 40 0 39 0; -#X connect 40 1 12 0; -#X connect 41 0 40 0; -#X connect 42 0 41 0; -#X connect 43 0 22 0; -#X connect 44 0 29 0; -#X connect 45 0 30 0; -#X connect 47 0 46 0; -#X connect 48 0 47 0; -#X connect 50 0 53 0; -#X connect 52 0 3 0; -#X connect 53 0 4 0; +#X connect 15 1 13 1; +#X connect 16 0 10 0; +#X connect 17 0 18 0; +#X connect 18 0 22 0; +#X connect 19 0 20 0; +#X connect 19 1 6 0; +#X connect 20 0 14 0; +#X restore 555 192 pd generate_a_sin; +#X connect 2 0 38 0; +#X connect 6 0 41 0; +#X connect 7 0 41 0; +#X connect 8 0 41 0; +#X connect 9 0 19 0; +#X connect 20 0 21 0; +#X connect 22 0 23 0; +#X connect 31 0 41 0; +#X connect 38 0 3 0; +#X connect 39 0 41 0; +#X connect 40 0 41 0; +#X connect 41 0 4 0; +#X connect 43 0 44 0; +#X connect 45 0 46 0; +#X connect 47 0 48 0; diff --git a/help/tab_find_exact_peaks-help.pd b/help/tab_find_exact_peaks-help.pd new file mode 100644 index 0000000..8a2981c --- /dev/null +++ b/help/tab_find_exact_peaks-help.pd @@ -0,0 +1,88 @@ +#N canvas 116 92 824 482 10; +#X obj 60 52 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 31 331 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 200 306 1.arg: source-name; +#X floatatom 94 372 5 0 0 0 - - -; +#X floatatom 143 373 5 0 0 0 - - -; +#X msg 88 78 src src; +#X msg 118 102 amp_sort; +#X msg 120 124 freq_sort; +#X floatatom 198 371 5 0 0 0 - - -; +#X obj 263 369 pack 0 0 0; +#X obj 263 392 print; +#X msg 233 173 abs_min_height_diff 10; +#X text 69 385 sort_index; +#X text 204 382 amp; +#X text 147 387 index; +#N canvas 0 0 450 300 graph1 0; +#X array src 100 float 1; +#A 0 9.99997 9.28569 9.28569 10.7143 7.14284 7.85712 8.5714 39 10 11 +38 8.5714 7.85712 8.5714 9.28569 8.5714 9.99997 39 40 41 38 12.8571 +12.8571 14.2857 12.8571 11.4285 12.1428 11.4285 9.99997 10.7143 11.4285 +9.99997 9.28569 9.28569 9.99997 10.7143 10.7143 45 9.99997 9.99997 +10.7143 11.4285 12.1428 10.7143 11.4285 12.1428 11.4285 46 11.4285 +11.4285 11.4285 12.1428 12.8571 11.4285 11.4285 12.1428 12.8571 12.1428 +12.1428 12.1428 12.1428 12.1428 11.4285 11.4285 11.4285 11.4285 10.7143 +48 49 43 11.4285 12.1428 13.5714 15 13.5714 13.5714 14.2857 14.2857 +15 15 14.2857 14.2857 14.2857 15 15 15.7142 15.7142 51 53 15 15 15 +15 15 14.2857 14.2857 15 15.7142 16.4285 16.4285; +#X coords 0 100 99 0 200 140 1; +#X restore 578 93 graph; +#X msg 171 149 max_peaks 9; +#X text 20 347 ready; +#X msg 289 194 width_range 1 4; +#X msg 289 216 width_range 1 1; +#N canvas 0 0 466 316 Pd 0; +#X msg 355 125 \; src const 0; +#X msg 303 175 \; src 37 45; +#X msg 310 223 \; src 47 46; +#X msg 187 177 \; src 67 48 49 43; +#X msg 180 218 \; src 87 51 53; +#X msg 44 223 \; src 7 39 10 11 38; +#X msg 50 181 \; src 17 39 40 41 38; +#X obj 65 25 loadbang; +#X msg 33 50 \; src xticks 0 1 5; +#X msg 34 84 \; src xlabel -5.15 0 10 20 30 40 50 60 70 80 90; +#X connect 7 0 8 0; +#X connect 7 0 9 0; +#X restore 636 289 pd; +#X obj 297 69 loadbang; +#X text 89 50 calculate all peaks (index bin amplitude); +#X text 218 61 of an array; +#X text 78 442 IEM KUG; +#X text 62 430 musil; +#X text 92 430 @; +#X text 98 430 iem.at; +#X text 61 452 Graz \, Austria; +#X text 13 419 (c) Thomas Musil 2000 - 2006; +#X text 218 296 initial arguments:; +#X text 184 112 kind of order; +#X text 250 148 maximum number of peaks detected; +#X text 373 168 vertical difference between peak; +#X text 386 177 and noise; +#X text 391 202 width range of peak in bins; +#X text 21 6 tab_exact_find_peaks; +#X obj 60 302 tab_find_exact_peaks src; +#X text 184 7 same like tab_find_peaks; +#X connect 0 0 37 0; +#X connect 5 0 37 0; +#X connect 6 0 37 0; +#X connect 7 0 37 0; +#X connect 9 0 10 0; +#X connect 11 0 37 0; +#X connect 16 0 37 0; +#X connect 18 0 37 0; +#X connect 19 0 37 0; +#X connect 21 0 6 0; +#X connect 21 0 16 0; +#X connect 21 0 11 0; +#X connect 21 0 18 0; +#X connect 37 0 1 0; +#X connect 37 1 3 0; +#X connect 37 1 9 0; +#X connect 37 2 4 0; +#X connect 37 2 9 1; +#X connect 37 3 8 0; +#X connect 37 3 9 2; diff --git a/help/tab_find_peaks-help.pd b/help/tab_find_peaks-help.pd index cf390d6..0543166 100644 --- a/help/tab_find_peaks-help.pd +++ b/help/tab_find_peaks-help.pd @@ -1,24 +1,22 @@ -#N canvas 116 92 812 439 10; +#N canvas 116 92 820 478 10; #X obj 60 52 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 31 195 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 31 331 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 176 168 1.arg: source-name; -#X floatatom 94 236 5 0 0 0 - - -; -#X floatatom 143 237 5 0 0 0 - - -; -#X text 163 60 to the end of array; -#X text 89 50 calculate max. and max_index from zero-onset; +#X text 200 306 1.arg: source-name; +#X floatatom 94 372 5 0 0 0 - - -; +#X floatatom 143 373 5 0 0 0 - - -; #X msg 88 78 src src; -#X msg 172 91 amp_sort; -#X msg 178 114 freq_sort; -#X obj 60 166 tab_find_peaks src; -#X floatatom 198 235 5 0 0 0 - - -; -#X obj 51 288 pack 0 0 0; -#X obj 51 311 print; -#X msg 253 90 abs_min_height_diff 10; -#X text 69 249 sort_index; -#X text 204 246 amp; -#X text 147 251 index; +#X msg 118 102 amp_sort; +#X msg 120 124 freq_sort; +#X obj 60 302 tab_find_peaks src; +#X floatatom 198 371 5 0 0 0 - - -; +#X obj 263 369 pack 0 0 0; +#X obj 263 392 print; +#X msg 233 173 abs_min_height_diff 10; +#X text 69 385 sort_index; +#X text 204 382 amp; +#X text 147 387 index; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; #A 0 9.99997 9.28569 9.28569 10.7143 7.14284 7.85712 8.5714 39 10 11 @@ -32,32 +30,58 @@ 15 15 14.2857 14.2857 14.2857 15 15 15.7142 15.7142 51 53 15 15 15 15 15 14.2857 14.2857 15 15.7142 16.4285 16.4285; #X coords 0 100 99 0 200 140 1; -#X restore 442 95 graph; -#X msg 262 123 max_peaks 9; -#X text 20 211 ready; -#X msg 270 150 width_range 1 4; -#N canvas 0 0 454 304 init 0; -#X msg 233 52 \; src const 0; -#X msg 234 94 \; src 37 45; -#X msg 236 133 \; src 47 46; +#X restore 578 93 graph; +#X msg 171 149 max_peaks 9; +#X text 20 347 ready; +#X msg 289 194 width_range 1 4; +#X text 21 6 tab_find_peaks; +#X msg 289 216 width_range 1 1; +#N canvas 0 0 466 316 Pd 0; +#X msg 355 125 \; src const 0; +#X msg 303 175 \; src 37 45; +#X msg 310 223 \; src 47 46; #X msg 187 177 \; src 67 48 49 43; #X msg 180 218 \; src 87 51 53; #X msg 44 223 \; src 7 39 10 11 38; #X msg 50 181 \; src 17 39 40 41 38; -#X restore 450 267 pd init; -#X text 21 6 tab_find_peaks; -#X connect 0 0 10 0; -#X connect 7 0 10 0; -#X connect 8 0 10 0; -#X connect 9 0 10 0; -#X connect 10 0 1 0; -#X connect 10 1 3 0; -#X connect 10 1 12 0; -#X connect 10 2 4 0; -#X connect 10 2 12 1; -#X connect 10 3 11 0; -#X connect 10 3 12 2; -#X connect 12 0 13 0; -#X connect 14 0 10 0; -#X connect 19 0 10 0; -#X connect 21 0 10 0; +#X obj 65 25 loadbang; +#X msg 33 50 \; src xticks 0 1 5; +#X msg 34 84 \; src xlabel -5.15 0 10 20 30 40 50 60 70 80 90; +#X connect 7 0 8 0; +#X connect 7 0 9 0; +#X restore 636 289 pd; +#X obj 297 69 loadbang; +#X text 89 50 calculate all peaks (index bin amplitude); +#X text 218 61 of an array; +#X text 78 442 IEM KUG; +#X text 62 430 musil; +#X text 92 430 @; +#X text 98 430 iem.at; +#X text 61 452 Graz \, Austria; +#X text 13 419 (c) Thomas Musil 2000 - 2006; +#X text 218 296 initial arguments:; +#X text 184 112 kind of order; +#X text 250 148 maximum number of peaks detected; +#X text 373 168 vertical difference between peak; +#X text 386 177 and noise; +#X text 391 202 width range of peak in bins; +#X connect 0 0 8 0; +#X connect 5 0 8 0; +#X connect 6 0 8 0; +#X connect 7 0 8 0; +#X connect 8 0 1 0; +#X connect 8 1 3 0; +#X connect 8 1 10 0; +#X connect 8 2 4 0; +#X connect 8 2 10 1; +#X connect 8 3 9 0; +#X connect 8 3 10 2; +#X connect 10 0 11 0; +#X connect 12 0 8 0; +#X connect 17 0 8 0; +#X connect 19 0 8 0; +#X connect 21 0 8 0; +#X connect 23 0 6 0; +#X connect 23 0 17 0; +#X connect 23 0 12 0; +#X connect 23 0 19 0; diff --git a/help/tab_ge-help.pd b/help/tab_ge-help.pd index ed5f5d8..a6350ec 100644 --- a/help/tab_ge-help.pd +++ b/help/tab_ge-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 851 556 10; +#N canvas 116 92 859 564 10; #N canvas 0 0 450 300 graph1 0; #X array src1 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -8,13 +8,11 @@ -0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 -0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +0.485715 0.485715 0.485715 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.485715 0.471429 0.457144 0.442858 0.442858 0.428572 0.414286 +0.385715 0.357143 0.342858 0.314286 0.285715 0.242857 0.185714 0.142857 +0.114286 0.085714; #X coords 0 1 99 -1 200 140 1; #X restore 534 10 graph; #N canvas 0 0 450 300 graph1 0; @@ -25,10 +23,9 @@ -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 340 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 57 173 dst-onset; -#X msg 286 234 dst dst; +#X msg 255 276 dst dst; #N canvas 0 0 450 300 graph1 0; #X array src2 100 float 1; #A 0 0.557135 0.57142 0.557135 0.528564 0.499992 0.428564 0.357136 @@ -36,35 +33,48 @@ -0.357145 -0.385716 -0.400001 -0.400001 -0.385716 -0.385716 -0.37143 -0.364287 -0.357145 -0.328573 -0.300002 -0.271431 -0.24286 -0.214288 -0.14286 -0.085718 -0.0428611 -4.28595e-006 0.0428526 0.099995 0.171423 -0.21428 0.257137 0.328565 0.371422 0.428564 0.457135 0.485707 0.499992 -0.514278 0.499992 0.471421 0.44285 0.414279 0.357136 0.285708 0.171423 -0.0999952 0.0142815 -0.100003 -0.214288 -0.314288 -0.385716 -0.457144 --0.471429 -0.514286 -0.500001 -0.47143 -0.442858 -0.414287 -0.37143 --0.300002 -0.228574 -0.157146 -0.0714324 0.0571381 0.128566 0.199994 -0.271422 0.34285 0.414278 0.457135 0.485707 0.499992 0.528563 0.542849 -0.499992 0.457135 0.428564 0.371422 0.314279 0.242851 0.0857095 -0.0857178 --0.271431 -0.400001 -0.514286 -0.542858 -0.557143 -0.585714 -0.585714 --0.6 -0.6 -0.614286 -0.614286 -0.614286; +0.21428 0.257137 0.328565 0.371422 0.442849 0.457135 0.471421 0.471421 +0.485706 0.485706 0.485706 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.485714 0.471429 0.457135 0.428564 0.371422 +0.314279 0.242851 0.0857095 -0.0857178 -0.271431 -0.400001 -0.514286 +-0.542858 -0.557143 -0.585714 -0.585714 -0.6 -0.6 -0.614286 -0.614286 +-0.614286; #X coords 0 1 99 -1 200 140 1; #X restore 535 161 graph; -#X msg 142 217 src1 src1; -#X msg 218 223 src2 src2; +#X msg 136 233 src1 src1; +#X msg 195 255 src2 src2; #X msg 59 211 50 50 20 50; #X text 45 139 list of 4 floats:; -#X text 57 153 src1-onset; -#X text 56 163 src2-onset; -#X text 212 333 3.arg: destination-name; -#X text 211 306 1.arg: source1-name; -#X text 211 319 2.arg: source2-name; -#X text 58 182 n samples to compare; -#X text 97 26 compare "greater equal" 2 src-arrays to dst-array -with the minimum-size of arrays; +#X text 212 353 3.arg: destination-name; +#X text 78 435 IEM KUG; +#X text 62 423 musil; +#X text 92 423 @; +#X text 98 423 iem.at; +#X text 61 445 Graz \, Austria; +#X text 13 412 (c) Thomas Musil 2000 - 2006; +#X text 234 312 initial arguments:; +#X text 72 319 output; +#X text 306 275 xxx : change destination name; +#X text 208 86 the minimum of the 3 array lengths); +#X text 56 177 3.) dst onset; +#X text 56 155 1.) src_1 onset; +#X text 56 166 2.) src_2 onset; +#X text 199 233 xxx : change source name 1; +#X text 257 255 xxx : change source name 2; +#X text 211 326 1.arg: source-name 1; +#X text 211 339 2.arg: source-name 2; +#X text 195 72 (the number of samples which were compared are:; +#X text 56 187 4.) n samples to compare; +#X text 12 3 tab_ge; #X obj 61 78 tab_ge src1 src2 dst; -#X obj 59 271 tab_ge src1 src2 dst; -#X connect 2 0 19 0; -#X connect 6 0 20 0; -#X connect 8 0 20 0; -#X connect 9 0 20 0; -#X connect 10 0 20 0; -#X connect 19 0 3 0; -#X connect 20 0 4 0; +#X obj 59 301 tab_ge src1 src2 dst; +#X text 90 29 compare "greater than or equal to" the 2 src-arrays +to dst-array; +#X connect 2 0 32 0; +#X connect 5 0 33 0; +#X connect 7 0 33 0; +#X connect 8 0 33 0; +#X connect 9 0 33 0; +#X connect 32 0 3 0; +#X connect 33 0 4 0; diff --git a/help/tab_ge_scalar-help.pd b/help/tab_ge_scalar-help.pd index 88c3d0e..023829a 100644 --- a/help/tab_ge_scalar-help.pd +++ b/help/tab_ge_scalar-help.pd @@ -1,50 +1,62 @@ -#N canvas 75 200 868 572 10; +#N canvas 22 55 888 592 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; -#A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 --0.0428573 0.128572 0.228572 0.285715 0.328572 0.400001 0.414287 0.457144 -0.457144 0.442858 0.385715 0.314287 0.257144 0.214286 0.1 0.0428572 --0.0142858 -0.0428573 -0.114286 -0.142858 -0.200001 -0.242858 -0.285715 --0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 --0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 -0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +#A 0 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.485714 -0.457143 +-0.4 -0.285713 -0.0571409 0.157146 0.328575 0.442861 0.557148 0.628577 +0.714292 0.800006 0.85715 0.885721 0.885721 0.871435 0.842864 0.757149 +0.557148 0.41429 0.257146 -0.0142835 -0.314285 -0.528572 -0.714287 +-0.757145 -0.757145 -0.757145 -0.742859 -0.742859 -0.728573 -0.714287 +-0.685715 -0.657144 -0.585715 -0.528572 -0.4 -0.242856 -0.0428551 0.157146 +0.342861 0.51429 0.728577 0.800006 0.828578 0.828578 0.828578 0.828578 +0.800006 0.771435 0.714292 0.571433 0.41429 0.242861 0.0857169 -0.0571409 +-0.242856 -0.385714 -0.542858 -0.685716 -0.757145 -0.800002 -0.828574 +-0.828574 -0.814288 -0.800002 -0.785716 -0.757145 -0.728573 -0.67143 +-0.585715 -0.471429 -0.271428 -0.0857125 0.114288 0.228575 0.314289 +0.385718 0.414285 0.428571 0.457143 0.471428 0.485714 0.485714 0.5 +0.5 0.5 0.5 0.5 0.5 0.5; #X coords 0 1 99 -1 200 140 1; -#X restore 527 176 graph; +#X restore 527 116 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; #X restore 527 325 graph; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 370 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 45 185 dst-onset; -#X text 211 306 1.arg: source-name; -#X msg 255 235 dst dst; -#X text 33 161 list of 4 floats:; -#X msg 159 229 src src; -#X text 45 175 src-onset; -#X text 211 319 2.arg: destination-name; -#X msg 47 36 0.3; -#X msg 82 37 -0.3; -#X msg 48 228 0 0 100 0.3; -#X text 46 195 n samples to compare; -#X text 164 29 compare "greater equal" the src-array with this -scalar to dst-array with the minimum-size of arrays; -#X text 45 206 compare "greater equal"-scalar; +#X msg 178 272 dst dst; +#X msg 129 249 src src; +#X msg 47 36 0.5; +#X msg 82 37 -0.5; +#X text 201 332 1.arg: source-name; +#X text 201 345 2.arg: destination-name; +#X text 31 162 list of 4 floats:; +#X text 78 475 IEM KUG; +#X text 62 463 musil; +#X text 92 463 @; +#X text 98 463 iem.at; +#X text 61 485 Graz \, Austria; +#X text 13 452 (c) Thomas Musil 2000 - 2006; +#X text 224 318 initial arguments:; +#X text 75 351 output; +#X text 229 272 xxx : change destination name; +#X text 218 86 the minimum of both array lengths); +#X text 182 248 xxx : change source name; +#X text 42 178 1.) src onset; +#X text 42 189 2.) dst onset; +#X text 42 200 3.) n samples to compare; +#X text 42 210 4.) compared scalar value; +#X text 205 72 (the number of samples which were compared are:; +#X msg 48 228 0 0 100 0.5; +#X text 12 3 tab_ge_scalar; #X obj 61 78 tab_ge_scalar src dst; -#X obj 59 271 tab_ge_scalar src dst; -#X connect 6 0 18 0; -#X connect 8 0 18 0; -#X connect 11 0 17 0; -#X connect 12 0 17 0; -#X connect 13 0 18 0; -#X connect 17 0 2 0; -#X connect 18 0 3 0; +#X obj 59 331 tab_ge_scalar src dst; +#X text 129 29 compare "greater than or equal to" the src-array +with this scalar to dst-array; +#X connect 4 0 30 0; +#X connect 5 0 30 0; +#X connect 6 0 29 0; +#X connect 7 0 29 0; +#X connect 27 0 30 0; +#X connect 29 0 2 0; +#X connect 30 0 3 0; diff --git a/help/tab_gt-help.pd b/help/tab_gt-help.pd index baae6df..85540e1 100644 --- a/help/tab_gt-help.pd +++ b/help/tab_gt-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 851 556 10; +#N canvas 116 92 859 564 10; #N canvas 0 0 450 300 graph1 0; #X array src1 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -8,13 +8,11 @@ -0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 -0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +0.485715 0.485715 0.485715 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.485715 0.471429 0.457144 0.442858 0.442858 0.428572 0.414286 +0.385715 0.357143 0.342858 0.314286 0.285715 0.242857 0.185714 0.142857 +0.114286 0.085714; #X coords 0 1 99 -1 200 140 1; #X restore 534 10 graph; #N canvas 0 0 450 300 graph1 0; @@ -25,10 +23,9 @@ -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 340 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 57 173 dst-onset; -#X msg 286 234 dst dst; +#X msg 255 276 dst dst; #N canvas 0 0 450 300 graph1 0; #X array src2 100 float 1; #A 0 0.557135 0.57142 0.557135 0.528564 0.499992 0.428564 0.357136 @@ -36,35 +33,48 @@ -0.357145 -0.385716 -0.400001 -0.400001 -0.385716 -0.385716 -0.37143 -0.364287 -0.357145 -0.328573 -0.300002 -0.271431 -0.24286 -0.214288 -0.14286 -0.085718 -0.0428611 -4.28595e-006 0.0428526 0.099995 0.171423 -0.21428 0.257137 0.328565 0.371422 0.428564 0.457135 0.485707 0.499992 -0.514278 0.499992 0.471421 0.44285 0.414279 0.357136 0.285708 0.171423 -0.0999952 0.0142815 -0.100003 -0.214288 -0.314288 -0.385716 -0.457144 --0.471429 -0.514286 -0.500001 -0.47143 -0.442858 -0.414287 -0.37143 --0.300002 -0.228574 -0.157146 -0.0714324 0.0571381 0.128566 0.199994 -0.271422 0.34285 0.414278 0.457135 0.485707 0.499992 0.528563 0.542849 -0.499992 0.457135 0.428564 0.371422 0.314279 0.242851 0.0857095 -0.0857178 --0.271431 -0.400001 -0.514286 -0.542858 -0.557143 -0.585714 -0.585714 --0.6 -0.6 -0.614286 -0.614286 -0.614286; +0.21428 0.257137 0.328565 0.371422 0.442849 0.457135 0.471421 0.471421 +0.485706 0.485706 0.485706 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.485714 0.471429 0.457135 0.428564 0.371422 +0.314279 0.242851 0.0857095 -0.0857178 -0.271431 -0.400001 -0.514286 +-0.542858 -0.557143 -0.585714 -0.585714 -0.6 -0.6 -0.614286 -0.614286 +-0.614286; #X coords 0 1 99 -1 200 140 1; #X restore 535 161 graph; -#X msg 142 217 src1 src1; -#X msg 218 223 src2 src2; +#X msg 136 233 src1 src1; +#X msg 195 255 src2 src2; #X msg 59 211 50 50 20 50; #X text 45 139 list of 4 floats:; -#X text 57 153 src1-onset; -#X text 56 163 src2-onset; -#X text 212 333 3.arg: destination-name; -#X text 211 306 1.arg: source1-name; -#X text 211 319 2.arg: source2-name; +#X text 212 353 3.arg: destination-name; +#X text 78 435 IEM KUG; +#X text 62 423 musil; +#X text 92 423 @; +#X text 98 423 iem.at; +#X text 61 445 Graz \, Austria; +#X text 13 412 (c) Thomas Musil 2000 - 2006; +#X text 234 312 initial arguments:; +#X text 72 319 output; +#X text 306 275 xxx : change destination name; +#X text 208 86 the minimum of the 3 array lengths); +#X text 56 177 3.) dst onset; +#X text 56 155 1.) src_1 onset; +#X text 56 166 2.) src_2 onset; +#X text 199 233 xxx : change source name 1; +#X text 257 255 xxx : change source name 2; +#X text 211 326 1.arg: source-name 1; +#X text 211 339 2.arg: source-name 2; +#X text 195 72 (the number of samples which were compared are:; +#X text 56 187 4.) n samples to compare; +#X text 12 3 tab_gt; +#X text 90 29 compare "greater than" the 2 src-arrays to dst-array +; #X obj 61 78 tab_gt src1 src2 dst; -#X obj 59 271 tab_gt src1 src2 dst; -#X text 58 182 n samples to compare; -#X text 97 26 compare "greater than" 2 src-arrays to dst-array -with the minimum-size of arrays; -#X connect 2 0 17 0; -#X connect 6 0 18 0; -#X connect 8 0 18 0; -#X connect 9 0 18 0; -#X connect 10 0 18 0; -#X connect 17 0 3 0; -#X connect 18 0 4 0; +#X obj 59 301 tab_gt src1 src2 dst; +#X connect 2 0 33 0; +#X connect 5 0 34 0; +#X connect 7 0 34 0; +#X connect 8 0 34 0; +#X connect 9 0 34 0; +#X connect 33 0 3 0; +#X connect 34 0 4 0; diff --git a/help/tab_gt_scalar-help.pd b/help/tab_gt_scalar-help.pd index f6c23ec..62ea25f 100644 --- a/help/tab_gt_scalar-help.pd +++ b/help/tab_gt_scalar-help.pd @@ -1,50 +1,62 @@ -#N canvas 75 200 864 568 10; +#N canvas 22 55 880 584 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; -#A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 --0.0428573 0.128572 0.228572 0.285715 0.328572 0.400001 0.414287 0.457144 -0.457144 0.442858 0.385715 0.314287 0.257144 0.214286 0.1 0.0428572 --0.0142858 -0.0428573 -0.114286 -0.142858 -0.200001 -0.242858 -0.285715 --0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 --0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 -0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +#A 0 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.485714 -0.457143 +-0.4 -0.285713 -0.0571409 0.157146 0.328575 0.442861 0.557148 0.628577 +0.714292 0.800006 0.85715 0.885721 0.885721 0.871435 0.842864 0.757149 +0.557148 0.41429 0.257146 -0.0142835 -0.314285 -0.528572 -0.714287 +-0.757145 -0.757145 -0.757145 -0.742859 -0.742859 -0.728573 -0.714287 +-0.685715 -0.657144 -0.585715 -0.528572 -0.4 -0.242856 -0.0428551 0.157146 +0.342861 0.51429 0.728577 0.800006 0.828578 0.828578 0.828578 0.828578 +0.800006 0.771435 0.714292 0.571433 0.41429 0.242861 0.0857169 -0.0571409 +-0.242856 -0.385714 -0.542858 -0.685716 -0.757145 -0.800002 -0.828574 +-0.828574 -0.814288 -0.800002 -0.785716 -0.757145 -0.728573 -0.67143 +-0.585715 -0.471429 -0.271428 -0.0857125 0.114288 0.228575 0.314289 +0.385718 0.414285 0.428571 0.457143 0.471428 0.485714 0.485714 0.5 +0.5 0.5 0.5 0.5 0.5 0.5; #X coords 0 1 99 -1 200 140 1; -#X restore 527 176 graph; +#X restore 527 116 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; #X restore 527 325 graph; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 370 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 45 185 dst-onset; -#X text 211 306 1.arg: source-name; -#X msg 255 235 dst dst; -#X text 33 161 list of 4 floats:; -#X msg 159 229 src src; -#X text 45 175 src-onset; -#X text 211 319 2.arg: destination-name; -#X obj 61 78 tab_gt_scalar src dst; -#X obj 59 271 tab_gt_scalar src dst; -#X msg 47 36 0.3; -#X msg 82 37 -0.3; +#X msg 178 272 dst dst; +#X msg 129 249 src src; #X msg 48 228 0 0 100 0.3; -#X text 164 29 compare "greater than" the src-array with this -scalar to dst-array with the minimum-size of arrays; -#X text 45 206 compare "greater than"-scalar; -#X text 46 195 n samples to compare; -#X connect 6 0 12 0; -#X connect 8 0 12 0; -#X connect 11 0 2 0; -#X connect 12 0 3 0; -#X connect 13 0 11 0; -#X connect 14 0 11 0; -#X connect 15 0 12 0; +#X msg 47 36 0.5; +#X msg 82 37 -0.5; +#X text 201 332 1.arg: source-name; +#X text 201 345 2.arg: destination-name; +#X text 31 163 list of 4 floats:; +#X text 78 475 IEM KUG; +#X text 62 463 musil; +#X text 92 463 @; +#X text 98 463 iem.at; +#X text 61 485 Graz \, Austria; +#X text 13 452 (c) Thomas Musil 2000 - 2006; +#X text 224 318 initial arguments:; +#X text 75 351 output; +#X text 229 272 xxx : change destination name; +#X text 218 86 the minimum of both array lengths); +#X text 182 248 xxx : change source name; +#X text 42 179 1.) src onset; +#X text 42 190 2.) dst onset; +#X text 42 201 3.) n samples to compare; +#X text 42 210 4.) compared scalar value; +#X text 205 72 (the number of samples which were compared are:; +#X text 12 3 tab_gt_scalar; +#X obj 61 78 tab_gt_scalar src dst; +#X obj 59 331 tab_gt_scalar src dst; +#X text 129 29 compare "greater than" the src-array with this +scalar to dst-array; +#X connect 4 0 30 0; +#X connect 5 0 30 0; +#X connect 6 0 30 0; +#X connect 7 0 29 0; +#X connect 8 0 29 0; +#X connect 29 0 2 0; +#X connect 30 0 3 0; diff --git a/help/tab_ifft-help.pd b/help/tab_ifft-help.pd index 0412a81..9e38776 100644 --- a/help/tab_ifft-help.pd +++ b/help/tab_ifft-help.pd @@ -1,154 +1,295 @@ -#N canvas 9 14 951 630 10; -#N canvas 0 0 452 302 graph1 0; -#X array spec_real 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 85 graph; +#N canvas 29 19 957 536 10; #N canvas 0 0 450 300 graph1 0; -#X array spec_imag 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 188 graph; -#X obj 38 115 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 38 165 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 62 583 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X text 35 387 list of 3 floats:; -#X text 47 398 src-onset; -#X text 288 499 1.arg: source-name; -#X text 90 29 copy from zero-onset to zero-onset; -#X text 130 40 the minimum-size of arrays; -#N canvas 0 0 450 300 graph1 0; -#X array dst 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 291 graph; -#X obj 397 142 tab_const src; -#X msg 122 349 \; src const 0; -#X msg 244 355 \; src const 1; -#X text 289 512 2.arg: real_destination-name; -#X text 290 526 3.arg: imag_destination-name; -#X text 291 541 4.arg: fft-size; -#X text 47 407 dst_re-onset; -#X text 47 417 dst_im-onset; -#X msg 189 527 fftsize 64; -#X msg 372 106 \$1 1 1; -#X obj 372 83 t f b; -#X obj 372 62 clip 0 31; -#X floatatom 372 38 5 0 31 0 - - -; -#X msg 362 281 \; src const \$1; -#X obj 362 253 /; -#X msg 362 221 1 32; -#X msg 63 445 20 30 30; -#X msg 99 470 src_re src_re; -#X msg 111 493 src_im src_im; -#X msg 131 517 dst dst; -#X msg 393 353 \; src_im const 0; -#X msg 384 413 \; dst const 0; +#X array src_re 100 float 0; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 10 graph; #N canvas 0 0 450 300 graph1 0; -#X array src 100 float 1; -#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 -18 graph; -#X msg 169 162 \; spec_real const 0 \; spec_imag const 0 \; dst const -0; -#X obj 38 43 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X array dst_re 100 float 0; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 239 graph; +#X obj 24 47 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 38 93 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 24 122 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 62 371 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #N canvas 0 0 450 300 graph1 0; -#X array mul 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 394 graph; -#X obj 128 301 tab_const mul; -#X msg 128 281 0 64 \$1; -#X obj 128 260 /; -#X msg 128 239 1 64; -#X msg 53 305 0 0 0 64; -#N canvas 0 0 450 300 graph1 0; -#X array dst2 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 497 graph; -#X obj 53 326 tab_mul dst mul dst2; -#N canvas 98 77 889 550 fft_ifft~ 0; -#N canvas 0 0 450 300 graph1 0; -#X array src9 100 float 1; -#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0; -#X coords 0 1 99 -1 300 100 1; -#X restore 505 -29 graph; -#N canvas 0 0 450 300 graph1 0; -#X array spec_real9 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 505 73 graph; -#N canvas 0 0 450 300 graph1 0; -#X array spec_imag9 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 505 176 graph; -#X obj 56 35 tabreceive~ src9; -#X obj 56 61 rfft~; -#X msg 260 29 \$1 1 1; -#X obj 260 6 t f b; -#X obj 260 -15 clip 0 31; -#X floatatom 260 -39 5 0 31 0 - - -; -#X obj 285 65 tab_const src9; -#N canvas 0 0 450 300 graph1 0; -#X array dst9 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 505 278 graph; -#X obj 47 144 rifft~; -#X obj 47 188 tabsend~ dst9; -#X obj 64 121 tabsend~ spec_real9; -#X obj 87 95 tabsend~ spec_imag9; -#X obj 47 166 /~ 64; -#X obj 25 -84 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X obj 25 -59 dsp; -#X floatatom 25 -18 5 0 0 0 - - -; -#X floatatom 38 -36 5 0 0 0 - - -; +#X array dst_im 100 float 0; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 353 graph; +#X msg 103 276 dst_re dst_re; +#X msg 118 299 dst_im dst_im; +#X msg 139 322 fftsize 64; +#X floatatom 474 22 5 0 63 0 - - -; +#X msg 546 341 \; dst_re const 0 \; dst_im const 0; +#X text 102 464 IEM KUG; +#X text 86 452 musil; +#X text 116 452 @; +#X text 122 452 iem.at; +#X text 85 474 Graz \, Austria; +#X text 37 441 (c) Thomas Musil 2000 - 2006; +#N canvas 0 0 470 320 generate_a_dirac 0; +#X msg 61 106 \$1 1 1; +#X obj 61 83 t f b; +#X obj 61 62 clip 0 63; +#X obj 61 32 inlet; +#X obj 86 142 tab_const src_re; +#X connect 0 0 4 0; +#X connect 1 0 0 0; +#X connect 1 1 4 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X restore 474 41 pd generate_a_dirac; +#X floatatom 514 22 5 -31 31 0 - - -; +#N canvas 0 0 487 411 generate_a_cos 0; +#X obj 120 18 inlet; +#X obj 219 176 t f f; +#X obj 219 211 / 32; +#X obj 219 232 * 3.14159; +#X obj 219 283 cos; +#X obj 219 257 * 8; +#X obj 219 106 clip 0 31; +#X obj 219 127 t b f; +#X obj 219 153 for++ 0 63; +#X obj 219 331 tabwrite src_re; +#X obj 120 43 moses 0; +#X obj 39 178 t f f; +#X obj 39 213 / 32; +#X obj 39 234 * 3.14159; +#X obj 39 285 cos; +#X obj 39 259 * 8; +#X obj 39 108 clip 0 31; +#X obj 39 129 t b f; +#X obj 39 155 for++ 0 63; +#X obj 39 333 tabwrite src_re; +#X obj 90 70 * -1; +#X obj 39 310 * -1; +#X connect 0 0 10 0; +#X connect 1 0 2 0; +#X connect 1 1 9 1; +#X connect 2 0 3 0; +#X connect 3 0 5 0; +#X connect 4 0 9 0; +#X connect 5 0 4 0; +#X connect 6 0 7 0; +#X connect 7 0 8 0; +#X connect 7 1 5 1; +#X connect 8 0 1 0; +#X connect 10 0 20 0; +#X connect 10 1 6 0; +#X connect 11 0 12 0; +#X connect 11 1 19 1; +#X connect 12 0 13 0; +#X connect 13 0 15 0; +#X connect 14 0 21 0; +#X connect 15 0 14 0; +#X connect 16 0 17 0; +#X connect 17 0 18 0; +#X connect 17 1 15 1; +#X connect 18 0 11 0; +#X connect 20 0 16 0; +#X connect 21 0 19 0; +#X restore 514 61 pd generate_a_cos; +#X floatatom 555 22 5 -31 31 0 - - -; +#N canvas 0 0 487 411 generate_a_sin 0; +#X obj 102 37 inlet; +#X obj 246 182 t f f; +#X obj 246 217 / 32; +#X obj 246 238 * 3.14159; +#X obj 246 263 * 8; +#X obj 246 112 clip 0 31; +#X obj 246 133 t b f; +#X obj 246 159 for++ 0 63; +#X obj 246 337 tabwrite src_re; +#X obj 246 289 sin; +#X obj 54 180 t f f; +#X obj 54 215 / 32; +#X obj 54 236 * 3.14159; +#X obj 54 261 * 8; +#X obj 54 110 clip 0 31; +#X obj 54 131 t b f; +#X obj 54 157 for++ 0 63; +#X obj 54 335 tabwrite src_re; +#X obj 54 287 sin; +#X obj 102 60 moses 0; +#X obj 54 88 * -1; +#X obj 54 312 * -1; +#X connect 0 0 19 0; +#X connect 1 0 2 0; +#X connect 1 1 8 1; +#X connect 2 0 3 0; #X connect 3 0 4 0; -#X connect 4 0 11 0; -#X connect 4 0 13 0; -#X connect 4 1 11 1; -#X connect 4 1 14 0; -#X connect 5 0 9 0; -#X connect 6 0 5 0; -#X connect 6 1 9 0; -#X connect 7 0 6 0; -#X connect 8 0 7 0; -#X connect 11 0 15 0; -#X connect 15 0 12 0; +#X connect 4 0 9 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 6 1 4 1; +#X connect 7 0 1 0; +#X connect 9 0 8 0; +#X connect 10 0 11 0; +#X connect 10 1 17 1; +#X connect 11 0 12 0; +#X connect 12 0 13 0; +#X connect 13 0 18 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 15 1 13 1; +#X connect 16 0 10 0; +#X connect 18 0 21 0; +#X connect 19 0 20 0; +#X connect 19 1 5 0; +#X connect 20 0 14 0; +#X connect 21 0 17 0; +#X restore 555 82 pd generate_a_sin; +#X text 309 355 initial arguments:; +#X text 37 147 list of 4 floats:; +#X text 49 178 3.) dst_re-onset; +#X text 49 188 4.) dst_im-onset; +#X text 49 158 1.) src_re-onset; +#X text 49 168 2.) src_im-onset; +#X msg 62 207 20 20 30 30; +#X text 269 402 4.arg: imag_destination-name; +#X text 269 390 3.arg: real_destination-name; +#X text 269 379 2.arg: imag_source-name; +#X text 269 368 1.arg: real_source-name; +#X text 269 414 5.arg: fftsize; +#N canvas 0 0 450 300 graph1 0; +#X array src_im 100 float 0; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 124 graph; +#X msg 76 230 src_re src_re; +#X msg 90 253 src_im src_im; +#X msg 546 283 \; src_re const 0 \; src_im const 0; +#X floatatom 474 132 5 0 63 0 - - -; +#N canvas 0 0 470 320 generate_a_dirac 0; +#X msg 61 106 \$1 1 1; +#X obj 61 83 t f b; +#X obj 61 62 clip 0 63; +#X obj 61 32 inlet; +#X obj 86 142 tab_const src_im; +#X connect 0 0 4 0; +#X connect 1 0 0 0; +#X connect 1 1 4 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X restore 474 151 pd generate_a_dirac; +#X floatatom 514 132 5 -31 31 0 - - -; +#N canvas 0 0 487 411 generate_a_cos 0; +#X obj 120 18 inlet; +#X obj 219 176 t f f; +#X obj 219 211 / 32; +#X obj 219 232 * 3.14159; +#X obj 219 283 cos; +#X obj 219 257 * 8; +#X obj 219 106 clip 0 31; +#X obj 219 127 t b f; +#X obj 219 153 for++ 0 63; +#X obj 120 43 moses 0; +#X obj 39 178 t f f; +#X obj 39 213 / 32; +#X obj 39 234 * 3.14159; +#X obj 39 285 cos; +#X obj 39 259 * 8; +#X obj 39 108 clip 0 31; +#X obj 39 129 t b f; +#X obj 39 155 for++ 0 63; +#X obj 90 70 * -1; +#X obj 40 334 tabwrite src_im; +#X obj 220 331 tabwrite src_im; +#X obj 39 310 * -1; +#X connect 0 0 9 0; +#X connect 1 0 2 0; +#X connect 1 1 20 1; +#X connect 2 0 3 0; +#X connect 3 0 5 0; +#X connect 4 0 20 0; +#X connect 5 0 4 0; +#X connect 6 0 7 0; +#X connect 7 0 8 0; +#X connect 7 1 5 1; +#X connect 8 0 1 0; +#X connect 9 0 18 0; +#X connect 9 1 6 0; +#X connect 10 0 11 0; +#X connect 10 1 19 1; +#X connect 11 0 12 0; +#X connect 12 0 14 0; +#X connect 13 0 21 0; +#X connect 14 0 13 0; +#X connect 15 0 16 0; #X connect 16 0 17 0; +#X connect 16 1 14 1; +#X connect 17 0 10 0; +#X connect 18 0 15 0; +#X connect 21 0 19 0; +#X restore 514 171 pd generate_a_cos; +#X floatatom 555 132 5 -31 31 0 - - -; +#N canvas 0 0 491 415 generate_a_sin 0; +#X obj 102 37 inlet; +#X obj 246 182 t f f; +#X obj 246 217 / 32; +#X obj 246 238 * 3.14159; +#X obj 246 263 * 8; +#X obj 246 112 clip 0 31; +#X obj 246 133 t b f; +#X obj 246 159 for++ 0 63; +#X obj 246 289 sin; +#X obj 54 180 t f f; +#X obj 54 215 / 32; +#X obj 54 236 * 3.14159; +#X obj 54 261 * 8; +#X obj 54 110 clip 0 31; +#X obj 54 131 t b f; +#X obj 54 157 for++ 0 63; +#X obj 54 287 sin; +#X obj 102 60 moses 0; +#X obj 54 88 * -1; +#X obj 246 337 tabwrite src_im; +#X obj 54 336 tabwrite src_im; +#X obj 54 312 * -1; +#X connect 0 0 17 0; +#X connect 1 0 2 0; +#X connect 1 1 19 1; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 8 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 6 1 4 1; +#X connect 7 0 1 0; +#X connect 8 0 19 0; +#X connect 9 0 10 0; +#X connect 9 1 20 1; +#X connect 10 0 11 0; +#X connect 11 0 12 0; +#X connect 12 0 16 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 14 1 12 1; +#X connect 15 0 9 0; +#X connect 16 0 21 0; #X connect 17 0 18 0; -#X connect 17 1 19 0; -#X restore 293 433 pd fft_ifft~; -#X obj 38 65 tab_fft src dummy1 spec_real spec_imag 64; -#X obj 381 -5 table dummy1 100; -#X obj 380 16 table dummy2 100; -#X obj 38 137 tab_ifft spec_real spec_imag dst dummy2 64; -#X obj 62 560 tab_fft src_re src_im dst dummy2 64; -#X connect 2 0 49 0; -#X connect 19 0 50 0; -#X connect 20 0 11 0; +#X connect 17 1 5 0; +#X connect 18 0 13 0; #X connect 21 0 20 0; -#X connect 21 1 11 0; -#X connect 22 0 21 0; -#X connect 23 0 22 0; -#X connect 25 0 24 0; -#X connect 26 0 25 0; -#X connect 27 0 50 0; -#X connect 28 0 50 0; -#X connect 29 0 50 0; -#X connect 30 0 50 0; -#X connect 35 0 46 0; -#X connect 39 0 38 0; -#X connect 40 0 39 0; -#X connect 41 0 40 0; -#X connect 42 0 44 0; -#X connect 46 0 36 0; -#X connect 49 0 3 0; -#X connect 50 0 4 0; +#X restore 555 192 pd generate_a_sin; +#X text 10 0 tab_ifft; +#X text 93 -1 complex inverse FTT with arrays; +#X text 45 56 calculates a complex inverse fourier transformation +of complex src-arrays to complex dst-arrays; +#X obj 24 94 tab_ifft src_re src_im dst_re dst_im 64; +#X obj 62 348 tab_ifft src_re src_im dst_re dst_im 64; +#X connect 2 0 47 0; +#X connect 6 0 48 0; +#X connect 7 0 48 0; +#X connect 8 0 48 0; +#X connect 9 0 17 0; +#X connect 18 0 19 0; +#X connect 20 0 21 0; +#X connect 28 0 48 0; +#X connect 35 0 48 0; +#X connect 36 0 48 0; +#X connect 38 0 39 0; +#X connect 40 0 41 0; +#X connect 42 0 43 0; +#X connect 47 0 3 0; +#X connect 48 0 4 0; diff --git a/help/tab_le-help.pd b/help/tab_le-help.pd index 4945cd6..76e68ee 100644 --- a/help/tab_le-help.pd +++ b/help/tab_le-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 851 556 10; +#N canvas 116 92 863 568 10; #N canvas 0 0 450 300 graph1 0; #X array src1 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -8,13 +8,11 @@ -0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 -0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +0.485715 0.485715 0.485715 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.485715 0.471429 0.457144 0.442858 0.442858 0.428572 0.414286 +0.385715 0.357143 0.342858 0.314286 0.285715 0.242857 0.185714 0.142857 +0.114286 0.085714; #X coords 0 1 99 -1 200 140 1; #X restore 534 10 graph; #N canvas 0 0 450 300 graph1 0; @@ -25,10 +23,9 @@ -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 340 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 57 173 dst-onset; -#X msg 286 234 dst dst; +#X msg 255 276 dst dst; #N canvas 0 0 450 300 graph1 0; #X array src2 100 float 1; #A 0 0.557135 0.57142 0.557135 0.528564 0.499992 0.428564 0.357136 @@ -36,35 +33,48 @@ -0.357145 -0.385716 -0.400001 -0.400001 -0.385716 -0.385716 -0.37143 -0.364287 -0.357145 -0.328573 -0.300002 -0.271431 -0.24286 -0.214288 -0.14286 -0.085718 -0.0428611 -4.28595e-006 0.0428526 0.099995 0.171423 -0.21428 0.257137 0.328565 0.371422 0.428564 0.457135 0.485707 0.499992 -0.514278 0.499992 0.471421 0.44285 0.414279 0.357136 0.285708 0.171423 -0.0999952 0.0142815 -0.100003 -0.214288 -0.314288 -0.385716 -0.457144 --0.471429 -0.514286 -0.500001 -0.47143 -0.442858 -0.414287 -0.37143 --0.300002 -0.228574 -0.157146 -0.0714324 0.0571381 0.128566 0.199994 -0.271422 0.34285 0.414278 0.457135 0.485707 0.499992 0.528563 0.542849 -0.499992 0.457135 0.428564 0.371422 0.314279 0.242851 0.0857095 -0.0857178 --0.271431 -0.400001 -0.514286 -0.542858 -0.557143 -0.585714 -0.585714 --0.6 -0.6 -0.614286 -0.614286 -0.614286; +0.21428 0.257137 0.328565 0.371422 0.442849 0.457135 0.471421 0.471421 +0.485706 0.485706 0.485706 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.485714 0.471429 0.457135 0.428564 0.371422 +0.314279 0.242851 0.0857095 -0.0857178 -0.271431 -0.400001 -0.514286 +-0.542858 -0.557143 -0.585714 -0.585714 -0.6 -0.6 -0.614286 -0.614286 +-0.614286; #X coords 0 1 99 -1 200 140 1; #X restore 535 161 graph; -#X msg 142 217 src1 src1; -#X msg 218 223 src2 src2; +#X msg 136 233 src1 src1; +#X msg 195 255 src2 src2; #X msg 59 211 50 50 20 50; #X text 45 139 list of 4 floats:; -#X text 57 153 src1-onset; -#X text 56 163 src2-onset; -#X text 212 333 3.arg: destination-name; -#X text 211 306 1.arg: source1-name; -#X text 211 319 2.arg: source2-name; -#X text 58 182 n samples to compare; -#X text 97 26 compare "less equal" 2 src-arrays to dst-array -with the minimum-size of arrays; +#X text 212 353 3.arg: destination-name; +#X text 78 435 IEM KUG; +#X text 62 423 musil; +#X text 92 423 @; +#X text 98 423 iem.at; +#X text 61 445 Graz \, Austria; +#X text 13 412 (c) Thomas Musil 2000 - 2006; +#X text 234 312 initial arguments:; +#X text 72 319 output; +#X text 306 275 xxx : change destination name; +#X text 208 86 the minimum of the 3 array lengths); +#X text 56 177 3.) dst onset; +#X text 56 155 1.) src_1 onset; +#X text 56 166 2.) src_2 onset; +#X text 199 233 xxx : change source name 1; +#X text 257 255 xxx : change source name 2; +#X text 211 326 1.arg: source-name 1; +#X text 211 339 2.arg: source-name 2; +#X text 195 72 (the number of samples which were compared are:; +#X text 56 187 4.) n samples to compare; +#X text 12 3 tab_le; #X obj 61 78 tab_le src1 src2 dst; -#X obj 59 271 tab_le src1 src2 dst; -#X connect 2 0 19 0; -#X connect 6 0 20 0; -#X connect 8 0 20 0; -#X connect 9 0 20 0; -#X connect 10 0 20 0; -#X connect 19 0 3 0; -#X connect 20 0 4 0; +#X obj 59 301 tab_le src1 src2 dst; +#X text 90 29 compare "less than or equal to" the 2 src-arrays +to dst-array; +#X connect 2 0 32 0; +#X connect 5 0 33 0; +#X connect 7 0 33 0; +#X connect 8 0 33 0; +#X connect 9 0 33 0; +#X connect 32 0 3 0; +#X connect 33 0 4 0; diff --git a/help/tab_le_scalar-help.pd b/help/tab_le_scalar-help.pd index 1b5a0a5..57835c2 100644 --- a/help/tab_le_scalar-help.pd +++ b/help/tab_le_scalar-help.pd @@ -1,50 +1,62 @@ -#N canvas 75 200 868 572 10; +#N canvas 22 55 884 588 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; -#A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 --0.0428573 0.128572 0.228572 0.285715 0.328572 0.400001 0.414287 0.457144 -0.457144 0.442858 0.385715 0.314287 0.257144 0.214286 0.1 0.0428572 --0.0142858 -0.0428573 -0.114286 -0.142858 -0.200001 -0.242858 -0.285715 --0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 --0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 -0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +#A 0 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.485714 -0.457143 +-0.4 -0.285713 -0.0571409 0.157146 0.328575 0.442861 0.557148 0.628577 +0.714292 0.800006 0.85715 0.885721 0.885721 0.871435 0.842864 0.757149 +0.557148 0.41429 0.257146 -0.0142835 -0.314285 -0.528572 -0.714287 +-0.757145 -0.757145 -0.757145 -0.742859 -0.742859 -0.728573 -0.714287 +-0.685715 -0.657144 -0.585715 -0.528572 -0.4 -0.242856 -0.0428551 0.157146 +0.342861 0.51429 0.728577 0.800006 0.828578 0.828578 0.828578 0.828578 +0.800006 0.771435 0.714292 0.571433 0.41429 0.242861 0.0857169 -0.0571409 +-0.242856 -0.385714 -0.542858 -0.685716 -0.757145 -0.800002 -0.828574 +-0.828574 -0.814288 -0.800002 -0.785716 -0.757145 -0.728573 -0.67143 +-0.585715 -0.471429 -0.271428 -0.0857125 0.114288 0.228575 0.314289 +0.385718 0.414285 0.428571 0.457143 0.471428 0.485714 0.485714 0.5 +0.5 0.5 0.5 0.5 0.5 0.5; #X coords 0 1 99 -1 200 140 1; -#X restore 527 176 graph; +#X restore 527 116 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; #X restore 527 325 graph; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 370 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 45 185 dst-onset; -#X text 211 306 1.arg: source-name; -#X msg 255 235 dst dst; -#X text 33 161 list of 4 floats:; -#X msg 159 229 src src; -#X text 45 175 src-onset; -#X text 211 319 2.arg: destination-name; -#X msg 47 36 0.3; -#X msg 82 37 -0.3; -#X msg 48 228 0 0 100 0.3; -#X text 46 195 n samples to compare; +#X msg 178 272 dst dst; +#X msg 129 249 src src; +#X msg 47 36 0.5; +#X msg 82 37 -0.5; +#X text 201 332 1.arg: source-name; +#X text 201 345 2.arg: destination-name; +#X text 31 163 list of 4 floats:; +#X text 78 475 IEM KUG; +#X text 62 463 musil; +#X text 92 463 @; +#X text 98 463 iem.at; +#X text 61 485 Graz \, Austria; +#X text 13 452 (c) Thomas Musil 2000 - 2006; +#X text 224 318 initial arguments:; +#X text 75 351 output; +#X text 229 272 xxx : change destination name; +#X text 218 86 the minimum of both array lengths); +#X text 182 248 xxx : change source name; +#X text 42 179 1.) src onset; +#X text 42 190 2.) dst onset; +#X text 42 201 3.) n samples to compare; +#X text 42 210 4.) compared scalar value; +#X text 205 72 (the number of samples which were compared are:; +#X msg 48 228 0 0 100 0.5; +#X text 12 3 tab_le_scalar; +#X text 129 29 compare "less than or equal to" the src-array +with this scalar to dst-array; #X obj 61 78 tab_le_scalar src dst; -#X obj 59 271 tab_le_scalar src dst; -#X text 45 206 compare "less equal"-scalar; -#X text 164 29 compare "less equal" the src-array with this -scalar to dst-array with the minimum-size of arrays; -#X connect 6 0 16 0; -#X connect 8 0 16 0; -#X connect 11 0 15 0; -#X connect 12 0 15 0; -#X connect 13 0 16 0; -#X connect 15 0 2 0; -#X connect 16 0 3 0; +#X obj 59 331 tab_le_scalar src dst; +#X connect 4 0 31 0; +#X connect 5 0 31 0; +#X connect 6 0 30 0; +#X connect 7 0 30 0; +#X connect 27 0 31 0; +#X connect 30 0 2 0; +#X connect 31 0 3 0; diff --git a/help/tab_lt-help.pd b/help/tab_lt-help.pd index 9b36f9c..0c4adc0 100644 --- a/help/tab_lt-help.pd +++ b/help/tab_lt-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 855 560 10; +#N canvas 116 92 859 564 10; #N canvas 0 0 450 300 graph1 0; #X array src1 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -8,13 +8,11 @@ -0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 -0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +0.485715 0.485715 0.485715 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.485715 0.471429 0.457144 0.442858 0.442858 0.428572 0.414286 +0.385715 0.357143 0.342858 0.314286 0.285715 0.242857 0.185714 0.142857 +0.114286 0.085714; #X coords 0 1 99 -1 200 140 1; #X restore 534 10 graph; #N canvas 0 0 450 300 graph1 0; @@ -25,10 +23,9 @@ -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 340 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 57 173 dst-onset; -#X msg 286 234 dst dst; +#X msg 255 276 dst dst; #N canvas 0 0 450 300 graph1 0; #X array src2 100 float 1; #A 0 0.557135 0.57142 0.557135 0.528564 0.499992 0.428564 0.357136 @@ -36,35 +33,48 @@ -0.357145 -0.385716 -0.400001 -0.400001 -0.385716 -0.385716 -0.37143 -0.364287 -0.357145 -0.328573 -0.300002 -0.271431 -0.24286 -0.214288 -0.14286 -0.085718 -0.0428611 -4.28595e-006 0.0428526 0.099995 0.171423 -0.21428 0.257137 0.328565 0.371422 0.428564 0.457135 0.485707 0.499992 -0.514278 0.499992 0.471421 0.44285 0.414279 0.357136 0.285708 0.171423 -0.0999952 0.0142815 -0.100003 -0.214288 -0.314288 -0.385716 -0.457144 --0.471429 -0.514286 -0.500001 -0.47143 -0.442858 -0.414287 -0.37143 --0.300002 -0.228574 -0.157146 -0.0714324 0.0571381 0.128566 0.199994 -0.271422 0.34285 0.414278 0.457135 0.485707 0.499992 0.528563 0.542849 -0.499992 0.457135 0.428564 0.371422 0.314279 0.242851 0.0857095 -0.0857178 --0.271431 -0.400001 -0.514286 -0.542858 -0.557143 -0.585714 -0.585714 --0.6 -0.6 -0.614286 -0.614286 -0.614286; +0.21428 0.257137 0.328565 0.371422 0.442849 0.457135 0.471421 0.471421 +0.485706 0.485706 0.485706 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.485714 0.471429 0.457135 0.428564 0.371422 +0.314279 0.242851 0.0857095 -0.0857178 -0.271431 -0.400001 -0.514286 +-0.542858 -0.557143 -0.585714 -0.585714 -0.6 -0.6 -0.614286 -0.614286 +-0.614286; #X coords 0 1 99 -1 200 140 1; #X restore 535 161 graph; -#X msg 142 217 src1 src1; -#X msg 218 223 src2 src2; +#X msg 136 233 src1 src1; +#X msg 195 255 src2 src2; #X msg 59 211 50 50 20 50; #X text 45 139 list of 4 floats:; -#X text 57 153 src1-onset; -#X text 56 163 src2-onset; -#X text 212 333 3.arg: destination-name; -#X text 211 306 1.arg: source1-name; -#X text 211 319 2.arg: source2-name; -#X text 58 182 n samples to compare; +#X text 212 353 3.arg: destination-name; +#X text 78 435 IEM KUG; +#X text 62 423 musil; +#X text 92 423 @; +#X text 98 423 iem.at; +#X text 61 445 Graz \, Austria; +#X text 13 412 (c) Thomas Musil 2000 - 2006; +#X text 234 312 initial arguments:; +#X text 72 319 output; +#X text 306 275 xxx : change destination name; +#X text 208 86 the minimum of the 3 array lengths); +#X text 56 177 3.) dst onset; +#X text 56 155 1.) src_1 onset; +#X text 56 166 2.) src_2 onset; +#X text 199 233 xxx : change source name 1; +#X text 257 255 xxx : change source name 2; +#X text 211 326 1.arg: source-name 1; +#X text 211 339 2.arg: source-name 2; +#X text 195 72 (the number of samples which were compared are:; +#X text 56 187 4.) n samples to compare; +#X text 12 3 tab_lt; +#X text 90 29 compare less than" the 2 src-arrays to dst-array +; #X obj 61 78 tab_lt src1 src2 dst; -#X obj 59 271 tab_lt src1 src2 dst; -#X text 97 26 compare "less than" 2 src-arrays to dst-array -with the minimum-size of arrays; -#X connect 2 0 18 0; -#X connect 6 0 19 0; -#X connect 8 0 19 0; -#X connect 9 0 19 0; -#X connect 10 0 19 0; -#X connect 18 0 3 0; -#X connect 19 0 4 0; +#X obj 59 301 tab_lt src1 src2 dst; +#X connect 2 0 33 0; +#X connect 5 0 34 0; +#X connect 7 0 34 0; +#X connect 8 0 34 0; +#X connect 9 0 34 0; +#X connect 33 0 3 0; +#X connect 34 0 4 0; diff --git a/help/tab_lt_scalar-help.pd b/help/tab_lt_scalar-help.pd index fccbf2b..5c7fac6 100644 --- a/help/tab_lt_scalar-help.pd +++ b/help/tab_lt_scalar-help.pd @@ -1,50 +1,62 @@ -#N canvas 75 200 868 572 10; +#N canvas 22 55 884 588 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; -#A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 --0.0428573 0.128572 0.228572 0.285715 0.328572 0.400001 0.414287 0.457144 -0.457144 0.442858 0.385715 0.314287 0.257144 0.214286 0.1 0.0428572 --0.0142858 -0.0428573 -0.114286 -0.142858 -0.200001 -0.242858 -0.285715 --0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 --0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 -0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +#A 0 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.485714 -0.457143 +-0.4 -0.285713 -0.0571409 0.157146 0.328575 0.442861 0.557148 0.628577 +0.714292 0.800006 0.85715 0.885721 0.885721 0.871435 0.842864 0.757149 +0.557148 0.41429 0.257146 -0.0142835 -0.314285 -0.528572 -0.714287 +-0.757145 -0.757145 -0.757145 -0.742859 -0.742859 -0.728573 -0.714287 +-0.685715 -0.657144 -0.585715 -0.528572 -0.4 -0.242856 -0.0428551 0.157146 +0.342861 0.51429 0.728577 0.800006 0.828578 0.828578 0.828578 0.828578 +0.800006 0.771435 0.714292 0.571433 0.41429 0.242861 0.0857169 -0.0571409 +-0.242856 -0.385714 -0.542858 -0.685716 -0.757145 -0.800002 -0.828574 +-0.828574 -0.814288 -0.800002 -0.785716 -0.757145 -0.728573 -0.67143 +-0.585715 -0.471429 -0.271428 -0.0857125 0.114288 0.228575 0.314289 +0.385718 0.414285 0.428571 0.457143 0.471428 0.485714 0.485714 0.5 +0.5 0.5 0.5 0.5 0.5 0.5; #X coords 0 1 99 -1 200 140 1; -#X restore 527 176 graph; +#X restore 527 116 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; #X restore 527 325 graph; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 370 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 45 185 dst-onset; -#X text 211 306 1.arg: source-name; -#X msg 255 235 dst dst; -#X text 33 161 list of 4 floats:; -#X msg 159 229 src src; -#X text 45 175 src-onset; -#X text 211 319 2.arg: destination-name; -#X msg 47 36 0.3; -#X msg 82 37 -0.3; -#X msg 48 228 0 0 100 0.3; -#X text 46 195 n samples to compare; +#X msg 178 272 dst dst; +#X msg 129 249 src src; +#X msg 47 36 0.5; +#X msg 82 37 -0.5; +#X text 201 332 1.arg: source-name; +#X text 201 345 2.arg: destination-name; +#X text 31 163 list of 4 floats:; +#X text 78 475 IEM KUG; +#X text 62 463 musil; +#X text 92 463 @; +#X text 98 463 iem.at; +#X text 61 485 Graz \, Austria; +#X text 13 452 (c) Thomas Musil 2000 - 2006; +#X text 224 318 initial arguments:; +#X text 75 351 output; +#X text 229 272 xxx : change destination name; +#X text 218 86 the minimum of both array lengths); +#X text 182 248 xxx : change source name; +#X text 42 179 1.) src onset; +#X text 42 190 2.) dst onset; +#X text 42 201 3.) n samples to compare; +#X text 42 210 4.) compared scalar value; +#X text 205 72 (the number of samples which were compared are:; +#X text 12 3 tab_lt_scalar; +#X text 129 29 compare "less than" the src-array with this +scalar to dst-array; +#X obj 59 331 tab_lt_scalar src dst; +#X msg 48 228 0 0 100 0.5; #X obj 61 78 tab_lt_scalar src dst; -#X obj 59 271 tab_lt_scalar src dst; -#X text 45 206 compare "less than"-scalar; -#X text 164 29 compare "less than" the src-array with this -scalar to dst-array with the minimum-size of arrays; -#X connect 6 0 16 0; -#X connect 8 0 16 0; -#X connect 11 0 15 0; -#X connect 12 0 15 0; -#X connect 13 0 16 0; -#X connect 15 0 2 0; -#X connect 16 0 3 0; +#X connect 4 0 29 0; +#X connect 5 0 29 0; +#X connect 6 0 31 0; +#X connect 7 0 31 0; +#X connect 29 0 3 0; +#X connect 30 0 29 0; +#X connect 31 0 2 0; diff --git a/help/tab_max_index-help.pd b/help/tab_max_index-help.pd index 6a80e8a..261d52c 100644 --- a/help/tab_max_index-help.pd +++ b/help/tab_max_index-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 780 407 10; +#N canvas 118 94 788 440 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -16,37 +16,47 @@ 0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 0.357144 0.357144 0.342858 0.328572; #X coords 0 1 99 -1 200 140 1; -#X restore 534 10 graph; +#X restore 529 24 graph; #X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 59 294 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 56 165 src-onset; -#X text 269 299 1.arg: source-name; -#X msg 137 212 src src; +#X text 205 270 1.arg: source-name; +#X msg 101 213 src src; #X floatatom 109 103 5 0 0 0 - - -; #X floatatom 158 104 5 0 0 0 - - -; #X text 166 118 max; -#X floatatom 116 292 5 0 0 0 - - -; -#X floatatom 174 291 5 0 0 0 - - -; -#X text 183 308 max; -#X msg 59 211 35 50; -#X text 164 39 to the end of array; -#X text 44 154 list of 2 floats:; +#X floatatom 107 320 5 0 0 0 - - -; +#X floatatom 156 336 5 0 0 0 - - -; +#X msg 59 193 35 50; #X obj 61 78 tab_max_index src; #X text 97 117 max_index; -#X text 104 307 max_index; -#X text 90 29 calculate max. and max_index from zero-onset; -#X text 58 175 n samples to calc. max. and max_index; #X obj 59 262 tab_max_index src; -#X connect 1 0 16 0; -#X connect 6 0 21 0; -#X connect 13 0 21 0; -#X connect 16 0 2 0; -#X connect 16 1 7 0; -#X connect 16 2 8 0; -#X connect 21 0 3 0; -#X connect 21 1 10 0; -#X connect 21 2 11 0; +#X text 75 384 IEM KUG; +#X text 59 372 musil; +#X text 89 372 @; +#X text 95 372 iem.at; +#X text 58 394 Graz \, Austria; +#X text 10 361 (c) Thomas Musil 2000 - 2006; +#X text 229 258 initial arguments:; +#X text 65 280 output; +#X text 152 213 xxx : change source name; +#X text 11 6 tab_max_index; +#X text 43 150 list of 2 floats:; +#X text 55 160 1.) src onset; +#X text 55 171 2.) n samples to calculate maximum; +#X text 163 319 maximum value output; +#X text 115 301 maximum index output; +#X text 85 29 calculate maximum element and its index of array +; +#X connect 1 0 12 0; +#X connect 5 0 14 0; +#X connect 11 0 14 0; +#X connect 12 0 2 0; +#X connect 12 1 6 0; +#X connect 12 2 7 0; +#X connect 14 0 3 0; +#X connect 14 1 9 0; +#X connect 14 2 10 0; diff --git a/help/tab_min_index-help.pd b/help/tab_min_index-help.pd index 9614499..edca665 100644 --- a/help/tab_min_index-help.pd +++ b/help/tab_min_index-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 782 409 10; +#N canvas 116 92 784 436 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -16,37 +16,47 @@ 0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 0.357144 0.357144 0.342858 0.328572; #X coords 0 1 99 -1 200 140 1; -#X restore 534 10 graph; +#X restore 529 24 graph; #X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 59 294 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 56 165 src-onset; -#X text 269 299 1.arg: source-name; -#X msg 137 212 src src; +#X text 205 270 1.arg: source-name; +#X msg 101 213 src src; #X floatatom 109 103 5 0 0 0 - - -; #X floatatom 158 104 5 0 0 0 - - -; -#X floatatom 116 292 5 0 0 0 - - -; -#X floatatom 174 291 5 0 0 0 - - -; -#X msg 59 211 35 50; -#X text 164 39 to the end of array; -#X text 44 154 list of 2 floats:; -#X text 90 29 calculate min. and min_index from zero-onset; +#X floatatom 107 320 5 0 0 0 - - -; +#X floatatom 156 336 5 0 0 0 - - -; +#X msg 59 193 35 50; +#X text 75 384 IEM KUG; +#X text 59 372 musil; +#X text 89 372 @; +#X text 95 372 iem.at; +#X text 58 394 Graz \, Austria; +#X text 10 361 (c) Thomas Musil 2000 - 2006; +#X text 229 258 initial arguments:; +#X text 65 280 output; +#X text 152 213 xxx : change source name; +#X text 43 150 list of 2 floats:; +#X text 55 160 1.) src onset; +#X text 11 6 tab_min_index; #X obj 61 78 tab_min_index src; #X obj 59 262 tab_min_index src; -#X text 58 175 n samples to calc. min. and min_index; -#X text 97 117 min_index; +#X text 55 171 2.) n samples to calculate minimum; +#X text 115 301 minimum index output; +#X text 163 319 minimum value output; #X text 166 118 min; -#X text 183 308 min; -#X text 104 307 min_index; -#X connect 1 0 15 0; -#X connect 6 0 16 0; -#X connect 11 0 16 0; -#X connect 15 0 2 0; -#X connect 15 1 7 0; -#X connect 15 2 8 0; -#X connect 16 0 3 0; -#X connect 16 1 9 0; -#X connect 16 2 10 0; +#X text 97 117 min_index; +#X text 85 29 calculate minimum element and its index of array +; +#X connect 1 0 23 0; +#X connect 5 0 24 0; +#X connect 10 0 24 0; +#X connect 23 0 2 0; +#X connect 23 1 6 0; +#X connect 23 2 7 0; +#X connect 24 0 3 0; +#X connect 24 1 8 0; +#X connect 24 2 9 0; diff --git a/help/tab_min_max-help.pd b/help/tab_min_max-help.pd index e71fc15..75d49e0 100644 --- a/help/tab_min_max-help.pd +++ b/help/tab_min_max-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 778 405 10; +#N canvas 82 83 782 436 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -16,37 +16,47 @@ 0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 0.357144 0.357144 0.342858 0.328572; #X coords 0 1 99 -1 200 140 1; -#X restore 534 10 graph; -#X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X restore 534 20 graph; +#X obj 61 34 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 61 109 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 294 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 297 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 56 165 src-onset; -#X text 269 299 1.arg: source-name; -#X msg 183 222 src src; -#X obj 61 78 tab_min_max src; -#X floatatom 103 101 5 0 0 0 - - -; -#X floatatom 146 100 5 0 0 0 - - -; -#X text 110 115 min; -#X text 155 117 max; -#X floatatom 110 295 5 0 0 0 - - -; -#X floatatom 162 294 5 0 0 0 - - -; -#X text 117 309 min; -#X text 171 311 max; -#X msg 59 211 35 50; -#X text 90 29 calculate min. and max. from zero-onset; -#X text 164 39 to the end of array; -#X text 44 154 list of 2 floats:; -#X text 58 175 n samples to calc. min. and max.; -#X obj 59 262 tab_min_max src; -#X connect 1 0 7 0; -#X connect 6 0 21 0; -#X connect 7 0 2 0; -#X connect 7 1 8 0; -#X connect 7 2 9 0; -#X connect 16 0 21 0; -#X connect 21 0 3 0; -#X connect 21 1 12 0; -#X connect 21 2 13 0; +#X text 205 273 1.arg: source-name; +#X msg 101 216 src src; +#X floatatom 103 106 5 0 0 0 - - -; +#X floatatom 146 107 5 0 0 0 - - -; +#X text 154 121 max; +#X floatatom 101 323 5 0 0 0 - - -; +#X floatatom 144 339 5 0 0 0 - - -; +#X msg 59 196 35 50; +#X text 75 387 IEM KUG; +#X text 59 375 musil; +#X text 89 375 @; +#X text 95 375 iem.at; +#X text 58 397 Graz \, Austria; +#X text 10 364 (c) Thomas Musil 2000 - 2006; +#X text 229 261 initial arguments:; +#X text 65 283 output; +#X text 152 216 xxx : change source name; +#X text 43 153 list of 2 floats:; +#X text 55 163 1.) src onset; +#X text 151 322 maximum value output; +#X text 11 9 tab_min_max; +#X text 85 32 calculate minimum and maximum element value of +array; +#X text 55 174 2.) n samples to calculate minimum and maximum; +#X text 110 120 min; +#X obj 61 81 tab_min_max src; +#X text 108 304 minimum value output; +#X obj 59 265 tab_min_max src; +#X connect 1 0 28 0; +#X connect 5 0 30 0; +#X connect 11 0 30 0; +#X connect 28 0 2 0; +#X connect 28 1 6 0; +#X connect 28 2 7 0; +#X connect 30 0 3 0; +#X connect 30 1 9 0; +#X connect 30 2 10 0; diff --git a/help/tab_mul-help.pd b/help/tab_mul-help.pd index e5a470f..ef3f5e2 100644 --- a/help/tab_mul-help.pd +++ b/help/tab_mul-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 845 550 10; +#N canvas 116 92 853 558 10; #N canvas 0 0 450 300 graph1 0; #X array src1 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -16,19 +16,18 @@ 0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 0.357144 0.357144 0.342858 0.328572; #X coords 0 1 99 -1 200 140 1; -#X restore 534 10 graph; +#X restore 534 20 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; -#X restore 535 358 graph; -#X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X restore 535 368 graph; +#X obj 61 41 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 61 116 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 350 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 57 173 dst-onset; -#X msg 286 234 dst dst; +#X msg 255 286 dst dst; #N canvas 0 0 450 300 graph1 0; #X array src2 100 float 1; #A 0 0.557135 0.57142 0.557135 0.528564 0.499992 0.428564 0.357136 @@ -46,25 +45,39 @@ -0.271431 -0.400001 -0.514286 -0.542858 -0.557143 -0.585714 -0.585714 -0.6 -0.6 -0.614286 -0.614286 -0.614286; #X coords 0 1 99 -1 200 140 1; -#X restore 535 161 graph; -#X obj 61 78 tab_mul src1 src2 dst; -#X msg 142 217 src1 src1; -#X msg 218 223 src2 src2; -#X msg 59 211 50 50 20 50; -#X text 45 139 list of 4 floats:; -#X text 57 153 src1-onset; -#X text 56 163 src2-onset; -#X text 57 183 n samples to multiply; -#X text 212 333 3.arg: destination-name; -#X text 90 29 multiply the 2 src-arrays to dst-array; -#X text 126 42 with the minimum-size of arrays; -#X obj 59 271 tab_mul src1 src2 dst; -#X text 211 306 1.arg: source1-name; -#X text 211 319 2.arg: source2-name; -#X connect 2 0 8 0; -#X connect 6 0 19 0; -#X connect 8 0 3 0; -#X connect 9 0 19 0; -#X connect 10 0 19 0; -#X connect 11 0 19 0; -#X connect 19 0 4 0; +#X restore 535 171 graph; +#X msg 136 243 src1 src1; +#X msg 195 265 src2 src2; +#X msg 59 221 50 50 20 50; +#X text 45 149 list of 4 floats:; +#X text 212 363 3.arg: destination-name; +#X text 78 445 IEM KUG; +#X text 62 433 musil; +#X text 92 433 @; +#X text 98 433 iem.at; +#X text 61 455 Graz \, Austria; +#X text 13 422 (c) Thomas Musil 2000 - 2006; +#X text 234 322 initial arguments:; +#X text 72 329 output; +#X text 306 285 xxx : change destination name; +#X text 208 96 the minimum of the 3 array lengths); +#X text 56 187 3.) dst onset; +#X text 56 165 1.) src_1 onset; +#X text 56 176 2.) src_2 onset; +#X text 199 243 xxx : change source name 1; +#X text 257 265 xxx : change source name 2; +#X text 211 336 1.arg: source-name 1; +#X text 211 349 2.arg: source-name 2; +#X text 12 13 tab_mul; +#X text 90 39 multiply the 2 src-arrays to dst-array; +#X text 195 82 (the number of samples which were multiplied are:; +#X text 56 197 4.) n samples to multiply; +#X obj 59 311 tab_mul src1 src2 dst; +#X obj 61 88 tab_mul src1 src2 dst; +#X connect 2 0 34 0; +#X connect 5 0 33 0; +#X connect 7 0 33 0; +#X connect 8 0 33 0; +#X connect 9 0 33 0; +#X connect 33 0 4 0; +#X connect 34 0 3 0; diff --git a/help/tab_mul_scalar-help.pd b/help/tab_mul_scalar-help.pd index 0c2c158..b1d48b6 100644 --- a/help/tab_mul_scalar-help.pd +++ b/help/tab_mul_scalar-help.pd @@ -1,4 +1,4 @@ -#N canvas 115 92 852 556 10; +#N canvas 115 92 856 560 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -16,36 +16,48 @@ 0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 0.357144 0.357144 0.342858 0.328572; #X coords 0 1 99 -1 200 140 1; -#X restore 527 176 graph; +#X restore 527 46 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; #X restore 527 325 graph; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 340 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 43 184 dst-onset; -#X text 211 306 1.arg: source-name; -#X msg 255 235 dst dst; -#X text 31 160 list of 4 floats:; -#X text 44 193 n samples to multiply; -#X text 165 42 with the minimum-size of arrays; -#X obj 61 78 tab_mul_scalar src dst; +#X text 211 336 1.arg: source-name; +#X msg 197 270 dst dst; #X msg 47 36 0.5; -#X msg 82 37 2; -#X msg 48 227 50 20 50 0.5; -#X msg 159 229 src src; -#X obj 59 271 tab_mul_scalar src dst; -#X text 43 174 src-onset; -#X text 43 204 mul_scalar; -#X text 122 28 multiply the src-array with this scalar to dst-array +#X msg 145 247 src src; +#X msg 82 37 -0.5; +#X msg 48 227 50 20 50 -0.8; +#X text 211 349 2.arg: destination-name; +#X text 31 163 list of 4 floats:; +#X text 78 475 IEM KUG; +#X text 62 463 musil; +#X text 92 463 @; +#X text 98 463 iem.at; +#X text 61 485 Graz \, Austria; +#X text 13 452 (c) Thomas Musil 2000 - 2006; +#X text 234 322 initial arguments:; +#X text 71 322 output; +#X text 250 271 xxx : change destination name; +#X text 218 86 the minimum of both array lengths); +#X text 197 246 xxx : change source name; +#X text 42 179 1.) src onset; +#X text 42 190 2.) dst onset; +#X text 205 72 (the number of samples which were added are:; +#X text 12 3 tab_mul_scalar; +#X text 129 29 multiply the src-array with this scalar to dst-array ; -#X text 211 320 2.arg: destination-name; -#X connect 6 0 15 0; -#X connect 10 0 2 0; -#X connect 11 0 10 0; -#X connect 12 0 10 0; -#X connect 13 0 15 0; -#X connect 14 0 15 0; -#X connect 15 0 3 0; +#X obj 61 78 tab_mul_scalar src dst; +#X obj 59 301 tab_mul_scalar src dst; +#X text 42 200 3.) n samples to multiply; +#X text 42 210 4.) multiplied scalar value; +#X connect 5 0 29 0; +#X connect 6 0 28 0; +#X connect 7 0 29 0; +#X connect 8 0 28 0; +#X connect 9 0 29 0; +#X connect 28 0 2 0; +#X connect 29 0 3 0; diff --git a/help/tab_ne-help.pd b/help/tab_ne-help.pd index 1aa2434..12d2baa 100644 --- a/help/tab_ne-help.pd +++ b/help/tab_ne-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 855 560 10; +#N canvas 116 92 863 568 10; #N canvas 0 0 450 300 graph1 0; #X array src1 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -8,13 +8,11 @@ -0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 -0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +0.485715 0.485715 0.485715 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.485715 0.471429 0.457144 0.442858 0.442858 0.428572 0.414286 +0.385715 0.357143 0.342858 0.314286 0.285715 0.242857 0.185714 0.142857 +0.114286 0.085714; #X coords 0 1 99 -1 200 140 1; #X restore 534 10 graph; #N canvas 0 0 450 300 graph1 0; @@ -25,10 +23,9 @@ -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 340 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 57 173 dst-onset; -#X msg 286 234 dst dst; +#X msg 255 276 dst dst; #N canvas 0 0 450 300 graph1 0; #X array src2 100 float 1; #A 0 0.557135 0.57142 0.557135 0.528564 0.499992 0.428564 0.357136 @@ -36,35 +33,48 @@ -0.357145 -0.385716 -0.400001 -0.400001 -0.385716 -0.385716 -0.37143 -0.364287 -0.357145 -0.328573 -0.300002 -0.271431 -0.24286 -0.214288 -0.14286 -0.085718 -0.0428611 -4.28595e-006 0.0428526 0.099995 0.171423 -0.21428 0.257137 0.328565 0.371422 0.428564 0.457135 0.485707 0.499992 -0.514278 0.499992 0.471421 0.44285 0.414279 0.357136 0.285708 0.171423 -0.0999952 0.0142815 -0.100003 -0.214288 -0.314288 -0.385716 -0.457144 --0.471429 -0.514286 -0.500001 -0.47143 -0.442858 -0.414287 -0.37143 --0.300002 -0.228574 -0.157146 -0.0714324 0.0571381 0.128566 0.199994 -0.271422 0.34285 0.414278 0.457135 0.485707 0.499992 0.528563 0.542849 -0.499992 0.457135 0.428564 0.371422 0.314279 0.242851 0.0857095 -0.0857178 --0.271431 -0.400001 -0.514286 -0.542858 -0.557143 -0.585714 -0.585714 --0.6 -0.6 -0.614286 -0.614286 -0.614286; +0.21428 0.257137 0.328565 0.371422 0.442849 0.457135 0.471421 0.471421 +0.485706 0.485706 0.485706 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 0.5 +0.5 0.5 0.5 0.5 0.5 0.5 0.485714 0.471429 0.457135 0.428564 0.371422 +0.314279 0.242851 0.0857095 -0.0857178 -0.271431 -0.400001 -0.514286 +-0.542858 -0.557143 -0.585714 -0.585714 -0.6 -0.6 -0.614286 -0.614286 +-0.614286; #X coords 0 1 99 -1 200 140 1; #X restore 535 161 graph; -#X msg 142 217 src1 src1; -#X msg 218 223 src2 src2; +#X msg 136 233 src1 src1; +#X msg 195 255 src2 src2; #X msg 59 211 50 50 20 50; #X text 45 139 list of 4 floats:; -#X text 57 153 src1-onset; -#X text 56 163 src2-onset; -#X text 212 333 3.arg: destination-name; -#X text 211 306 1.arg: source1-name; -#X text 211 319 2.arg: source2-name; -#X text 58 182 n samples to compare; -#X text 97 26 compare "not equal" 2 src-arrays to dst-array -with the minimum-size of arrays; +#X text 212 353 3.arg: destination-name; +#X text 78 435 IEM KUG; +#X text 62 423 musil; +#X text 92 423 @; +#X text 98 423 iem.at; +#X text 61 445 Graz \, Austria; +#X text 13 412 (c) Thomas Musil 2000 - 2006; +#X text 234 312 initial arguments:; +#X text 72 319 output; +#X text 306 275 xxx : change destination name; +#X text 208 86 the minimum of the 3 array lengths); +#X text 56 177 3.) dst onset; +#X text 56 155 1.) src_1 onset; +#X text 56 166 2.) src_2 onset; +#X text 199 233 xxx : change source name 1; +#X text 257 255 xxx : change source name 2; +#X text 211 326 1.arg: source-name 1; +#X text 211 339 2.arg: source-name 2; +#X text 195 72 (the number of samples which were compared are:; +#X text 56 187 4.) n samples to compare; +#X text 12 3 tab_ne; +#X text 90 29 compare "not equal to" the 2 src-arrays to dst-array +; #X obj 61 78 tab_ne src1 src2 dst; -#X obj 59 271 tab_ne src1 src2 dst; -#X connect 2 0 19 0; -#X connect 6 0 20 0; -#X connect 8 0 20 0; -#X connect 9 0 20 0; -#X connect 10 0 20 0; -#X connect 19 0 3 0; -#X connect 20 0 4 0; +#X obj 59 301 tab_ne src1 src2 dst; +#X connect 2 0 33 0; +#X connect 5 0 34 0; +#X connect 7 0 34 0; +#X connect 8 0 34 0; +#X connect 9 0 34 0; +#X connect 33 0 3 0; +#X connect 34 0 4 0; diff --git a/help/tab_ne_scalar-help.pd b/help/tab_ne_scalar-help.pd index e7637bc..cc0f83a 100644 --- a/help/tab_ne_scalar-help.pd +++ b/help/tab_ne_scalar-help.pd @@ -1,50 +1,62 @@ -#N canvas 75 200 868 572 10; +#N canvas 22 55 880 584 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; -#A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 --0.0428573 0.128572 0.228572 0.285715 0.328572 0.400001 0.414287 0.457144 -0.457144 0.442858 0.385715 0.314287 0.257144 0.214286 0.1 0.0428572 --0.0142858 -0.0428573 -0.114286 -0.142858 -0.200001 -0.242858 -0.285715 --0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 --0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 -0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +#A 0 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.5 -0.485714 -0.457143 +-0.4 -0.285713 -0.0571409 0.157146 0.328575 0.442861 0.557148 0.628577 +0.714292 0.800006 0.85715 0.885721 0.885721 0.871435 0.842864 0.757149 +0.557148 0.41429 0.257146 -0.0142835 -0.314285 -0.528572 -0.714287 +-0.757145 -0.757145 -0.757145 -0.742859 -0.742859 -0.728573 -0.714287 +-0.685715 -0.657144 -0.585715 -0.528572 -0.4 -0.242856 -0.0428551 0.157146 +0.342861 0.51429 0.728577 0.800006 0.828578 0.828578 0.828578 0.828578 +0.800006 0.771435 0.714292 0.571433 0.41429 0.242861 0.0857169 -0.0571409 +-0.242856 -0.385714 -0.542858 -0.685716 -0.757145 -0.800002 -0.828574 +-0.828574 -0.814288 -0.800002 -0.785716 -0.757145 -0.728573 -0.67143 +-0.585715 -0.471429 -0.271428 -0.0857125 0.114288 0.228575 0.314289 +0.385718 0.414285 0.428571 0.457143 0.471428 0.485714 0.485714 0.5 +0.5 0.5 0.5 0.5 0.5 0.5; #X coords 0 1 99 -1 200 140 1; -#X restore 527 176 graph; +#X restore 527 116 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; #X restore 527 325 graph; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 370 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 45 185 dst-onset; -#X text 211 306 1.arg: source-name; -#X msg 255 235 dst dst; -#X text 33 161 list of 4 floats:; -#X msg 159 229 src src; -#X text 45 175 src-onset; -#X text 211 319 2.arg: destination-name; -#X msg 47 36 0.3; -#X msg 82 37 -0.3; -#X msg 48 228 0 0 100 0.3; -#X text 46 195 n samples to compare; -#X text 164 29 compare "not equal" the src-array with this -scalar to dst-array with the minimum-size of arrays; -#X text 45 206 compare "not equal"-scalar; -#X obj 59 271 tab_ne_scalar src dst; +#X msg 178 272 dst dst; +#X msg 129 249 src src; +#X msg 47 36 0.5; +#X msg 82 37 -0.5; +#X text 201 332 1.arg: source-name; +#X text 201 345 2.arg: destination-name; +#X text 31 163 list of 4 floats:; +#X text 78 475 IEM KUG; +#X text 62 463 musil; +#X text 92 463 @; +#X text 98 463 iem.at; +#X text 61 485 Graz \, Austria; +#X text 13 452 (c) Thomas Musil 2000 - 2006; +#X text 224 318 initial arguments:; +#X text 75 351 output; +#X text 229 272 xxx : change destination name; +#X text 218 86 the minimum of both array lengths); +#X text 182 248 xxx : change source name; +#X text 42 179 1.) src onset; +#X text 42 190 2.) dst onset; +#X text 42 200 3.) n samples to compare; +#X text 42 210 4.) compared scalar value; +#X text 12 3 tab_ne_scalar; +#X text 129 29 compare "not equal to" the src-array with this +scalar to dst-array; #X obj 61 78 tab_ne_scalar src dst; -#X connect 6 0 17 0; -#X connect 8 0 17 0; -#X connect 11 0 18 0; -#X connect 12 0 18 0; -#X connect 13 0 17 0; -#X connect 17 0 3 0; -#X connect 18 0 2 0; +#X text 205 72 (the number of samples which were compared are:; +#X msg 48 228 0 0 100 0.5; +#X obj 59 331 tab_ne_scalar src dst; +#X connect 4 0 31 0; +#X connect 5 0 31 0; +#X connect 6 0 28 0; +#X connect 7 0 28 0; +#X connect 28 0 2 0; +#X connect 30 0 31 0; +#X connect 31 0 3 0; diff --git a/help/tab_reverse-help.pd b/help/tab_reverse-help.pd index 5ef3985..fe125b3 100644 --- a/help/tab_reverse-help.pd +++ b/help/tab_reverse-help.pd @@ -1,50 +1,61 @@ -#N canvas 116 92 778 405 10; +#N canvas 96 21 782 474 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; -#A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 --0.0428573 0.128572 0.228572 0.285715 0.328572 0.400001 0.414287 0.457144 -0.457144 0.442858 0.385715 0.314287 0.257144 0.214286 0.1 0.0428572 --0.0142858 -0.0428573 -0.114286 -0.142858 -0.200001 -0.242858 -0.285715 --0.328572 -0.342858 -0.37143 -0.385715 -0.414287 -0.414287 -0.414287 --0.414287 -0.400001 -0.357144 -0.314287 -0.257144 -0.185715 -0.0714288 -0.0142857 0.0571429 0.171429 0.328572 0.400001 0.442858 0.47143 0.485715 -0.485715 0.485715 0.485715 0.485715 0.442858 0.357144 0.242858 0.185715 -0.114286 0.0714285 -0.071429 -0.242858 -0.300001 -0.328573 -0.357144 --0.37143 -0.385715 -0.400001 -0.442858 -0.457144 -0.47143 -0.457144 --0.428573 -0.400001 -0.378573 -0.328572 -0.271429 -0.242858 -0.200001 --0.128572 -0.0428574 -0.0285717 0.0142858 0.114286 0.128572 0.185715 -0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 -0.357144 0.357144 0.342858 0.328572; +#A 0 -0.871431 -0.84286 -0.814288 -0.814288 -0.800002 -0.771431 -0.757145 +-0.742859 -0.728574 -0.714288 -0.685716 -0.671431 -0.657145 -0.642859 +-0.628573 -0.614288 -0.600002 -0.585716 -0.57143 -0.542859 -0.542859 +-0.528573 -0.514287 -0.500002 -0.485716 -0.47143 -0.457144 -0.442859 +-0.428573 -0.414287 -0.400002 -0.385716 -0.385716 -0.357144 -0.342859 +-0.342859 -0.328573 -0.314287 -0.300001 -0.285716 -0.27143 -0.257144 +-0.228573 -0.228573 -0.200001 -0.185715 -0.185715 -0.17143 -0.142858 +-0.142858 -0.128572 -0.114287 -0.085715 -0.085715 -0.0571435 -0.028572 +-0.0142863 -5.01052e-007 0.0142853 0.028571 0.0571425 0.0714283 0.0714283 +0.0999998 0.114286 0.142857 0.142857 0.171429 0.185714 0.214286 0.228572 +0.242857 0.257143 0.285715 0.3 0.328572 0.342858 0.357143 0.371429 +0.400001 0.414286 0.428572 0.457143 0.471429 0.485715 0.500001 0.514286 +0.542858 0.571429 0.585715 0.600001 0.628572 0.642858 0.657144 0.685715 +0.700001 0.714287 0.742858 0.757144 0.77143; #X coords 0 1 99 -1 200 140 1; #X restore 534 10 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; -#X restore 534 156 graph; +#X restore 534 176 graph; #X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 130 40 the minimum-size of arrays; -#X text 90 29 copy reversal from zero-onset to zero-onset; #X obj 61 78 tab_reverse src dst; -#X obj 59 301 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 341 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 59 211 50 20 50; -#X text 44 154 list of 3 floats:; -#X text 56 165 src-onset; -#X text 56 175 dst-onset; -#X text 211 306 1.arg: source-name; -#X text 211 319 2.arg: destination-name; -#X msg 142 217 src src; -#X msg 202 226 dst dst; -#X msg 264 236 time 10; -#X text 58 184 n samples to copy reversal; -#X obj 59 262 tab_reverse src dst; -#X connect 2 0 6 0; -#X connect 6 0 3 0; -#X connect 8 0 18 0; -#X connect 14 0 18 0; -#X connect 15 0 18 0; -#X connect 16 0 18 0; -#X connect 18 0 7 0; +#X text 195 314 1.arg: source-name; +#X text 195 327 2.arg: destination-name; +#X msg 116 231 src src; +#X msg 166 249 dst dst; +#X obj 59 302 tab_reverse src dst; +#X text 185 69 (the number of samples which are copied are:; +#X text 198 83 the minimum of both array lengths); +#X text 12 3 tab_reverse; +#X text 90 29 copy value from src to dst in reverse arrangement +; +#X text 44 164 list of 3 floats:; +#X text 78 415 IEM KUG; +#X text 62 403 musil; +#X text 92 403 @; +#X text 98 403 iem.at; +#X text 61 425 Graz \, Austria; +#X text 13 392 (c) Thomas Musil 2000 - 2006; +#X text 56 175 1.) src onset; +#X text 56 185 2.) dst onset; +#X text 226 302 initial arguments:; +#X text 74 319 output; +#X text 173 229 xxx : change source name; +#X text 219 248 xxx : change destination name; +#X text 56 195 3.) n samples to copy reversal; +#X connect 2 0 4 0; +#X connect 4 0 3 0; +#X connect 6 0 11 0; +#X connect 9 0 11 0; +#X connect 10 0 11 0; +#X connect 11 0 5 0; diff --git a/help/tab_rfft-help.pd b/help/tab_rfft-help.pd index c7cf1d4..34d0c1a 100644 --- a/help/tab_rfft-help.pd +++ b/help/tab_rfft-help.pd @@ -1,180 +1,175 @@ -#N canvas 37 27 949 628 10; +#N canvas 29 19 957 536 10; #N canvas 0 0 450 300 graph1 0; -#X array src 100 float 1; -#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0; -#X coords 0 1 99 -1 300 140 1; -#X restore 534 10 graph; +#X array src 100 float 0; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 10 graph; #N canvas 0 0 450 300 graph1 0; #X array dst_re 100 float 0; -#X coords 0 1 99 -1 300 140 1; -#X restore 534 155 graph; -#X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X coords 0 1 99 -1 199 100 1; +#X restore 674 239 graph; +#X obj 24 47 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 24 122 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 62 583 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 61 345 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 35 387 list of 3 floats:; -#X text 47 398 src-onset; -#X text 391 515 1.arg: source-name; -#X text 90 29 copy from zero-onset to zero-onset; -#X text 130 40 the minimum-size of arrays; -#X msg 99 470 src src; #N canvas 0 0 450 300 graph1 0; #X array dst_im 100 float 0; -#X coords 0 1 99 -1 300 140 1; -#X restore 534 299 graph; -#X obj 397 142 tab_const src; -#N canvas 98 77 891 552 fft~ 0; -#N canvas 0 0 450 300 graph1 0; -#X array src9 67 float 1; -#A 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0; -#X coords 0 1 66 -1 260 140 1; -#X restore 480 -8 graph; -#N canvas 0 0 450 300 graph1 0; -#X array dst_re9 65 float 0; -#X coords 0 1 64 -1 260 140 1; -#X restore 480 166 graph; -#N canvas 0 0 450 300 graph1 0; -#X array dst_im9 65 float 0; -#X coords 0 1 64 -1 260 140 1; -#X restore 479 314 graph; -#X obj 152 -8 tabreceive~ src9; -#X obj 152 18 rfft~; -#X obj 160 78 tabsend~ dst_re9; -#X obj 183 52 tabsend~ dst_im9; -#X msg 19 402 \; src9 sinesum 64 0 0 0 0 1 \; src9 cosinesum 64 0 0 -0 0 0 0 0 1; -#X msg 11 327 \; src9 sinesum 64 0 1; -#X msg 168 333 \; src9 cosinesum 64 0 0 1; -#X obj 42 -7 for++ 0 63 1; -#X obj 42 16 t f f; -#X obj 42 51 / 32; -#X obj 42 72 * 3.14159; -#X obj 42 123 sin; -#X obj 42 166 tabwrite src9; -#X msg 29 194 \; src9 const 0; -#X obj 42 -27 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 42 97 * 5; -#X msg 31 239 \; src9 const 1; -#X obj 339 7 for++ 0 63 1; -#X obj 339 30 t f f; -#X obj 339 65 / 32; -#X obj 339 86 * 3.14159; -#X obj 339 161 tabwrite src9; -#X obj 339 -13 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 339 137 cos; -#X obj 339 111 * 8.3; -#X obj 42 145 / 32; -#X msg 183 238 \$1 1 1; -#X obj 183 215 t f b; -#X obj 183 194 clip 0 31; -#X floatatom 183 170 5 0 31 0 - - -; -#X obj 208 274 tab_const src9; -#X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 4 1 6 0; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 353 graph; +#X msg 89 252 dst_re dst_re; +#X msg 104 275 dst_im dst_im; +#X msg 125 298 fftsize 64; +#X floatatom 474 22 5 0 63 0 - - -; +#X msg 546 341 \; dst_re const 0 \; dst_im const 0; +#X text 102 464 IEM KUG; +#X text 86 452 musil; +#X text 116 452 @; +#X text 122 452 iem.at; +#X text 85 474 Graz \, Austria; +#X text 37 441 (c) Thomas Musil 2000 - 2006; +#N canvas 0 0 474 324 generate_a_dirac 0; +#X msg 61 106 \$1 1 1; +#X obj 61 83 t f b; +#X obj 61 62 clip 0 63; +#X obj 61 32 inlet; +#X obj 86 142 tab_const src; +#X connect 0 0 4 0; +#X connect 1 0 0 0; +#X connect 1 1 4 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X restore 474 41 pd generate_a_dirac; +#X floatatom 514 22 5 -31 31 0 - - -; +#N canvas 0 0 495 419 generate_a_cos 0; +#X obj 120 18 inlet; +#X obj 219 176 t f f; +#X obj 219 211 / 32; +#X obj 219 232 * 3.14159; +#X obj 219 283 cos; +#X obj 219 257 * 8; +#X obj 219 106 clip 0 31; +#X obj 219 127 t b f; +#X obj 219 153 for++ 0 63; +#X obj 120 43 moses 0; +#X obj 39 178 t f f; +#X obj 39 213 / 32; +#X obj 39 234 * 3.14159; +#X obj 39 285 cos; +#X obj 39 259 * 8; +#X obj 39 108 clip 0 31; +#X obj 39 129 t b f; +#X obj 39 155 for++ 0 63; +#X obj 90 70 * -1; +#X obj 219 331 tabwrite src; +#X obj 39 333 tabwrite src; +#X obj 39 310 / -32; +#X obj 219 308 / 32; +#X connect 0 0 9 0; +#X connect 1 0 2 0; +#X connect 1 1 19 1; +#X connect 2 0 3 0; +#X connect 3 0 5 0; +#X connect 4 0 22 0; +#X connect 5 0 4 0; +#X connect 6 0 7 0; +#X connect 7 0 8 0; +#X connect 7 1 5 1; +#X connect 8 0 1 0; +#X connect 9 0 18 0; +#X connect 9 1 6 0; #X connect 10 0 11 0; +#X connect 10 1 20 1; #X connect 11 0 12 0; -#X connect 11 1 15 1; -#X connect 12 0 13 0; -#X connect 13 0 18 0; -#X connect 14 0 28 0; -#X connect 17 0 10 0; -#X connect 18 0 14 0; -#X connect 20 0 21 0; -#X connect 21 0 22 0; -#X connect 21 1 24 1; -#X connect 22 0 23 0; -#X connect 23 0 27 0; -#X connect 25 0 20 0; -#X connect 26 0 24 0; -#X connect 27 0 26 0; -#X connect 28 0 15 0; -#X connect 29 0 33 0; -#X connect 30 0 29 0; -#X connect 30 1 33 0; -#X connect 31 0 30 0; -#X connect 32 0 31 0; -#X restore 293 433 pd fft~; -#X obj 124 139 for++ 0 63 1; -#X obj 124 162 t f f; -#X obj 124 197 / 32; -#X obj 124 218 * 3.14159; -#X obj 124 269 sin; -#X obj 124 119 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 124 243 * 5; -#X msg 122 349 \; src const 0; -#X obj 124 323 tabwrite src; -#X msg 244 355 \; src const 1; -#X obj 242 127 for++ 0 63 1; -#X obj 242 150 t f f; -#X obj 242 185 / 32; -#X obj 242 206 * 3.14159; -#X obj 242 107 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 242 257 cos; -#X obj 242 305 tabwrite src; -#X text 392 528 2.arg: real_destination-name; -#X text 393 542 3.arg: imag_destination-name; -#X text 394 557 4.arg: fft-size; -#X text 47 407 dst_re-onset; -#X text 47 417 dst_im-onset; -#X msg 111 494 dst_re dst_re; -#X msg 152 517 dst_im dst_im; -#X msg 242 527 fftsize 64; -#X msg 372 106 \$1 1 1; -#X obj 372 83 t f b; -#X obj 372 62 clip 0 31; -#X floatatom 372 38 5 0 31 0 - - -; -#X obj 124 293 / 32; -#X obj 242 231 * 8; -#X obj 242 282 / 32; -#X msg 362 281 \; src const \$1; -#X obj 362 253 /; -#X msg 362 221 1 32; -#X msg 194 449 \; dst_re const 0 \; dst_im const 0; -#X msg 63 445 20 30 30; -#X obj 62 560 tab_rfft src dst_re dst_im 64; -#X obj 61 78 tab_rfft src dst_re dst_im 64; -#X connect 2 0 52 0; -#X connect 10 0 51 0; -#X connect 14 0 15 0; +#X connect 12 0 14 0; +#X connect 13 0 21 0; +#X connect 14 0 13 0; #X connect 15 0 16 0; -#X connect 15 1 22 1; #X connect 16 0 17 0; -#X connect 17 0 20 0; -#X connect 18 0 43 0; -#X connect 19 0 14 0; -#X connect 20 0 18 0; -#X connect 24 0 25 0; -#X connect 25 0 26 0; -#X connect 25 1 30 1; -#X connect 26 0 27 0; -#X connect 27 0 44 0; -#X connect 28 0 24 0; -#X connect 29 0 45 0; -#X connect 36 0 51 0; -#X connect 37 0 51 0; -#X connect 38 0 51 0; -#X connect 39 0 12 0; -#X connect 40 0 39 0; -#X connect 40 1 12 0; -#X connect 41 0 40 0; -#X connect 42 0 41 0; -#X connect 43 0 22 0; -#X connect 44 0 29 0; -#X connect 45 0 30 0; -#X connect 47 0 46 0; -#X connect 48 0 47 0; -#X connect 50 0 51 0; -#X connect 51 0 4 0; -#X connect 52 0 3 0; +#X connect 16 1 14 1; +#X connect 17 0 10 0; +#X connect 18 0 15 0; +#X connect 21 0 20 0; +#X connect 22 0 19 0; +#X restore 514 61 pd generate_a_cos; +#X floatatom 555 22 5 -31 31 0 - - -; +#N canvas 0 0 499 423 generate_a_sin 0; +#X obj 102 37 inlet; +#X obj 246 182 t f f; +#X obj 246 217 / 32; +#X obj 246 238 * 3.14159; +#X obj 246 263 * 8; +#X obj 246 112 clip 0 31; +#X obj 246 133 t b f; +#X obj 246 159 for++ 0 63; +#X obj 246 289 sin; +#X obj 54 180 t f f; +#X obj 54 215 / 32; +#X obj 54 236 * 3.14159; +#X obj 54 261 * 8; +#X obj 54 110 clip 0 31; +#X obj 54 131 t b f; +#X obj 54 157 for++ 0 63; +#X obj 54 287 sin; +#X obj 102 60 moses 0; +#X obj 54 88 * -1; +#X obj 246 337 tabwrite src; +#X obj 54 335 tabwrite src; +#X obj 54 311 / -32; +#X obj 246 313 / 32; +#X connect 0 0 17 0; +#X connect 1 0 2 0; +#X connect 1 1 19 1; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 8 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 6 1 4 1; +#X connect 7 0 1 0; +#X connect 8 0 22 0; +#X connect 9 0 10 0; +#X connect 9 1 20 1; +#X connect 10 0 11 0; +#X connect 11 0 12 0; +#X connect 12 0 16 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 14 1 12 1; +#X connect 15 0 9 0; +#X connect 16 0 21 0; +#X connect 17 0 18 0; +#X connect 17 1 5 0; +#X connect 18 0 13 0; +#X connect 21 0 20 0; +#X connect 22 0 19 0; +#X restore 555 82 pd generate_a_sin; +#X text 309 355 initial arguments:; +#X msg 546 283 \; src const 0; +#X msg 76 230 src src; +#X msg 62 207 20 30 30; +#X text 49 158 1.) src-onset; +#X text 49 168 2.) dst_re-onset; +#X text 49 178 3.) dst_im-onset; +#X text 37 147 list of 3 floats:; +#X text 269 368 1.arg: source-name; +#X text 269 380 2.arg: real_destination-name; +#X text 269 392 3.arg: imag_destination-name; +#X text 269 404 4.arg: fftsize; +#X text 10 0 tab_rfft; +#X text 93 -1 real FTT with arrays; +#X text 45 56 calculates a real fourier transformation of a +real src-array to complex dst-arrays; +#X obj 24 94 tab_rfft src dst_re dst_im 64; +#X obj 62 322 tab_rfft src dst_re dst_im 64; +#X connect 2 0 37 0; +#X connect 6 0 38 0; +#X connect 7 0 38 0; +#X connect 8 0 38 0; +#X connect 9 0 17 0; +#X connect 18 0 19 0; +#X connect 20 0 21 0; +#X connect 24 0 38 0; +#X connect 25 0 38 0; +#X connect 37 0 3 0; +#X connect 38 0 4 0; diff --git a/help/tab_rifft-help.pd b/help/tab_rifft-help.pd index 2068e9f..3349528 100644 --- a/help/tab_rifft-help.pd +++ b/help/tab_rifft-help.pd @@ -1,152 +1,287 @@ -#N canvas 9 14 951 630 10; -#N canvas 0 0 452 302 graph1 0; -#X array spec_real 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 85 graph; +#N canvas 29 19 961 540 10; #N canvas 0 0 450 300 graph1 0; -#X array spec_imag 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 188 graph; -#X obj 38 115 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X array src_re 100 float 0; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 10 graph; +#N canvas 0 0 450 300 graph1 0; +#X array src_im 100 float 0; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 127 graph; +#X obj 24 47 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 38 165 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 24 122 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 62 583 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 61 345 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 35 387 list of 3 floats:; -#X text 47 398 src-onset; -#X text 288 499 1.arg: source-name; -#X text 90 29 copy from zero-onset to zero-onset; -#X text 130 40 the minimum-size of arrays; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 291 graph; -#X obj 397 142 tab_const src; -#X msg 122 349 \; src const 0; -#X msg 244 355 \; src const 1; -#X text 289 512 2.arg: real_destination-name; -#X text 290 526 3.arg: imag_destination-name; -#X text 291 541 4.arg: fft-size; -#X text 47 407 dst_re-onset; -#X text 47 417 dst_im-onset; -#X msg 189 527 fftsize 64; -#X msg 372 106 \$1 1 1; -#X obj 372 83 t f b; -#X obj 372 62 clip 0 31; -#X floatatom 372 38 5 0 31 0 - - -; -#X msg 362 281 \; src const \$1; -#X obj 362 253 /; -#X msg 362 221 1 32; -#X msg 63 445 20 30 30; -#X msg 99 470 src_re src_re; -#X msg 111 493 src_im src_im; -#X msg 131 517 dst dst; -#X msg 393 353 \; src_im const 0; -#X msg 384 413 \; dst const 0; -#N canvas 0 0 450 300 graph1 0; -#X array src 100 float 1; -#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 -18 graph; -#X msg 169 162 \; spec_real const 0 \; spec_imag const 0 \; dst const -0; -#X obj 38 43 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 38 93 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#N canvas 0 0 450 300 graph1 0; -#X array mul 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 394 graph; -#X obj 128 301 tab_const mul; -#X msg 128 281 0 64 \$1; -#X obj 128 260 /; -#X msg 128 239 1 64; -#X msg 53 305 0 0 0 64; -#N canvas 0 0 450 300 graph1 0; -#X array dst2 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 591 497 graph; -#X obj 53 326 tab_mul dst mul dst2; -#N canvas 98 77 893 554 fft_ifft~ 0; -#N canvas 0 0 450 300 graph1 0; -#X array src9 100 float 1; -#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0; -#X coords 0 1 99 -1 300 100 1; -#X restore 505 -29 graph; -#N canvas 0 0 450 300 graph1 0; -#X array spec_real9 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 505 73 graph; -#N canvas 0 0 450 300 graph1 0; -#X array spec_imag9 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 505 176 graph; -#X obj 56 35 tabreceive~ src9; -#X obj 56 61 rfft~; -#X msg 260 29 \$1 1 1; -#X obj 260 6 t f b; -#X obj 260 -15 clip 0 31; -#X floatatom 260 -39 5 0 31 0 - - -; -#X obj 285 65 tab_const src9; -#N canvas 0 0 450 300 graph1 0; -#X array dst9 100 float 0; -#X coords 0 1 99 -1 300 100 1; -#X restore 505 278 graph; -#X obj 47 144 rifft~; -#X obj 47 188 tabsend~ dst9; -#X obj 64 121 tabsend~ spec_real9; -#X obj 87 95 tabsend~ spec_imag9; -#X obj 47 166 /~ 64; -#X obj 25 -84 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X obj 25 -59 dsp; -#X floatatom 25 -18 5 0 0 0 - - -; -#X floatatom 38 -36 5 0 0 0 - - -; +#X coords 0 1 99 -1 199 100 1; +#X restore 674 353 graph; +#X msg 125 298 fftsize 64; +#X text 102 464 IEM KUG; +#X text 86 452 musil; +#X text 116 452 @; +#X text 122 452 iem.at; +#X text 85 474 Graz \, Austria; +#X text 37 441 (c) Thomas Musil 2000 - 2006; +#X text 309 355 initial arguments:; +#X text 10 0 tab_rifft; +#X text 93 -1 real inverse FTT with arrays; +#X text 37 147 list of 3 floats:; +#X text 269 404 4.arg: fftsize; +#X msg 546 341 \; dst const 0; +#X msg 546 283 \; src_re const 0 \; src_im const 0; +#X obj 62 322 tab_rifft src_re src_im dst 64; +#X obj 24 94 tab_rifft src_re src_im dst 64; +#X text 49 158 1.) src_re-onset; +#X text 49 168 2.) src_im-onset; +#X text 49 178 3.) dst-onset; +#X msg 62 207 20 20 30; +#X msg 76 230 src_re src_re; +#X msg 89 252 src_im src_im; +#X msg 104 275 dst dst; +#X text 269 368 1.arg: real source-name; +#X text 269 380 2.arg: imag_source-name; +#X text 269 392 3.arg: destination-name; +#X floatatom 474 22 5 0 63 0 - - -; +#N canvas 0 0 470 320 generate_a_dirac 0; +#X msg 61 106 \$1 1 1; +#X obj 61 83 t f b; +#X obj 61 62 clip 0 63; +#X obj 61 32 inlet; +#X obj 86 142 tab_const src_re; +#X connect 0 0 4 0; +#X connect 1 0 0 0; +#X connect 1 1 4 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X restore 474 41 pd generate_a_dirac; +#X floatatom 514 22 5 -31 31 0 - - -; +#N canvas 0 0 487 411 generate_a_cos 0; +#X obj 120 18 inlet; +#X obj 219 176 t f f; +#X obj 219 211 / 32; +#X obj 219 232 * 3.14159; +#X obj 219 283 cos; +#X obj 219 257 * 8; +#X obj 219 106 clip 0 31; +#X obj 219 127 t b f; +#X obj 219 153 for++ 0 63; +#X obj 219 331 tabwrite src_re; +#X obj 120 43 moses 0; +#X obj 39 178 t f f; +#X obj 39 213 / 32; +#X obj 39 234 * 3.14159; +#X obj 39 285 cos; +#X obj 39 259 * 8; +#X obj 39 108 clip 0 31; +#X obj 39 129 t b f; +#X obj 39 155 for++ 0 63; +#X obj 39 333 tabwrite src_re; +#X obj 90 70 * -1; +#X obj 39 310 * -1; +#X connect 0 0 10 0; +#X connect 1 0 2 0; +#X connect 1 1 9 1; +#X connect 2 0 3 0; +#X connect 3 0 5 0; +#X connect 4 0 9 0; +#X connect 5 0 4 0; +#X connect 6 0 7 0; +#X connect 7 0 8 0; +#X connect 7 1 5 1; +#X connect 8 0 1 0; +#X connect 10 0 20 0; +#X connect 10 1 6 0; +#X connect 11 0 12 0; +#X connect 11 1 19 1; +#X connect 12 0 13 0; +#X connect 13 0 15 0; +#X connect 14 0 21 0; +#X connect 15 0 14 0; +#X connect 16 0 17 0; +#X connect 17 0 18 0; +#X connect 17 1 15 1; +#X connect 18 0 11 0; +#X connect 20 0 16 0; +#X connect 21 0 19 0; +#X restore 514 61 pd generate_a_cos; +#X floatatom 555 22 5 -31 31 0 - - -; +#N canvas 0 0 487 411 generate_a_sin 0; +#X obj 102 37 inlet; +#X obj 246 182 t f f; +#X obj 246 217 / 32; +#X obj 246 238 * 3.14159; +#X obj 246 263 * 8; +#X obj 246 112 clip 0 31; +#X obj 246 133 t b f; +#X obj 246 159 for++ 0 63; +#X obj 246 337 tabwrite src_re; +#X obj 246 289 sin; +#X obj 54 180 t f f; +#X obj 54 215 / 32; +#X obj 54 236 * 3.14159; +#X obj 54 261 * 8; +#X obj 54 110 clip 0 31; +#X obj 54 131 t b f; +#X obj 54 157 for++ 0 63; +#X obj 54 335 tabwrite src_re; +#X obj 54 287 sin; +#X obj 102 60 moses 0; +#X obj 54 88 * -1; +#X obj 54 312 * -1; +#X connect 0 0 19 0; +#X connect 1 0 2 0; +#X connect 1 1 8 1; +#X connect 2 0 3 0; #X connect 3 0 4 0; -#X connect 4 0 11 0; -#X connect 4 0 13 0; -#X connect 4 1 11 1; -#X connect 4 1 14 0; -#X connect 5 0 9 0; -#X connect 6 0 5 0; -#X connect 6 1 9 0; -#X connect 7 0 6 0; -#X connect 8 0 7 0; -#X connect 11 0 15 0; -#X connect 15 0 12 0; +#X connect 4 0 9 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 6 1 4 1; +#X connect 7 0 1 0; +#X connect 9 0 8 0; +#X connect 10 0 11 0; +#X connect 10 1 17 1; +#X connect 11 0 12 0; +#X connect 12 0 13 0; +#X connect 13 0 18 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 15 1 13 1; +#X connect 16 0 10 0; +#X connect 18 0 21 0; +#X connect 19 0 20 0; +#X connect 19 1 5 0; +#X connect 20 0 14 0; +#X connect 21 0 17 0; +#X restore 555 82 pd generate_a_sin; +#X floatatom 474 132 5 0 63 0 - - -; +#N canvas 0 0 470 320 generate_a_dirac 0; +#X msg 61 106 \$1 1 1; +#X obj 61 83 t f b; +#X obj 61 62 clip 0 63; +#X obj 61 32 inlet; +#X obj 86 142 tab_const src_im; +#X connect 0 0 4 0; +#X connect 1 0 0 0; +#X connect 1 1 4 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X restore 474 151 pd generate_a_dirac; +#X floatatom 514 132 5 -31 31 0 - - -; +#N canvas 0 0 487 411 generate_a_cos 0; +#X obj 120 18 inlet; +#X obj 219 176 t f f; +#X obj 219 211 / 32; +#X obj 219 232 * 3.14159; +#X obj 219 283 cos; +#X obj 219 257 * 8; +#X obj 219 106 clip 0 31; +#X obj 219 127 t b f; +#X obj 219 153 for++ 0 63; +#X obj 120 43 moses 0; +#X obj 39 178 t f f; +#X obj 39 213 / 32; +#X obj 39 234 * 3.14159; +#X obj 39 285 cos; +#X obj 39 259 * 8; +#X obj 39 108 clip 0 31; +#X obj 39 129 t b f; +#X obj 39 155 for++ 0 63; +#X obj 90 70 * -1; +#X obj 40 334 tabwrite src_im; +#X obj 220 331 tabwrite src_im; +#X obj 39 310 * -1; +#X connect 0 0 9 0; +#X connect 1 0 2 0; +#X connect 1 1 20 1; +#X connect 2 0 3 0; +#X connect 3 0 5 0; +#X connect 4 0 20 0; +#X connect 5 0 4 0; +#X connect 6 0 7 0; +#X connect 7 0 8 0; +#X connect 7 1 5 1; +#X connect 8 0 1 0; +#X connect 9 0 18 0; +#X connect 9 1 6 0; +#X connect 10 0 11 0; +#X connect 10 1 19 1; +#X connect 11 0 12 0; +#X connect 12 0 14 0; +#X connect 13 0 21 0; +#X connect 14 0 13 0; +#X connect 15 0 16 0; #X connect 16 0 17 0; +#X connect 16 1 14 1; +#X connect 17 0 10 0; +#X connect 18 0 15 0; +#X connect 21 0 19 0; +#X restore 514 171 pd generate_a_cos; +#X floatatom 555 132 5 -31 31 0 - - -; +#N canvas 0 0 495 419 generate_a_sin 0; +#X obj 102 37 inlet; +#X obj 246 182 t f f; +#X obj 246 217 / 32; +#X obj 246 238 * 3.14159; +#X obj 246 263 * 8; +#X obj 246 112 clip 0 31; +#X obj 246 133 t b f; +#X obj 246 159 for++ 0 63; +#X obj 246 289 sin; +#X obj 54 180 t f f; +#X obj 54 215 / 32; +#X obj 54 236 * 3.14159; +#X obj 54 261 * 8; +#X obj 54 110 clip 0 31; +#X obj 54 131 t b f; +#X obj 54 157 for++ 0 63; +#X obj 54 287 sin; +#X obj 102 60 moses 0; +#X obj 54 88 * -1; +#X obj 246 337 tabwrite src_im; +#X obj 54 336 tabwrite src_im; +#X obj 54 312 * -1; +#X connect 0 0 17 0; +#X connect 1 0 2 0; +#X connect 1 1 19 1; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 8 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 6 1 4 1; +#X connect 7 0 1 0; +#X connect 8 0 19 0; +#X connect 9 0 10 0; +#X connect 9 1 20 1; +#X connect 10 0 11 0; +#X connect 11 0 12 0; +#X connect 12 0 16 0; +#X connect 13 0 14 0; +#X connect 14 0 15 0; +#X connect 14 1 12 1; +#X connect 15 0 9 0; +#X connect 16 0 21 0; #X connect 17 0 18 0; -#X connect 17 1 19 0; -#X restore 293 433 pd fft_ifft~; -#X obj 38 137 tab_rifft spec_real spec_imag dst 64; -#X obj 38 65 tab_rfft src spec_real spec_imag 64; -#X obj 61 559 tab_rfft src_re src_im dst 64; -#X connect 2 0 46 0; -#X connect 19 0 48 0; -#X connect 20 0 11 0; +#X connect 17 1 5 0; +#X connect 18 0 13 0; #X connect 21 0 20 0; -#X connect 21 1 11 0; -#X connect 22 0 21 0; -#X connect 23 0 22 0; -#X connect 25 0 24 0; -#X connect 26 0 25 0; -#X connect 27 0 48 0; -#X connect 28 0 48 0; -#X connect 29 0 48 0; -#X connect 30 0 48 0; -#X connect 35 0 47 0; -#X connect 39 0 38 0; -#X connect 40 0 39 0; -#X connect 41 0 40 0; -#X connect 42 0 44 0; -#X connect 46 0 3 0; -#X connect 47 0 36 0; -#X connect 48 0 4 0; +#X restore 555 192 pd generate_a_sin; +#X text 45 56 calculates a real inverse fourier transformation +of complex src-arrays to a real dst-array; +#X connect 2 0 21 0; +#X connect 6 0 20 0; +#X connect 20 0 4 0; +#X connect 21 0 3 0; +#X connect 25 0 20 0; +#X connect 26 0 20 0; +#X connect 27 0 20 0; +#X connect 28 0 20 0; +#X connect 32 0 33 0; +#X connect 34 0 35 0; +#X connect 36 0 37 0; +#X connect 38 0 39 0; +#X connect 40 0 41 0; +#X connect 42 0 43 0; diff --git a/help/tab_sqrt-help.pd b/help/tab_sqrt-help.pd index a51188e..6042609 100644 --- a/help/tab_sqrt-help.pd +++ b/help/tab_sqrt-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 782 409 10; +#N canvas 116 92 786 482 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; #A 0 0.916135 0.888992 0.83593 0.810011 0.784501 0.759399 0.734704 @@ -20,30 +20,41 @@ #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; -#X restore 534 156 graph; -#X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X restore 534 176 graph; +#X obj 60 35 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 60 110 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 301 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 58 345 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X msg 59 211 50 20 50; -#X text 44 154 list of 3 floats:; -#X text 56 165 src-onset; -#X text 56 175 dst-onset; -#X text 139 299 1.arg: source-name; -#X text 139 312 2.arg: destination-name; -#X text 130 40 the minimum-size of arrays; -#X msg 142 217 src src; -#X msg 202 226 dst dst; -#X obj 61 78 tab_sqrt src dst; -#X obj 59 264 tab_sqrt src dst; -#X text 90 29 calc square root from zero-onset to zero-onset -; -#X text 58 184 n samples to copy square root; -#X connect 2 0 14 0; -#X connect 5 0 15 0; -#X connect 12 0 15 0; -#X connect 13 0 15 0; -#X connect 14 0 3 0; -#X connect 15 0 4 0; +#X msg 58 215 50 20 50; +#X text 194 318 1.arg: source-name; +#X text 194 331 2.arg: destination-name; +#X msg 115 235 src src; +#X msg 165 253 dst dst; +#X text 184 73 (the number of samples which are copied are:; +#X text 197 87 the minimum of both array lengths); +#X text 43 168 list of 3 floats:; +#X text 77 419 IEM KUG; +#X text 61 407 musil; +#X text 91 407 @; +#X text 97 407 iem.at; +#X text 60 429 Graz \, Austria; +#X text 12 396 (c) Thomas Musil 2000 - 2006; +#X text 55 179 1.) src onset; +#X text 55 189 2.) dst onset; +#X text 225 306 initial arguments:; +#X text 73 323 output; +#X text 172 233 xxx : change source name; +#X text 218 252 xxx : change destination name; +#X text 11 7 tab_sqrt; +#X text 89 33 copy square root value from src to dst; +#X obj 60 82 tab_sqrt src dst; +#X text 55 198 3.) n samples to copy square root; +#X obj 58 306 tab_sqrt src dst; +#X connect 2 0 27 0; +#X connect 5 0 29 0; +#X connect 8 0 29 0; +#X connect 9 0 29 0; +#X connect 27 0 3 0; +#X connect 29 0 4 0; diff --git a/help/tab_sub-help.pd b/help/tab_sub-help.pd index f847aeb..bf490ea 100644 --- a/help/tab_sub-help.pd +++ b/help/tab_sub-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 847 552 10; +#N canvas 116 92 855 560 10; #N canvas 0 0 450 300 graph1 0; #X array src1 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -16,19 +16,18 @@ 0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 0.357144 0.357144 0.342858 0.328572; #X coords 0 1 99 -1 200 140 1; -#X restore 534 10 graph; +#X restore 534 20 graph; #N canvas 0 0 450 300 graph1 0; #X array dst 100 float 0; #X coords 0 1 99 -1 200 140 1; -#X restore 535 358 graph; -#X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X restore 535 368 graph; +#X obj 61 41 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 61 116 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 59 310 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 59 350 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 57 173 dst-onset; -#X msg 286 234 dst dst; +#X msg 255 286 dst dst; #N canvas 0 0 450 300 graph1 0; #X array src2 100 float 1; #A 0 0.557135 0.57142 0.557135 0.528564 0.499992 0.428564 0.357136 @@ -46,25 +45,39 @@ -0.271431 -0.400001 -0.514286 -0.542858 -0.557143 -0.585714 -0.585714 -0.6 -0.6 -0.614286 -0.614286 -0.614286; #X coords 0 1 99 -1 200 140 1; -#X restore 535 161 graph; -#X msg 142 217 src1 src1; -#X msg 218 223 src2 src2; -#X msg 59 211 50 50 20 50; -#X text 45 139 list of 4 floats:; -#X text 57 153 src1-onset; -#X text 56 163 src2-onset; -#X text 212 333 3.arg: destination-name; -#X text 126 42 with the minimum-size of arrays; -#X text 90 29 subtract the 2 src-arrays to dst-array; -#X obj 61 78 tab_sub src1 src2 dst; -#X obj 59 271 tab_sub src1 src2 dst; -#X text 57 183 n samples to subtract; -#X text 211 306 1.arg: source1-name; -#X text 211 319 2.arg: source2-name; -#X connect 2 0 17 0; -#X connect 6 0 18 0; -#X connect 8 0 18 0; -#X connect 9 0 18 0; -#X connect 10 0 18 0; -#X connect 17 0 3 0; -#X connect 18 0 4 0; +#X restore 535 171 graph; +#X msg 136 243 src1 src1; +#X msg 195 265 src2 src2; +#X msg 59 221 50 50 20 50; +#X text 45 149 list of 4 floats:; +#X text 212 363 3.arg: destination-name; +#X text 78 445 IEM KUG; +#X text 62 433 musil; +#X text 92 433 @; +#X text 98 433 iem.at; +#X text 61 455 Graz \, Austria; +#X text 13 422 (c) Thomas Musil 2000 - 2006; +#X text 234 322 initial arguments:; +#X text 72 329 output; +#X text 306 285 xxx : change destination name; +#X text 208 96 the minimum of the 3 array lengths); +#X text 56 187 3.) dst onset; +#X text 56 165 1.) src_1 onset; +#X text 56 176 2.) src_2 onset; +#X text 199 243 xxx : change source name 1; +#X text 257 265 xxx : change source name 2; +#X text 211 336 1.arg: source-name 1; +#X text 211 349 2.arg: source-name 2; +#X text 12 13 tab_sub; +#X obj 61 88 tab_sub src1 src2 dst; +#X obj 59 311 tab_sub src1 src2 dst; +#X text 90 39 subtract the 2 src-arrays to dst-array; +#X text 56 197 4.) n samples to subtract; +#X text 195 82 (the number of samples which were subtracted are:; +#X connect 2 0 30 0; +#X connect 5 0 31 0; +#X connect 7 0 31 0; +#X connect 8 0 31 0; +#X connect 9 0 31 0; +#X connect 30 0 3 0; +#X connect 31 0 4 0; diff --git a/help/tab_sum-help.pd b/help/tab_sum-help.pd index 2d64162..a61ef99 100644 --- a/help/tab_sum-help.pd +++ b/help/tab_sum-help.pd @@ -1,4 +1,4 @@ -#N canvas 116 92 782 409 10; +#N canvas 116 92 794 421 10; #N canvas 0 0 450 300 graph1 0; #X array src 100 float 1; #A 0 -0.442858 -0.414287 -0.385715 -0.342858 -0.314287 -0.257144 -0.128572 @@ -16,28 +16,40 @@ 0.214286 0.257144 0.285715 0.314287 0.342858 0.357144 0.357144 0.357144 0.357144 0.357144 0.342858 0.328572; #X coords 0 1 99 -1 200 140 1; -#X restore 534 10 graph; +#X restore 524 40 graph; #X obj 61 31 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 61 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 59 301 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 56 165 src-onset; -#X text 143 263 1.arg: source-name; -#X msg 142 217 src src; +#X msg 93 213 src src; #X obj 61 78 tab_sum src; #X floatatom 122 104 5 0 0 0 - - -; -#X text 59 175 n samples to calc sum; -#X text 44 154 list of 2 floats:; -#X text 90 29 calc sum of array-elements; -#X obj 59 264 tab_sum src; -#X msg 59 211 50 20; -#X floatatom 120 295 5 0 0 0 - - -; -#X connect 1 0 7 0; -#X connect 6 0 12 0; -#X connect 7 0 2 0; -#X connect 7 1 8 0; -#X connect 12 0 3 0; -#X connect 12 1 14 0; -#X connect 13 0 12 0; +#X obj 59 244 tab_sum src; +#X msg 59 188 50 20; +#X floatatom 120 305 5 0 0 0 - - -; +#X text 75 364 IEM KUG; +#X text 59 352 musil; +#X text 89 352 @; +#X text 95 352 iem.at; +#X text 58 374 Graz \, Austria; +#X text 10 341 (c) Thomas Musil 2000 - 2006; +#X text 90 29 calc sum of all array elements; +#X text 182 234 initial arguments:; +#X text 65 260 output; +#X text 11 6 tab_sum; +#X text 55 171 2.) n samples to calc sum; +#X text 142 213 xxx : change source name; +#X text 164 247 1.arg: source-name; +#X text 125 280 sum output; +#X text 118 118 sum value; +#X text 43 150 list of 2 floats:; +#X text 55 160 1.) src onset; +#X connect 1 0 5 0; +#X connect 4 0 7 0; +#X connect 5 0 2 0; +#X connect 5 1 6 0; +#X connect 7 0 3 0; +#X connect 7 1 9 0; +#X connect 8 0 7 0; -- cgit v1.2.1