aboutsummaryrefslogtreecommitdiff
path: root/doc/pddp/biquad~-help.pd
blob: 5f56c429dc92f9e792ca1487c56a76b5cff4c480 (plain)
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
#N canvas 0 0 555 619 10;
#X obj -1 595 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0
14 -228856 -66577 0;
#X obj -1 0 cnv 15 552 40 empty \$0-pddp.cnv.header biquad~ 3 12 0
18 -204280 -1 0;
#X obj -1 321 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
-228856 -1 0;
#N canvas 46 244 494 344 META 0;
#X text 12 105 LIBRARY internal;
#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 12 25 LICENSE SIBSD;
#X text 12 125 AUTHOR Miller Puckette;
#X text 12 185 HELP_PATCH_AUTHORS Updated for Pd version-0.30. Jonathan
Wilkes revised the patch to conform to the PDDP template for Pd version
0.42.;
#X text 12 5 KEYWORDS signal filters;
#X text 12 45 DESCRIPTION 2-pole-2-zero-filter;
#X text 12 85 OUTLET_0 signal;
#X text 12 65 INLET_0 list signal set clear;
#X text 12 165 RELEASE_DATE 2009;
#X restore 500 597 pd META;
#X obj -1 416 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0
13 -228856 -1 0;
#X obj -1 453 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12
0 13 -228856 -1 0;
#X obj -1 565 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8
12 0 13 -228856 -1 0;
#N canvas 46 487 428 102 Related_objects 0;
#X obj 22 42 hip~;
#X obj 62 41 lop~;
#X obj 104 41 bp~;
#X obj 139 41 vcf~;
#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
#X text 7 1 [biquad~] Related Objects;
#X restore 101 597 pd Related_objects;
#X obj 78 330 cnv 17 3 75 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X obj 471 3 biquad~;
#X obj 445 20 pddp/pddplink http://wiki.puredata.info/en/biquad~ -text
pdpedia: biquad~;
#X obj 155 216 env~;
#X floatatom 155 243 0 0 0 0 - - -;
#X floatatom 66 98 0 0 0 0 - - -;
#X obj 66 214 env~;
#X floatatom 66 242 0 0 0 0 - - -;
#X obj 155 183 biquad~ 1.41407 -0.9998 1 -1.41421 1;
#X msg 155 99 1.41407 -0.9998 1 -1.41421 1;
#X text 220 237 (= SR/8 = 5512.5 Hz @44.1k);
#X text 167 77 list sets filter parameters;
#X msg 190 129 set 0 0;
#X msg 191 154 clear;
#X obj 66 138 osc~ 5512.5;
#X text 260 131 set internal state;
#X text 258 153 ... or just clear it;
#X text 98 350 list;
#X text 98 330 signal;
#X text 98 370 set;
#X text 98 390 clear;
#X obj 78 425 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X text 98 426 signal;
#X text 169 503 y(n) = ff1 * w(n) + ff2 * w(n-1) + ff3 * w(n-2);
#X text 169 519 w(n) = x(n) + fb1 * w(n-1) + fb2 * w(n-2);
#X text 169 541 Syntax: biquad~ fb1 fb2 ff1 ff2 ff3;
#X text 59 267 Compare the value of the straight signal on the left
with the value of the filtered signal on the right.;
#X text 11 23 2-pole-2-zero-filter;
#X text 169 472 - [biquad~] takes five floats as arguments which are
used to calculate the following difference equation:;
#X text 168 370 - set internal state.;
#X text 168 390 - clear the internal state.;
#X text 85 472 5 floats;
#X text 214 218 this [biquad~] is a notch filter for fn = Pi/4;
#X text 168 350 - a list of 5 floats is used to set filter parameters.
;
#X text 168 330 - the incoming signal;
#X text 168 426 - the outgoing signal;
#X obj 4 597 pddp/pddplink all_about_help_patches.pd -text Usage Guide;
#X obj 455 51 pddp/dsp;
#X connect 11 0 12 0;
#X connect 13 0 22 0;
#X connect 14 0 15 0;
#X connect 16 0 11 0;
#X connect 17 0 16 0;
#X connect 20 0 16 0;
#X connect 21 0 16 0;
#X connect 22 0 14 0;
#X connect 22 0 16 0;