-
der.brandt
copy below dots in notepad etc...safe as ansi name.pd
........................................................................................................................
#N canvas 413 15 740 910 10;
#N canvas 559 52 558 609 fft 0;
#X obj 19 61 inlet~;
#X obj 195 217 inlet;
#X obj 29 92 rfft~;
#X obj 29 125 *~;
#X obj 60 125 *~;
#X obj 29 155 sqrt~;
#X obj 29 181 biquad~ 0 0 0 0 1;
#X text 93 93 Fourier series;
#X text 98 146 magnitude;
#X text 96 131 calculate;
#X text 21 3 This subpatch computes the spectrum of the incoming signal
with a (rectangular windowed) FFT. FFTs aren't properly introduced
until much later.;
#X text 83 61 signal to analyze;
#X text 193 164 delay two samples;
#X text 191 182 for better graphing;
#X obj 231 236 inlet;
#X text 284 234 toggle to graph repeatedly;
#X text 262 212 bang to graph once;
#X obj 19 295 tabwrite~ E09-signal;
#X obj 231 298 tabwrite~ E09-spectrum;
#X obj 29 205 /~ 4096;
#X msg 195 322 \; pd dsp 1;
#X obj 231 259 metro 70;
#X obj 332 109 block~ 4096 1;
#X obj 31 237 *~ 10;
#X connect 0 0 2 0;
#X connect 0 0 17 0;
#X connect 1 0 17 0;
#X connect 1 0 18 0;
#X connect 1 0 20 0;
#X connect 2 0 3 0;
#X connect 2 0 3 1;
#X connect 2 1 4 0;
#X connect 2 1 4 1;
#X connect 3 0 5 0;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 6 0 19 0;
#X connect 14 0 20 0;
#X connect 14 0 21 0;
#X connect 19 0 23 0;
#X connect 21 0 17 0;
#X connect 21 0 18 0;
#X connect 23 0 18 0;
#X restore 50 125 pd fft;
#X obj 109 68 bng 18 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 109 89 tgl 18 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
;
#N canvas 0 0 450 300 (subpatch) 0;
#X array E09-signal 882 float 0;
#X coords 0 1.02 881 -1.02 200 80 1;
#X restore 207 18 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array E09-spectrum 259 float 0;
#X coords 0 0.51 258 -0.008 259 130 1;
#X restore 179 129 graph;
#X text 216 104 ---- 0.02 seconds ----;
#X text 271 147 SPECTRUM;
#X obj 24 512 gemwin;
#X obj 24 467 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X msg 50 469 create;
#X msg 53 489 destroy;
#X obj 191 288 gemhead;
#X obj 191 339 t a a a;
#X obj 180 368 GEMglEnd;
#X obj 236 367 GEMglBegin;
#X obj 362 350 GLdefine GL_LINES;
#X obj 362 320 loadbang;
#X obj 341 321 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 209 508 gemlist;
#X obj 209 429 f 256;
#X obj 209 448 until;
#X obj 208 472 t b b;
#X obj 293 470 + 1;
#X obj 210 396 t b b a;
#X obj 276 446 f 0;
#X obj 262 469 f;
#X obj 210 547 GEMglVertex2f;
#X obj 210 603 GEMglVertex2f;
#X obj 295 560 * -1;
#X obj 260 526 - 4;
#X obj 191 312 translateXYZ;
#X floatatom 242 288 5 0 0 0 - - -;
#X obj 295 520 tabread E09-spectrum;
#X obj 260 506 / 32;
#X obj 52 12 adc~;
#X obj 51 39 hip~ 5;
#X obj 51 65 *~ 1;
#X floatatom 94 42 5 0 0 0 - - -;
#X obj 210 579 spigot;
#X obj 149 564 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 404 -74 i think its a bouchard patch;
#X text 66 578 just for the symetry;
#X connect 1 0 0 1;
#X connect 2 0 0 2;
#X connect 8 0 7 0;
#X connect 9 0 7 0;
#X connect 10 0 7 0;
#X connect 11 0 30 0;
#X connect 12 0 13 0;
#X connect 12 1 23 0;
#X connect 12 2 14 0;
#X connect 15 0 14 1;
#X connect 16 0 15 0;
#X connect 17 0 15 0;
#X connect 18 0 26 0;
#X connect 19 0 20 0;
#X connect 20 0 21 0;
#X connect 21 0 18 0;
#X connect 21 1 25 0;
#X connect 22 0 25 1;
#X connect 23 0 19 0;
#X connect 23 1 24 0;
#X connect 23 2 18 1;
#X connect 24 0 25 1;
#X connect 25 0 22 0;
#X connect 25 0 33 0;
#X connect 25 0 32 0;
#X connect 26 0 38 0;
#X connect 28 0 27 2;
#X connect 29 0 26 1;
#X connect 29 0 27 1;
#X connect 30 0 12 0;
#X connect 31 0 30 1;
#X connect 32 0 26 2;
#X connect 32 0 28 0;
#X connect 33 0 29 0;
#X connect 34 0 35 0;
#X connect 35 0 36 0;
#X connect 36 0 0 0;
#X connect 37 0 36 1;
#X connect 38 0 27 0;
#X connect 39 0 38 1;