-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbl.sq~-help.pd
98 lines (98 loc) · 2.73 KB
/
bl.sq~-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
#N canvas 583 224 582 383 10;
#X obj 35 264 dac~;
#X obj 40 235 *~;
#N canvas 0 22 542 489 fader 0;
#X obj 97 310 dbtorms;
#X obj 100 102 vsl 30 64 101 1 1 0 empty empty empty 0 -9 0 10 -203904
-1 -1 0 1;
#X obj 93 238 - 1;
#X msg 93 260 100 \$1;
#X obj 94 282 -;
#X obj 96 372 outlet~;
#X obj 98 348 line~;
#X msg 102 325 \$1 2;
#X connect 0 0 7 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 0 0;
#X connect 6 0 5 0;
#X connect 7 0 6 0;
#X coords 0 -1 1 1 30 70 2 100 100;
#X restore 77 209 pd fader;
#X obj 275 178 dac~;
#X obj 280 149 *~;
#N canvas 0 22 542 489 fader 0;
#X obj 97 310 dbtorms;
#X obj 100 102 vsl 30 64 101 1 1 0 empty empty empty 0 -9 0 10 -203904
-1 -1 0 1;
#X obj 93 238 - 1;
#X msg 93 260 100 \$1;
#X obj 94 282 -;
#X obj 96 372 outlet~;
#X obj 98 348 line~;
#X msg 102 325 \$1 2;
#X connect 0 0 7 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 0 0;
#X connect 6 0 5 0;
#X connect 7 0 6 0;
#X coords 0 -1 1 1 30 70 2 100 100;
#X restore 379 124 pd fader;
#X obj 279 39 osc~ 2;
#X obj 279 59 *~ 3;
#X obj 279 99 mtof~;
#X text 8 -44 creation paramters:;
#X text 35 -29 1 frequency;
#X text 35 -2 3 cut off frequency \, stops generating harmonics at
this frequency (cannot be higher than the nyquist limit);
#X text 327 82 default cut off frequency is nyquist limit;
#X obj 41 144 mtof;
#X floatatom 41 122 5 0 0 0 - - -;
#X msg 112 82 max \$1;
#X floatatom 112 62 5 0 734 0 - - -;
#X floatatom 141 108 5 0 22050 0 - - -;
#X msg 141 128 cutoff \$1;
#X floatatom 152 158 5 0 0 1 phase - -;
#X text 147 65 comment;
#X text 199 234 cutoff sets cutoff frequency \, 0 sets default (nyquist
limit). Any value greater than the nyquist limit will be ignored.;
#X obj 279 79 +~ 33;
#X obj 251 282 bandlimited~ saw 0 1;
#X text 217 291 see:;
#X text 327 66 default max harmonics is 1104;
#X text 35 -16 2 max number of generated harmonics;
#X obj 40 187 bl.sq~ 77 80 7000 1;
#X text 36 25 4 approximate waveform (less cpu);
#X obj 279 120 bl.sq~ 0 0 0 1;
#X obj 386 282 bl.rsaw~ 0 1;
#X obj 324 303 bl.saw~ 0 1;
#X obj 251 303 bl.tri~ 0 1;
#X obj 398 302 bl.sawtri~ 0 1;
#X obj 467 280 bl.pulse~ 0 1;
#X text 269 -50 Generates a bandlimited square wave;
#X text 200 205 max method sets the max number of generated harmonics
\, 0 sets default (1104).;
#X text 56 304 Apache License 2;
#X text 45 290 (C) Paulo Casaes \, 2010;
#X connect 1 0 0 0;
#X connect 1 0 0 1;
#X connect 2 0 1 1;
#X connect 4 0 3 0;
#X connect 4 0 3 1;
#X connect 5 0 4 1;
#X connect 6 0 7 0;
#X connect 7 0 22 0;
#X connect 8 0 29 0;
#X connect 13 0 27 0;
#X connect 14 0 13 0;
#X connect 15 0 27 1;
#X connect 16 0 15 0;
#X connect 17 0 18 0;
#X connect 18 0 27 1;
#X connect 19 0 27 1;
#X connect 22 0 8 0;
#X connect 27 0 1 0;
#X connect 29 0 4 0;