#N canvas 118 61 683 405 10;
#X declare -lib Gem;
#X text 452 8 GEM object;
#X obj 9 265 cnv 15 430 135 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 40 267 Inlets:;
#X text 39 372 Outlets:;
#X obj 9 227 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 18 226 Arguments:;
#X obj 8 56 cnv 15 430 165 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 449 77 cnv 15 210 280 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 453 60 Example:;
#X obj 514 290 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X obj 451 179 cnv 15 155 80 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 451 83 gemhead;
#X text 17 386 Outlet 1: gemlist;
#X text 24 281 Inlet 1: gemlist;
#X text 71 31 Class: pix object (timebased effect);
#X obj 451 151 pix_film;
#X obj 515 151 t f;
#X obj 464 103 bng 25 250 50 0 empty empty empty 0 -6 0 8 #fcfcfc #000000 #000000;
#N canvas 0 0 450 300 open 0;
#X obj 85 49 inlet;
#X obj 85 237 outlet;
#X obj 85 145 openpanel;
#X msg 85 179 open \$1;
#X msg 259 213 auto 1;
#X obj 268 179 loadbang;
#X connect 0 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
#X connect 4 0 1 0;
#X connect 5 0 4 0;
#X restore 464 131 pd open;
#X text 505 77 open a supported;
#X text 506 88 movie-clip;
#X text 523 114 macOS: quicktime;
#X text 516 104 MS Windows: *.AVI;
#X text 523 124 linux: depends...;
#X text 50 12 Synopsis: [pix_tIIR];
#X text 29 57 Description: timebased IIR-filter;
#X text 64 237 list: <feedbackTaps-1> <feedforwardTaps-1>;
#X floatatom 464 218 3 0 1 2 fb0 - - 0;
#X floatatom 491 218 3 0 1 2 fb1 - - 0;
#X floatatom 517 218 3 0 1 2 fb2 - - 0;
#X floatatom 554 218 3 0 1 2 ff0 - - 0;
#X obj 451 238 pix_tIIR 2 1;
#X floatatom 581 218 3 0 1 2 ff1 - - 0;
#N canvas 0 0 450 300 init 0;
#X msg 175 214 0.3;
#X msg 247 215 0.6;
#X msg 277 215 0.4;
#X obj 104 258 outlet;
#X obj 154 258 outlet;
#X obj 204 258 outlet;
#X obj 254 258 outlet;
#X obj 304 258 outlet;
#X obj 244 59 inlet;
#X obj 338 158 t b;
#X msg 328 201 1;
#X msg 363 201 0;
#X obj 238 127 t b;
#X obj 246 88 route 1;
#X msg 104 214 0.2;
#X msg 140 215 0.5;
#X connect 0 0 5 0;
#X connect 1 0 6 0;
#X connect 2 0 7 0;
#X connect 8 0 13 0;
#X connect 9 0 10 0;
#X connect 9 0 11 0;
#X connect 10 0 3 0;
#X connect 10 0 6 0;
#X connect 11 0 4 0;
#X connect 11 0 5 0;
#X connect 11 0 7 0;
#X connect 12 0 14 0;
#X connect 12 0 15 0;
#X connect 12 0 0 0;
#X connect 12 0 1 0;
#X connect 12 0 2 0;
#X connect 13 0 12 0;
#X connect 13 1 9 0;
#X connect 14 0 3 0;
#X connect 15 0 4 0;
#X restore 610 201 pd init;
#X obj 610 184 tgl 15 0 empty empty empty 0 -6 0 8 #fcfcfc #000000 #000000 0 1;
#X msg 477 182 set;
#X text 24 294 Inlet 1: message: set: overwrites the filter-buffers with the next incoming image.;
#X text 24 323 Inlet 1: message: set 0: blanks the filter-buffers.;
#X text 24 343 Inlet 2..(M+2): float: mth feedback-coefficient;
#X text 24 355 Inlet (M+2)..(N+M+2): float: nth feedforward-coefficient;
#X text 37 189 w(n) = fb0 * x(n) + fb1 * w(n-1) + ... + fbN(n-M);
#X text 38 203 y(n) = ff1 * w(n) + ff2 * w(n-1) + ... + ffM(n-N);
#X text 11 161 The output y() will calculate from the input x() at a time n as follows;
#X msg 517 183 set 0;
#X text 11 79 [pix_tIIR] is a time-based filter like [pix_motionblur] \, [pix_biquad] or Pd's [biquad~]. The filter has a feedback- and a feedforward-section \, the length of each can be specified as arguments. The objects will have an inlet for each feedback-coefficient and an inlet for each feedforward-coefficient.;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION timebased IIR-filter;
#X text 10 65 KEYWORDS Gem pix image;
#X text 20 85 INLET_0 gemlist set;
#X text 20 105 OUTLET_0 gemlist;
#X text 10 125 AUTHOR IOhannes m zmölnig;
#X text 10 145 LICENSE GPL-2.0-or-later;
#X restore 548 8 pd META;
#X obj 451 270 _pix2rectangle 3;
#X obj 519 295 _gemwin;
#X connect 11 0 15 0;
#X connect 15 0 31 0;
#X connect 15 2 16 0;
#X connect 16 0 15 1;
#X connect 17 0 18 0;
#X connect 18 0 15 0;
#X connect 27 0 31 1;
#X connect 28 0 31 2;
#X connect 29 0 31 3;
#X connect 30 0 31 4;
#X connect 31 0 46 0;
#X connect 32 0 31 5;
#X connect 33 0 27 0;
#X connect 33 1 28 0;
#X connect 33 2 29 0;
#X connect 33 3 30 0;
#X connect 33 4 32 0;
#X connect 34 0 33 0;
#X connect 35 0 31 0;
#X connect 43 0 31 0;
