#N canvas 204 67 932 800 10; #X obj 65 111 noise~; #X obj 544 314 dac~ 1 2; #X obj 543 287 *~; #X obj 560 262 /~ 255; #X obj 563 241 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #N canvas 0 0 450 300 graph2 0; #X array adaptfir 50 float 0; #X coords 0 1 49 -1 200 140 1; #X restore 59 577 graph; #N canvas 0 0 450 300 graph1 0; #X array drawfir 64 float 0; #X coords 0 1 63 -1 200 140 1; #X restore 716 33 graph; #X obj 543 152 *~; #X obj 559 129 tgl 15 0 empty empty On/Off 0 -6 0 8 -262144 -1 -1 0 1; #X floatatom 275 220 5 0 3000 0 Speed - -; #X msg 275 333 delta \$1; #X obj 275 263 exp; #X obj 275 286 - 1; #X obj 275 309 / 1.71828; #X msg 135 308 frames \$1; #X floatatom 135 285 5 5 5000 0 Length - -; #X obj 275 173 loadbang; #X obj 135 212 loadbang; #X msg 22 428 show; #X obj 22 452 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 22 382 tgl 15 0 empty empty Animate 0 -6 0 8 -262144 -1 -1 0 1; #X obj 106 475 adaptfilt adaptfir; #X obj 544 87 FIR~ drawfir 64; #X obj 22 473 s update; #X obj 146 260 r update; #X obj 337 684 soundfiler; #X msg 337 660 write -wave ./filter.wav adaptfir; #X text 304 640 Write state of adaptive filter to disk ...; #X text 577 10 Draw the taps of an FIR filter to be measured ...; #X obj 542 189 /~ 10; #X obj 275 240 / 5000; #X text 73 36 Measuring impulse responses; #X text 759 677 12/09/04; #X text 759 663 Edgar J. Berdahl; #X obj 721 550 tabwrite drawfir; #X floatatom 721 500 0 0 0 0 - - -; #X obj 721 474 + 1; #X msg 721 370 bang; #X msg 648 428 stop; #X obj 721 448 float; #X obj 721 396 trigger bang bang; #X obj 721 422 metro 5; #X msg 721 525 0 \$1; #X text 723 353 Clear drawfir . . .; #X msg 835 429 -1; #X obj 648 402 select 64; #X obj 22 404 metro 100; #X msg 135 238 50; #X msg 275 197 1; #X obj 431 520 *~; #X obj 447 497 tgl 15 0 empty empty On/Off 0 -6 0 8 -262144 -1 -1 0 1; #X text 73 51 using adaptive filters; #X text 40 558 Look at the result that adaptfilt measures ...; #X text 14 725 WARNING: Do not change the length of adaptfir by right-clicking and selecting properties. Instead \, use the frames parameter as shown above.; #X text 567 224 Output volume; #X connect 0 0 22 0; #X connect 0 0 21 0; #X connect 2 0 1 0; #X connect 2 0 1 1; #X connect 3 0 2 1; #X connect 4 0 3 0; #X connect 7 0 29 0; #X connect 8 0 7 1; #X connect 9 0 30 0; #X connect 10 0 21 0; #X connect 11 0 12 0; #X connect 12 0 13 0; #X connect 13 0 10 0; #X connect 14 0 21 0; #X connect 15 0 14 0; #X connect 16 0 48 0; #X connect 17 0 47 0; #X connect 18 0 19 0; #X connect 18 0 21 0; #X connect 19 0 23 0; #X connect 20 0 46 0; #X connect 21 0 49 0; #X connect 22 0 7 0; #X connect 22 0 21 1; #X connect 24 0 15 0; #X connect 26 0 25 0; #X connect 29 0 2 0; #X connect 30 0 11 0; #X connect 35 0 42 0; #X connect 36 0 35 0; #X connect 36 0 39 1; #X connect 36 0 45 0; #X connect 37 0 40 0; #X connect 38 0 41 0; #X connect 39 0 36 0; #X connect 40 0 41 0; #X connect 40 1 44 0; #X connect 41 0 39 0; #X connect 42 0 34 0; #X connect 44 0 39 1; #X connect 45 0 38 0; #X connect 46 0 18 0; #X connect 47 0 15 0; #X connect 48 0 9 0; #X connect 49 0 29 0; #X connect 50 0 49 1;