From b96bb4a524a23cb63231c36e66056ca4e6709a3d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 10 Nov 2010 05:17:10 +0000 Subject: added [declare -path ..] svn path=/trunk/externals/windowing/; revision=14361 --- examples/windowing.pd | 58 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/examples/windowing.pd b/examples/windowing.pd index 5254373..ba4867e 100644 --- a/examples/windowing.pd +++ b/examples/windowing.pd @@ -1,4 +1,5 @@ -#N canvas 117 0 857 741 10; +#N canvas 118 52 857 741 10; +#X declare -path ..; #X obj 13 70 hanning~; #X obj 13 96 tabsend~ hanning; #X obj 13 47 sig~ 1; @@ -19,9 +20,9 @@ #X obj 183 518 lanczos~; #X obj 16 624 sig~ 1; #X obj 16 683 tabsend~ gaussian; -#X floatatom 68 624 5 0 0; +#X floatatom 68 624 5 0 0 0 - - -; #X obj 184 643 sig~ 1; -#X floatatom 236 643 5 0 0; +#X floatatom 236 643 5 0 0 0 - - -; #X obj 184 702 tabsend~ kaiser; #X obj 15 235 tabsend~ blackman; #X obj 183 236 tabsend~ connes; @@ -29,36 +30,46 @@ #X obj 182 388 tabsend~ bartlett; #X obj 15 542 tabsend~ welch; #X obj 183 543 tabsend~ lanczos; -#X graph graph1 0 -1 63 1 369 152 569 12; +#N canvas 0 0 450 300 (subpatch) 0; #X array hanning 64 float 0; -#X pop; -#X graph graph2 0 -1 63 1 630 151 830 11; +#X coords 0 1 63 -1 200 140 1; +#X restore 369 12 graph; +#N canvas 0 0 450 300 (subpatch) 0; #X array hamming 64 float 0; -#X pop; -#X graph graph3 0 -1 63 1 369 295 569 155; +#X coords 0 1 63 -1 200 140 1; +#X restore 630 11 graph; +#N canvas 0 0 450 300 (subpatch) 0; #X array blackman 64 float 0; -#X pop; -#X graph graph4 0 -1 63 1 631 294 831 154; +#X coords 0 1 63 -1 200 140 1; +#X restore 369 155 graph; +#N canvas 0 0 450 300 (subpatch) 0; #X array connes 64 float 0; -#X pop; -#X graph graph5 0 -1 63 1 369 438 569 298; +#X coords 0 1 63 -1 200 140 1; +#X restore 631 154 graph; +#N canvas 0 0 450 300 (subpatch) 0; #X array cosine 64 float 0; -#X pop; -#X graph graph6 0 -1 63 1 631 437 831 297; +#X coords 0 1 63 -1 200 140 1; +#X restore 369 298 graph; +#N canvas 0 0 450 300 (subpatch) 0; #X array bartlett 64 float 0; -#X pop; -#X graph graph7 0 -1 63 1 369 582 569 442; +#X coords 0 1 63 -1 200 140 1; +#X restore 631 297 graph; +#N canvas 0 0 450 300 (subpatch) 0; #X array welch 64 float 0; -#X pop; -#X graph graph8 0 -1 63 1 631 581 831 441; +#X coords 0 1 63 -1 200 140 1; +#X restore 369 442 graph; +#N canvas 0 0 450 300 (subpatch) 0; #X array lanczos 64 float 0; -#X pop; -#X graph graph9 0 -1 63 1 369 726 569 586; +#X coords 0 1 63 -1 200 140 1; +#X restore 631 441 graph; +#N canvas 0 0 450 300 (subpatch) 0; #X array gaussian 64 float 0; -#X pop; -#X graph graph10 0 -1 63 1 631 725 831 585; +#X coords 0 1 63 -1 200 140 1; +#X restore 369 586 graph; +#N canvas 0 0 450 300 (subpatch) 0; #X array kaiser 64 float 0; -#X pop; +#X coords 0 1 63 -1 200 140 1; +#X restore 631 585 graph; #X obj 16 657 gaussian~ 0.5; #X obj 184 676 kaiser~ 10; #X text 250 362 (triangle); @@ -76,6 +87,7 @@ #X text 184 622 modified Bessel function; #X text 184 608 where Io is 0th order; #X text 183 593 Io(a*sqrt(1-x^2))/Io(a); +#X obj 92 2 declare -path ..; #X connect 0 0 1 0; #X connect 2 0 0 0; #X connect 3 0 4 0; -- cgit v1.2.1