#N canvas 600 60 649 602 12;
#X floatatom 135 247 5 0 0 2 knee knee -;
#X floatatom 221 247 5 0 0 2 cut cut -;
#X obj 49 239 osc~ 270;
#X floatatom 49 217 5 50 10000 0 - - -;
#X obj 228 385 hsl 128 15 0.001 0.4 0 0 knee knee-input knee -2 -6
0 8 -259157 -1 -1 1560 1;
#X obj 227 417 hsl 128 15 0.01 1 0 0 cut cut-input cut -2 -6 0 8 -259157
-1 -1 1796 1;
#X obj 49 318 lop~ 8000;
#X obj 49 281 lyonpotpourri/distortion~;
#X obj 49 378 lpp-meters;
#X obj 46 26 lpp-icon distortion~;
#X text 274 53 - linear transfer function distortion;
#N canvas 0 23 180 162 init 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 224 447 pd init;
#X text 43 139 [distortion~] creates an internal transfer function
to shape the wave. "knee" is where the transfer function starts to
bend and "cut" is the clipping point. The transfer function is linearly
interpolated from the bend point to the cut point., f 79;
#X connect 0 0 7 1;
#X connect 1 0 7 2;
#X connect 2 0 7 0;
#X connect 3 0 2 0;
#X connect 6 0 8 0;
#X connect 6 0 8 1;
#X connect 7 0 6 0;
