-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathBAND_LIMITED.pd
233 lines (233 loc) · 6.33 KB
/
BAND_LIMITED.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
#N canvas 91 135 1098 469 10;
#X obj 105 105 vradio 15 1 0 4 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X obj 264 195 mtof;
#X floatatom 264 142 5 0 0 0 - - -;
#X text 124 122 triangle;
#X text 124 138 sawtooth;
#X text 124 153 square;
#X obj 264 163 min 106;
#N canvas 1 77 1226 560 ARRAYS 0;
#X text 376 246 triangle;
#X text 383 327 sawtooth;
#X text 363 407 square;
#X floatatom 70 52 5 0 0 0 - - -;
#X obj 70 28 r \$0_wForm;
#X obj 240 30 array define \$0_wformA 512;
#X obj 470 30 array define \$0_wformB 512;
#X obj 670 30 array define \$0_wformC 512;
#X msg 36 424 sinesum 512 1 0 0.333333 0 0.2 0 0.142857 0 0.111111
0 0.0909091 0 0.0769231 0 \, normalize;
#X msg 36 344 sinesum 512 1 0.5 0.333333 0.25 0.2 0.166667 0.142857
0.125 0.111111 0.1 0.0909091 0.0833333 0.0769231 0.0714286 \, normalize
;
#X msg 36 275 sinesum 512 1 0 -0.111111 0 0.04 0 -0.0204082 0 0.0123457
0 -0.00826446 0 0.00591716 0 \, normalize;
#X msg 496 275 sinesum 512 1 0 -0.111111 0 0.04 0 -0.0204082 0 0.0123457
0 -0.00826446 \, normalize;
#X msg 936 275 sinesum 512 1 0 -0.111111 0 0.04 \, normalize;
#X msg 936 344 sinesum 512 1 0.5 0.333333 0.25 0.2 \, normalize;
#X msg 936 424 sinesum 512 1 0 0.333333 0 0.2 \, normalize;
#X msg 496 344 sinesum 512 1 0.5 0.333333 0.25 0.2 0.166667 0.142857
0.125 0.111111 0.1 0.0909091 \, normalize;
#X msg 496 424 sinesum 512 1 0 0.333333 0 0.2 0 0.142857 0 0.111111
0 0.0909091 \, normalize;
#X obj 95 516 s \$0_wformA;
#X obj 505 516 s \$0_wformB;
#X obj 945 516 s \$0_wformC;
#X obj 70 87 sel 0 1 2 3;
#X connect 3 0 20 0;
#X connect 4 0 3 0;
#X connect 8 0 17 0;
#X connect 9 0 17 0;
#X connect 10 0 17 0;
#X connect 11 0 18 0;
#X connect 12 0 19 0;
#X connect 13 0 19 0;
#X connect 14 0 19 0;
#X connect 15 0 18 0;
#X connect 16 0 18 0;
#X connect 20 1 10 0;
#X connect 20 1 11 0;
#X connect 20 1 12 0;
#X connect 20 2 9 0;
#X connect 20 2 15 0;
#X connect 20 2 13 0;
#X connect 20 3 8 0;
#X connect 20 3 16 0;
#X connect 20 3 14 0;
#X restore 441 254 pd ARRAYS;
#N canvas 1 77 450 300 volume 0;
#X msg 74 95 \$1 5;
#X obj 74 119 line~;
#X obj 59 150 *~;
#X obj 59 43 inlet~;
#X obj 59 209 outlet~;
#X obj 189 43 inlet;
#X connect 0 0 1 0;
#X connect 1 0 2 1;
#X connect 2 0 4 0;
#X connect 3 0 2 0;
#X connect 5 0 0 0;
#X restore 264 311 pd volume;
#N canvas 1 77 710 589 OSCILS 0;
#X obj 96 265 phasor~;
#X msg 96 154 \$1 5;
#X obj 96 198 line~;
#X floatatom 96 43 7 0 0 0 freq - -;
#X obj 96 313 +~ 1;
#X obj 96 407 *~;
#X obj 216 407 *~;
#X floatatom 280 287 5 0 0 0 - - -;
#X msg 280 308 \$1 5;
#X obj 280 332 line~;
#X floatatom 330 287 5 0 0 0 - - -;
#X msg 330 308 \$1 5;
#X obj 330 332 line~;
#X obj 172 157 <= 10000;
#X obj 242 157 > 10000;
#X obj 172 110 * 14;
#X obj 346 407 *~;
#X floatatom 380 287 5 0 0 0 - - -;
#X msg 380 308 \$1 5;
#X obj 380 332 line~;
#X obj 330 147 <= 18000;
#X obj 330 231 +;
#X obj 330 171 t b f;
#X obj 330 255 == 2;
#X obj 330 110 * 11;
#X obj 380 255 > 18000;
#X obj 96 289 *~ 512;
#X obj 96 12 inlet;
#X obj 96 561 outlet~;
#X obj 96 64 t f f f;
#X obj 96 383 tabread4~ \$0_wformA;
#X obj 216 383 tabread4~ \$0_wformB;
#X obj 346 383 tabread4~ \$0_wformC;
#X obj 257 456 r \$0_wForm;
#X obj 257 477 sel 0;
#X obj 96 489 *~;
#X msg 257 521 \$1 5;
#X obj 257 542 line~;
#X msg 284 497 1;
#X msg 257 497 0;
#X obj 146 265 osc~;
#X obj 136 489 *~;
#X obj 201 502 -~;
#X obj 201 472 sig~ 1;
#X obj 96 229 *~;
#X obj 146 229 *~;
#X text 337 459 switch between sine and other waveforms \;;
#X connect 0 0 26 0;
#X connect 1 0 2 0;
#X connect 2 0 44 0;
#X connect 2 0 45 0;
#X connect 3 0 29 0;
#X connect 4 0 30 0;
#X connect 4 0 31 0;
#X connect 4 0 32 0;
#X connect 5 0 35 0;
#X connect 6 0 35 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 5 1;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 12 0 6 1;
#X connect 13 0 7 0;
#X connect 14 0 21 0;
#X connect 15 0 14 0;
#X connect 15 0 13 0;
#X connect 16 0 35 0;
#X connect 17 0 18 0;
#X connect 18 0 19 0;
#X connect 19 0 16 1;
#X connect 20 0 22 0;
#X connect 21 0 23 0;
#X connect 22 0 21 0;
#X connect 22 1 21 1;
#X connect 23 0 10 0;
#X connect 24 0 20 0;
#X connect 24 0 25 0;
#X connect 25 0 17 0;
#X connect 26 0 4 0;
#X connect 27 0 3 0;
#X connect 29 0 1 0;
#X connect 29 1 15 0;
#X connect 29 2 24 0;
#X connect 30 0 5 0;
#X connect 31 0 6 0;
#X connect 32 0 16 0;
#X connect 33 0 34 0;
#X connect 34 0 39 0;
#X connect 34 1 38 0;
#X connect 35 0 28 0;
#X connect 36 0 37 0;
#X connect 37 0 35 1;
#X connect 37 0 42 1;
#X connect 37 0 44 1;
#X connect 38 0 36 0;
#X connect 39 0 36 0;
#X connect 40 0 41 0;
#X connect 41 0 28 0;
#X connect 42 0 41 1;
#X connect 42 0 45 1;
#X connect 43 0 42 0;
#X connect 44 0 0 0;
#X connect 45 0 40 0;
#X restore 264 257 pd OSCILS;
#X floatatom 264 219 7 0 0 1 freq_Hz - -;
#X obj 105 57 loadbang;
#X msg 105 81 0;
#X obj 264 36 inlet;
#X obj 105 212 s \$0_wForm;
#X obj 351 156 inlet;
#X text 258 17 MIDI note;
#X text 345 117 volume (0-1);
#X obj 264 355 outlet~;
#X obj 451 156 inlet;
#X text 445 117 waveform (0-2);
#X obj 451 198 max 0;
#X text 124 107 sine;
#X obj 451 177 min 3;
#X obj 264 60 route float print_outlets;
#X obj 337 83 s \$0_print_outlets;
#X obj 613 37 r \$0_print_outlets;
#X obj 613 143 print -n;
#X msg 613 61 BAND_LIMITED OUTLETS \, 1: audio out \;;
#X obj 629 83 r \$0_print_methods;
#X msg 629 104 BAND_LIMITED METHODS;
#X text 632 199 Copyright 2019-2020 Focusrite Audio Engineering Limited.
;
#X text 663 311 http://www.apache.org/licenses/LICENSE-2.0;
#X text 633 229 Licensed under the Apache License \, Version 2 (the
"License") \; you may not use this file except in compliance with the
License.;
#X text 633 276 You may obtain a copy of the License at;
#X text 633 341 Unless required by applicable law or agreed to in writing
\, software distributed under the License is distributed on an "AS
IS" BASIS \, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND \, either
express or implied.;
#X text 633 387 See the License for the specific language governing
permissions and limitations under the License.;
#X connect 0 0 14 0;
#X connect 1 0 10 0;
#X connect 2 0 6 0;
#X connect 6 0 1 0;
#X connect 8 0 18 0;
#X connect 9 0 8 0;
#X connect 10 0 9 0;
#X connect 11 0 12 0;
#X connect 12 0 0 0;
#X connect 13 0 24 0;
#X connect 15 0 8 1;
#X connect 19 0 23 0;
#X connect 21 0 0 0;
#X connect 23 0 21 0;
#X connect 24 0 2 0;
#X connect 24 1 25 0;
#X connect 26 0 28 0;
#X connect 28 0 27 0;
#X connect 29 0 30 0;
#X connect 30 0 27 0;
#X coords 0 -1 1 1 85 70 2 100 100;