/usr/share/gem/examples/04.pix/22.biquad.pd is in gem-doc 1:0.93.3-5ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | #N canvas 269 10 753 499 10;
#X msg 360 312 set;
#X floatatom 401 209 4 0 0 0 - - -;
#X floatatom 442 209 4 0 0 0 - - -;
#X obj 441 229 t b f;
#X floatatom 491 209 4 0 0 0 - - -;
#X obj 490 229 t b f;
#X floatatom 532 208 4 0 0 0 - - -;
#X obj 531 228 t b f;
#X floatatom 576 210 4 0 0 0 - - -;
#X obj 575 230 t b f;
#X text 257 23 calculates the following difference equation:;
#X text 261 38 y(n) = ff1 * w(n) + ff2 * w(n-1) + ff3 * w(n-2);
#X floatatom 621 210 4 0 0 0 - - -;
#X obj 620 230 t b f;
#X obj 407 260 pack 0 0 0 0 0 0;
#X text 265 55 w(n) = fb0 * x(n) + fb1 * w(n-1) + fb2 * w(n-2);
#X msg 403 98 1 0 0 1 0 0;
#X msg 403 121 1 0 0 0.2 0.2 0.6;
#X obj 35 224 gemhead;
#X obj 35 300 pix_texture;
#X obj 35 324 square 3;
#X text 403 190 fb0;
#X text 443 190 fb1;
#X text 494 189 fb2;
#X text 533 186 ff1;
#X text 582 187 ff2;
#X text 623 186 ff3;
#X obj 355 257 t l;
#X msg 175 218 0;
#X msg 202 218 1;
#X msg 231 218 2;
#X text 551 94 route through;
#X text 553 120 a low-pass;
#X text 34 391 pix_biquad: fb0 fb1 fb2 ff1 ff2 ff3;
#X text 338 377 very(*) similar to the pd-object;
#X obj 572 375 biquad~;
#X text 336 406 *: but not exactly the same;
#X text 390 312 set w(n-1) and w(n-2) to the next(!) x(n);
#X obj 35 274 pix_biquad;
#X msg 404 150 0.05 0.8 0.15 0.2 0.2 0.6;
#X text 587 148 a LOW-pass;
#X text 397 331 (important for hard feedback-loops);
#X text 98 455 no sanity check is done for the coefficients !;
#X text 151 200 click these OFTEN !;
#X obj 20 69 cnv 15 220 70 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 22 454 304 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 182 68 set create;
#X msg 132 112 create \, 1;
#X msg 238 112 destroy;
#N canvas 87 154 247 179 Gem.init 0;
#X obj 118 46 loadbang;
#X msg 118 81 reset;
#X obj 118 113 outlet;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X restore 289 80 pd Gem.init;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 6 0;
#X connect 3 1 5 0;
#X connect 3 1 7 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X connect 8 0 0 0;
#X restore 25 113 pd gemwin;
#X msg 25 89 create;
#X text 21 69 Create window and render;
#X obj 35 247 pix_multiimage ../data/temp*.JPG 2;
#X connect 0 0 38 0;
#X connect 1 0 14 0;
#X connect 2 0 3 0;
#X connect 3 0 14 0;
#X connect 3 1 14 1;
#X connect 4 0 5 0;
#X connect 5 0 14 0;
#X connect 5 1 14 2;
#X connect 6 0 7 0;
#X connect 7 0 14 0;
#X connect 7 1 14 3;
#X connect 8 0 9 0;
#X connect 9 0 14 0;
#X connect 9 1 14 4;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
#X connect 13 1 14 5;
#X connect 14 0 27 0;
#X connect 16 0 27 0;
#X connect 17 0 27 0;
#X connect 18 0 48 0;
#X connect 19 0 20 0;
#X connect 27 0 38 0;
#X connect 28 0 48 1;
#X connect 29 0 48 1;
#X connect 30 0 48 1;
#X connect 38 0 19 0;
#X connect 39 0 27 0;
#X connect 45 0 46 0;
#X connect 46 0 45 0;
#X connect 48 0 38 0;
|