/
notch~-help.pd
101 lines (101 loc) · 2.92 KB
/
notch~-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
#N canvas 0 465 1121 421 12;
#X text 8 52 summary:;
#X text 8 122 parameters:;
#X obj 593 95 noise~;
#X obj 1003 43 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 840 206 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 762 66 hsl 128 15 0.01 1000 1 0 empty empty empty -2 -8 0 10
-262144 -1 -1 0 1;
#X floatatom 769 86 5 0 0 0 - - -, f 5;
#X obj 829 116 hsl 128 15 160 16000 1 0 empty empty empty -2 -8 0 10
-262144 -1 -1 0 1;
#X floatatom 836 136 5 0 0 0 - - -, f 5;
#X text 812 86 Q;
#X text 879 135 freq (Hz.);
#X obj 593 225 env~;
#X floatatom 593 249 5 0 0 0 - - -, f 5;
#X obj 693 225 env~;
#X floatatom 693 249 5 0 0 0 - - -, f 5;
#X text 589 76 test signal;
#X text 1019 40 dsp on/off;
#X text 589 266 input gain;
#X text 689 266 output gain;
#X text 834 167 optional arguments (Q \, freq);
#N canvas 0 22 252 252 listen 0;
#X obj 89 20 inlet;
#X obj 18 175 *~;
#X obj 89 84 * 0.1;
#X msg 89 108 \$1 50;
#X obj 89 132 line~;
#X obj 18 207 dac~;
#X obj 18 20 inlet~;
#X msg 144 104 \; pd dsp 1;
#X obj 89 45 t f f;
#X obj 144 79 sel 1;
#X connect 0 0 8 0;
#X connect 1 0 5 0;
#X connect 1 0 5 1;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 1 1;
#X connect 6 0 1 0;
#X connect 8 0 2 0;
#X connect 8 1 9 0;
#X connect 9 0 7 0;
#X restore 771 225 pd listen;
#X text 28 289 (note: both parameters are optionally creation arguments.)
;
#N canvas 0 22 231 221 dsp 0;
#X obj 14 13 inlet;
#X obj 14 173 outlet;
#X obj 14 99 r pd;
#X obj 14 124 route dsp;
#X msg 14 149 set \$1;
#X msg 14 38 \; pd dsp \$1;
#X connect 0 0 5 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
#X restore 1003 61 pd dsp;
#X text 8 385 Elliot Patros 2016;
#X text 715 320 see also:;
#X text 547 342 second order filters;
#X text 571 366 equalizer filters;
#X obj 718 366 highshelf~;
#X obj 806 366 lowshelf~;
#X text 18 139 Q: filter sharpness or width. Q is flat at 1/sqrt(2)
\, or around 0.707 \, and higher Q values increase resonance. Values
are limited to 0 < Q < 1000 \, though the most useful range will probably
be 0 < Q <= 10 .;
#X obj 886 366 peak~;
#X text 856 204 volume on/off;
#X obj 63 13 notch~;
#X text 18 68 notch~ is a resonant notch filter. It takes two control
rate parameters: "Q" and "freq".;
#X text 140 14 -- second order resonant notch filter;
#X obj 693 167 notch~ 0.707 1000;
#X obj 718 342 lowpass~;
#X obj 790 342 highpass~;
#X obj 870 342 bandpass~;
#X obj 950 342 notch~;
#X text 571 391 nth order filters;
#X obj 718 390 fir~;
#X obj 1006 342 allpass~;
#X text 18 216 freq: filter cutoff frequency (Hz.). Controls the peak
resonant frequency \, which is attenuated. Values are limited to 0
< freq < nyquist to prevent the filter from becoming unstable.;
#X connect 2 0 11 0;
#X connect 2 0 35 0;
#X connect 3 0 22 0;
#X connect 4 0 20 1;
#X connect 5 0 6 0;
#X connect 5 0 35 1;
#X connect 7 0 8 0;
#X connect 7 0 35 2;
#X connect 11 0 12 0;
#X connect 13 0 14 0;
#X connect 22 0 3 0;
#X connect 35 0 13 0;
#X connect 35 0 20 0;