diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-02-08 13:00:32 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-02-08 13:00:32 +0000 |
commit | 4d84d14ac1aa13958eaa2971b03f7f929a519105 (patch) | |
tree | 6579d3f2cea5410a10c4baac8d0f372fb0dff372 /desiredata/doc/3.audio.examples/filter-graph1.pd | |
parent | b334d38aefbd8e0e159d7af6c20d63c5d2b64859 (diff) |
reorganized
svn path=/trunk/; revision=9400
Diffstat (limited to 'desiredata/doc/3.audio.examples/filter-graph1.pd')
-rw-r--r-- | desiredata/doc/3.audio.examples/filter-graph1.pd | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/desiredata/doc/3.audio.examples/filter-graph1.pd b/desiredata/doc/3.audio.examples/filter-graph1.pd new file mode 100644 index 00000000..747c283e --- /dev/null +++ b/desiredata/doc/3.audio.examples/filter-graph1.pd @@ -0,0 +1,84 @@ +#N canvas -4 364 603 514 10; +#X obj 145 292 f; +#X obj 175 292 + 1; +#X obj 46 160 t b b; +#X msg 161 268 0; +#X obj 125 355 sel 1; +#X msg 48 218 0; +#X msg 46 191 1; +#X floatatom 452 292 7 0 0 0 - - -; +#X obj 442 333 phasor~; +#X obj 415 384 cos~; +#X obj 450 384 cos~; +#X obj 449 361 -~ 0.25; +#X obj 46 134 inlet; +#X obj 394 413 outlet~; +#X obj 451 413 outlet~; +#X obj 216 329 t f f; +#X obj 217 391 outlet; +#X msg 114 122 \; pd dsp 1; +#X obj 125 332 >= \$1; +#X msg 498 333 0; +#X obj 145 237 metro; +#X text 166 7 filter-graph1 -- generate sinusoids to test a filter +; +#X text 168 23 arg 1: number of steps - arg2: frequency range; +#X text 40 53 This \, together with its companion filter-graph2 \, +measure a filter's frequency and phase response. Here we count from +0 to n-1 (where n is the table size) and output the index and a complex +sinusoid at each frequency to test.; +#X text 222 192 fudge to estimate settling time; +#X obj 487 67 loadbang; +#X obj 487 105 t b b; +#X obj 519 151 max 1; +#X obj 487 128 f \$2; +#X obj 519 128 f \$1; +#X obj 487 151 /; +#X obj 442 265 *; +#X obj 217 367 pack; +#X floatatom 500 183 5 0 0 0 - - -; +#X floatatom 248 237 5 0 0 0 - - -; +#X obj 487 86 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 202 173 expr max(50 \, 40000/($f2*max($f1 \, 1))); +#X connect 0 0 1 0; +#X connect 0 0 15 0; +#X connect 0 0 18 0; +#X connect 1 0 0 1; +#X connect 2 0 6 0; +#X connect 2 1 3 0; +#X connect 2 1 17 0; +#X connect 3 0 0 1; +#X connect 4 0 5 0; +#X connect 5 0 20 0; +#X connect 6 0 20 0; +#X connect 8 0 11 0; +#X connect 8 0 9 0; +#X connect 9 0 13 0; +#X connect 10 0 14 0; +#X connect 11 0 10 0; +#X connect 12 0 2 0; +#X connect 15 0 32 0; +#X connect 15 1 31 0; +#X connect 15 1 36 0; +#X connect 18 0 4 0; +#X connect 19 0 8 1; +#X connect 20 0 0 0; +#X connect 20 0 19 0; +#X connect 25 0 35 0; +#X connect 26 0 28 0; +#X connect 26 1 29 0; +#X connect 27 0 30 1; +#X connect 28 0 30 0; +#X connect 29 0 27 0; +#X connect 30 0 31 1; +#X connect 30 0 33 0; +#X connect 30 0 36 1; +#X connect 31 0 7 0; +#X connect 31 0 8 0; +#X connect 31 0 32 1; +#X connect 32 0 16 0; +#X connect 35 0 26 0; +#X connect 36 0 20 1; +#X connect 36 0 34 0; +#X connect 36 0 32 1; |