-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathfiltercoeff.mmb-help.pd
116 lines (116 loc) · 3.5 KB
/
filtercoeff.mmb-help.pd
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
109
110
111
112
113
114
115
116
#N canvas 61 22 1169 774 10;
#X obj 25 12 cnv 15 400 35 empty empty filtercoeff.mmb 20 12 0 14 -4160
-203904 0;
#X obj 25 48 cnv 15 400 60 empty empty empty 20 12 0 14 -203904 -66577
0;
#X obj 39 276 hsl 128 15 0 136 0 1 empty empty empty -2 -8 0 10 -262144
-1 -1 5976 1;
#X text 71 259 frequency;
#X obj 199 161 + 100;
#X obj 199 185 dbtorms;
#N canvas 0 22 450 300 (subpatch) 0;
#X array \$0-spectrum 512 float 0;
#X coords 0 1 512 0 400 140 1;
#X restore 638 424 graph;
#X text 1046 614 .mmb;
#X text 656 614 See also:;
#X obj 769 642 biquadm.mmb~;
#X obj 769 668 biquad~;
#X obj 859 668 hip.mmb~;
#X obj 919 668 multimode.mmb~;
#X obj 919 642 multimode.mmb;
#X obj 1019 642 filterplot.mmb;
#X msg 473 322 lowpass;
#X msg 473 342 highpass;
#X msg 473 442 lowshelf;
#X msg 473 462 highshelf;
#X msg 473 362 bandpass;
#X msg 473 382 resonant;
#X msg 473 402 notch;
#X msg 473 422 peaking;
#X msg 473 482 allpass;
#X floatatom 199 214 5 0 0 0 - - -;
#X text 236 211 Q - refers to resonance for lowpass \, highpass \,
and resonant. Refers to bandwidth for bandpass \, notch \, peaking
\, and allpass. Refers to slope for highshelf and lowshelf.;
#X text 263 125 The gain of the resonance is equal to Q. By convention
\, -3dB means no resonance for lowpass and highpass.;
#X text 499 65 arg1: <optional> type of filter to generate coefficients
for (default: lowpass).;
#X obj 199 132 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -8 0 10
-262144 -1 -1 -3 256;
#X obj 257 267 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -8 0 10
-262144 -1 -1 0 256;
#X obj 76 695 *~ 0.2;
#X obj 76 725 dac~;
#X text 320 266 Gain (in dB) for peaking \, lowshelf \, and highshelf
;
#N canvas 0 22 450 300 (subpatch) 0;
#X array \$0-filter.response 400 float 0;
#X coords 0 1 399 -1 400 140 1;
#X restore 638 243 graph;
#X obj 250 568 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 269 567 plot phase response;
#X obj 133 697 spectrum.mmb~ \$0-spectrum;
#X msg 300 696 logfreq 1 \, dbrange -25 25;
#X obj 659 642 filtercoeff.mmb~;
#X obj 70 317 mtof;
#X floatatom 77 352 0 0 0 0 - - -;
#X obj 128 668 *~ 39;
#X obj 300 666 loadbang;
#X obj 76 500 noise~;
#X obj 152 487 filtercoeff.mmb lowpass;
#X obj 76 551 biquadm.mmb~;
#X obj 156 618 filterplot.mmb \$0-filter.response;
#X msg 250 587 phase \$1;
#X obj 184 448 t b f;
#X obj 241 448 t b f;
#X obj 289 448 t b a;
#X text 471 49 [filtercoeff.mmb filtertype];
#X obj 659 668 biquad.mmb~;
#X msg 473 532 lop;
#X msg 473 552 hip;
#X text 466 301 filter types:;
#X text 461 514 vanilla filters:;
#X obj 859 642 lop.mmb~;
#X text 45 48 Generates a list of biquad coefficients for several filter
types. The included vanilla filters are meant to be used with [filterplot.mmb]
since it's really more costly to implement them as biquads.;
#X connect 2 0 39 0;
#X connect 4 0 5 0;
#X connect 5 0 24 0;
#X connect 15 0 50 0;
#X connect 16 0 50 0;
#X connect 17 0 50 0;
#X connect 18 0 50 0;
#X connect 19 0 50 0;
#X connect 20 0 50 0;
#X connect 21 0 50 0;
#X connect 22 0 50 0;
#X connect 23 0 50 0;
#X connect 24 0 48 0;
#X connect 28 0 4 0;
#X connect 29 0 49 0;
#X connect 30 0 31 0;
#X connect 30 0 31 1;
#X connect 34 0 47 0;
#X connect 37 0 36 1;
#X connect 39 0 40 0;
#X connect 40 0 44 0;
#X connect 41 0 36 0;
#X connect 42 0 37 0;
#X connect 43 0 45 0;
#X connect 44 0 45 1;
#X connect 44 0 46 0;
#X connect 45 0 30 0;
#X connect 45 0 41 0;
#X connect 47 0 46 1;
#X connect 48 0 44 0;
#X connect 48 1 44 1;
#X connect 49 0 44 0;
#X connect 49 1 44 2;
#X connect 50 0 44 0;
#X connect 50 1 44 3;
#X connect 53 0 50 0;
#X connect 54 0 50 0;