-
Notifications
You must be signed in to change notification settings - Fork 1
/
dkdistort~.pd
54 lines (54 loc) · 1.3 KB
/
dkdistort~.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
#N canvas 1457 341 823 487 12;
#X obj 338 113 t f f, f 16;
#X obj 338 153 * 2;
#X obj 434 141 t b f;
#X msg 436 167 1;
#X obj 436 191 -, f 6;
#X obj 339 238 /, f 12;
#X text 469 113 2*(amt/(1-amt));
#X obj 228 298 abs~;
#X obj 228 346 +~ 1;
#X obj 339 262 t f f, f 11;
#X obj 338 306 + 1;
#X obj 192 376 /~;
#X obj 158 271 *~ 1;
#X obj 228 322 *~ 0;
#X obj 158 26 inlet~;
#X obj 338 66 f \$1;
#X obj 392 30 loadbang;
#X obj 327 13 inlet;
#X obj 192 400 outlet~;
#X obj 338 90 clip -1 1;
#X text 335 381 based on waveshaper from musicdsp by;
#X text 337 399 partrice tarrabia and bram de jong;
#X text 11 9 dkdistort~ - distortion by waveshaping;
#X text 2 69 inlet: signal \, amount;
#X text 8 91 args: amount;
#X text 13 116 outlet: signal;
#X text 633 26 derek kwan;
#X text 641 49 pdkvabs 2018;
#X text 645 76 gpl v 3;
#X obj 436 215 max 1e-30;
#X connect 0 0 1 0;
#X connect 0 1 2 0;
#X connect 1 0 5 0;
#X connect 2 0 3 0;
#X connect 2 1 4 1;
#X connect 3 0 4 0;
#X connect 4 0 29 0;
#X connect 5 0 9 0;
#X connect 7 0 13 0;
#X connect 8 0 11 1;
#X connect 9 0 10 0;
#X connect 9 1 13 1;
#X connect 10 0 12 1;
#X connect 11 0 18 0;
#X connect 12 0 11 0;
#X connect 13 0 8 0;
#X connect 14 0 12 0;
#X connect 14 0 7 0;
#X connect 15 0 19 0;
#X connect 16 0 15 0;
#X connect 17 0 15 0;
#X connect 19 0 0 0;
#X connect 29 0 5 1;