-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdistortion~-help.pd
41 lines (41 loc) · 1.22 KB
/
distortion~-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
#N canvas 178 231 501 301 10;
#X obj 30 154 distortion~;
#X floatatom 66 131 5 0 0 0 - knee -, f 5;
#X floatatom 102 117 5 0 0 0 - cut -, f 5;
#X obj 30 112 osc~ 270;
#X floatatom 30 90 5 0 0 0 - - -, f 5;
#X obj 30 224 *~ 0.1;
#X obj 30 252 dac~;
#X msg 156 139 \; pd dsp \$1;
#X obj 156 118 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 158 184 hsl 128 15 0.001 0.4 0 0 knee knee-input knee -2 -6
0 8 -259157 -1 -1 1560 1;
#X obj 157 216 hsl 128 15 0.01 1 0 0 cut cut-input cut -2 -6 0 8 -259157
-1 -1 1796 1;
#X obj 30 191 lop~ 8000;
#N canvas 0 22 180 162 initialize 0;
#X obj 2 23 loadbang;
#X msg 58 64 0.15;
#X msg 3 58 0.05;
#X obj 3 108 s knee-input;
#X obj 34 89 s cut-input;
#X connect 0 0 1 0;
#X connect 0 0 2 0;
#X connect 1 0 4 0;
#X connect 2 0 3 0;
#X restore 154 246 pd initialize;
#X obj 23 13 cnv 15 160 25 empty empty LyonPotpourri 20 12 1 18 -260097
-204786 0;
#X text 25 49 distortion~ uses an internal transfer function to shape
the wave. "knee" is where the transfer function starts to bend and
"cut" is the clipping point., f 79;
#X connect 0 0 11 0;
#X connect 1 0 0 1;
#X connect 2 0 0 2;
#X connect 3 0 0 0;
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 5 0 6 1;
#X connect 8 0 7 0;
#X connect 11 0 5 0;