-
Notifications
You must be signed in to change notification settings - Fork 0
/
omniFilter_abs~-help.pd
142 lines (142 loc) · 4.03 KB
/
omniFilter_abs~-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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#N canvas 74 22 1004 710 10;
#X obj 73 225 hsl 128 15 0 136 0 1 empty empty empty -2 -8 0 10 -262144
-1 -1 10300 1;
#X obj 117 292 + 100;
#X obj 117 316 dbtorms;
#X msg 70 417 \$1 100;
#X obj 70 441 line~;
#X msg 117 417 \$1 100;
#X obj 117 441 line~;
#X floatatom 117 345 5 0 0 0 - - -, f 5;
#X text 167 337 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 181 256 The gain of the resonance is equal to Q. By convention
\, -3dB means no resonance for lowpass and highpass.;
#X obj 117 263 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -8 0 10
-262144 -1 -1 -3 256;
#X obj 164 395 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -8 0 10
-262144 -1 -1 0 256;
#X text 227 394 Gain (in dB) for peaking \, lowshelf \, and highshelf
;
#X obj 70 246 mtof;
#X msg 164 417 \$1 100;
#X obj 164 441 line~;
#X obj 37 183 noise~;
#X obj 25 16 cnv 15 400 60 empty empty empty 20 12 0 14 -191765 -66577
0;
#X text 33 23 [omniFilter_abs~]: vanilla abstraction which packs the
[filtercoeff.mmb~] and [biquad.mmb~] abstractions by Mike-Moser Booth
\, into one package.;
#X obj 37 519 *~ 0.2;
#X obj 37 550 dac~;
#X msg 569 287 lowpass;
#X msg 569 307 highpass;
#X msg 569 367 lowshelf;
#X msg 569 407 highshelf;
#X msg 569 327 bandpass;
#X msg 569 428 resonant;
#X msg 569 347 allpass;
#X text 562 266 filter types;
#X obj 569 469 t a;
#X text 69 206 frequency;
#X text 545 32 Arguments: filter type (default is lowpass);
#X text 544 55 Inlets:;
#X text 585 78 1st (signal): signal to be filtered;
#X text 585 93 2nd (signal): filter frequency;
#X text 585 107 3rd (signal): Q \, see comments next to number atoms
;
#X text 585 123 4th (signal): Gain \, see comment next to number atom
;
#X text 585 139 5th (cotrol): filter type;
#X text 550 166 Outlet: filtered signal;
#X text 30 122 The comments next to the slider and number atoms below
are copied from the help patch of the [filtercoeff.mmb~] abstraction.
;
#X text 712 652 Put together by Alexandros Drymonitis;
#N canvas 0 22 775 444 scope 0;
#N canvas 0 22 450 278 (subpatch) 0;
#X array scope 1024 float 0;
#X coords 0 1 1023 0 200 140 2 0 0;
#X restore 100 100 graph;
#X obj 346 99 inlet~;
#X obj 469 200 loadbang;
#X obj 346 170 rfft~;
#X obj 346 203 *~;
#X obj 373 203 *~;
#X obj 346 232 sqrt~;
#X obj 346 255 biquad~ 0 0 0 0 1;
#X obj 346 340 tabwrite~ scope;
#X obj 469 222 t b b;
#X obj 469 266 pow -1;
#X obj 346 147 *~;
#X obj 397 20 loadbang;
#X obj 397 42 samplerate~;
#X obj 397 64 / 1024;
#X obj 572 104 block~ 2048 4;
#X obj 397 86 osc~;
#X obj 481 47 bang~;
#X obj 481 69 0.5;
#X obj 397 108 *~ 0.5;
#X obj 397 130 +~ 0.5;
#X obj 496 293 metro 250;
#X obj 346 283 *~ 1;
#X msg 469 244 64;
#X connect 1 0 11 0;
#X connect 2 0 9 0;
#X connect 3 0 4 0;
#X connect 3 0 4 1;
#X connect 3 1 5 0;
#X connect 3 1 5 1;
#X connect 4 0 6 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 7 0 22 0;
#X connect 9 0 23 0;
#X connect 9 1 21 0;
#X connect 10 0 22 1;
#X connect 11 0 3 0;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
#X connect 14 0 16 0;
#X connect 16 0 19 0;
#X connect 17 0 18 0;
#X connect 18 0 16 1;
#X connect 19 0 20 0;
#X connect 20 0 11 1;
#X connect 21 0 8 0;
#X connect 22 0 8 0;
#X connect 23 0 10 0;
#X coords 0 -1 1 1 200 140 2 100 100;
#X restore 84 542 pd scope;
#X msg 569 387 peaknotch;
#X obj 37 486 omniFilter_abs~ lowpass;
#X text 31 88 This abstraction omits the use of [expr~] completely
using only native Pd-vanilla objects;
#X connect 0 0 13 0;
#X connect 1 0 2 0;
#X connect 2 0 7 0;
#X connect 3 0 4 0;
#X connect 4 0 43 1;
#X connect 5 0 6 0;
#X connect 6 0 43 2;
#X connect 7 0 5 0;
#X connect 10 0 1 0;
#X connect 11 0 14 0;
#X connect 13 0 3 0;
#X connect 14 0 15 0;
#X connect 15 0 43 3;
#X connect 16 0 43 0;
#X connect 19 0 20 0;
#X connect 19 0 20 1;
#X connect 21 0 29 0;
#X connect 22 0 29 0;
#X connect 23 0 29 0;
#X connect 24 0 29 0;
#X connect 25 0 29 0;
#X connect 26 0 29 0;
#X connect 27 0 29 0;
#X connect 29 0 43 4;
#X connect 42 0 29 0;
#X connect 43 0 19 0;
#X connect 43 0 41 0;