#N canvas 571 23 714 719 12;
#X floatatom 60 295 7 0 0 0 - - - 0;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0-real 64 float 2;
#X coords 0 64 64 -64 256 200 1;
#X restore 422 216 graph;
#X floatatom 60 195 5 0 32 0 - - - 0;
#X obj 92 267 samplerate~;
#X obj 60 242 t f b;
#X obj 60 267 *;
#X obj 97 613 metro 250;
#X obj 59 682 tabwrite~ \$0-real;
#X obj 84 659 tabwrite~ \$0-imaginary;
#X obj 59 424 osc~;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0-imaginary 64 float 2;
#X coords 0 64 64 -64 256 200 1;
#X restore 422 449 graph;
#X obj 85 400 f;
#X floatatom 103 354 3 0 100 0 - - - 0;
#X obj 103 375 / 100;
#X obj 60 218 / 64;
#X text 594 197 real part;
#X text 549 430 imaginary part;
#X obj 97 580 loadbang;
#X text 159 383 of a cycle;
#X obj 103 636 s \$0-snap;
#X obj 85 322 r \$0-snap;
#X text 159 369 hundredths;
#X text 109 450 given the real and imaginary part;
#X text 110 466 of a complex-valued signal. Here;
#X text 109 482 the imaginary part is zero (the;
#X text 108 435 fft~ computes the Fourier transform \,;
#X text 253 654 real and imaginary;
#X text 253 670 outputs are graphed;
#X text 252 687 separately.;
#X text 108 499 input is real-valued). The output;
#X text 107 517 is a (real \, imaginary) pair for each;
#X text 108 535 frequency from 0 to 63 (in units of;
#X text 109 555 SR/64).;
#X text 49 54 ANALYSIS;
#X text 50 36 FOURIER;
#X msg 60 106 0;
#X msg 68 131 10;
#X msg 75 154 10.5;
#X text 175 319 bang-on-snapshot;
#X text 173 333 from below;
#X text 116 403 sync phase with snapshots;
#X obj 59 458 fft~;
#X text 103 195 <= frequency (as multiple of SR/64 \, the fundamental), f 26;
#X text 139 353 <= phase in;
#X text 127 295 <= frequency \, Hz.;
#X text 163 12 The [fft~] object has separate inlets for the real and imaginary parts of a complex-valued signal and outputs its Fourier transform \, again using separate outlets for the real and imaginary part. The transform is done on one block of samples (here the block size is 64 \, Pd's default.) The outputs give the complex amplitudes of the harmonics of the input signal \, from DC up. The harmonics are tuned to the fundamental frequency of the analysis \, 1/64th of the sample rate. If the frequency (in harmonics) is an integer \, the result is two harmonics symmetric about the Nyquist frequency. Fractional frequencies spill across harmonics. Changing the initial phase rotates energy from real to imaginary and back., f 67;
#X text 478 674 updated for Pd version 0.39;
#X obj 235 565 ../5.reference/set-dsp-tgl;
#X text 266 568 DSP on/off;
#X msg 235 602 \; pd dsp \$1;
#X connect 0 0 9 0;
#X connect 2 0 14 0;
#X connect 3 0 5 1;
#X connect 4 0 5 0;
#X connect 4 1 3 0;
#X connect 5 0 0 0;
#X connect 6 0 7 0;
#X connect 6 0 8 0;
#X connect 6 0 19 0;
#X connect 9 0 41 0;
#X connect 11 0 9 1;
#X connect 12 0 13 0;
#X connect 13 0 11 1;
#X connect 14 0 4 0;
#X connect 17 0 6 0;
#X connect 20 0 11 0;
#X connect 35 0 2 0;
#X connect 36 0 2 0;
#X connect 37 0 2 0;
#X connect 41 0 7 0;
#X connect 41 1 8 0;
#X connect 47 0 49 0;
