aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/tanh~-help.pd
blob: 2421c7bc249f8a0d0b724c05dc4a587dcf392606 (plain)
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
#N canvas 0 26 664 369 10;
#X obj 510 185 +~ 11;
#X obj 505 158 *~ 10;
#X obj 505 134 cycle~ 0.5;
#X obj 425 134 cycle~ 110;
#X floatatom 39 92 0 0 0 0 - - -;
#X obj 18 115 *~ 1;
#X text 22 338 outputs signal values always between -1 and 1;
#X obj 439 205 *~ 1;
#X obj 439 273 *~ 0.1;
#X obj 18 71 cycle~ 2;
#X obj 150 110 -~ 3.14159;
#X obj 150 87 *~ 6.28319;
#X obj 150 65 phasor~ 2;
#X obj 439 310 dac~;
#X text 477 242 outputs soft clipped signal;
#X text 15 11 Hyperbolic tangent function (tanh(x)) for signals;
#X text 11 33 turn a sine wave into a square wave by cranking up the
volume!;
#X text 327 95 can be used to simulate analog distortion \, and is
much "smoother" than using clip~;
#X obj 439 238 tanh~;
#X obj 18 175 Scope~ 130 130 256 3 128 -1 1 0 0 0 0 102 255 51 135
135 135 0;
#X obj 154 175 Scope~ 130 130 256 3 128 -1 1 0 0 0 0 102 255 51 135
135 135 0;
#X obj 150 141 tanh~;
#X obj 18 139 tanh~;
#N canvas 309 151 494 344 META 0;
#X text 12 165 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan
Wilkes for Pd-extended 0.42 to conform to the PDDP template.;
#X text 12 135 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 12 5 KEYWORDS signal trigonometry max_compatible;
#X text 12 45 DESCRIPTION hyperbolic tangent function (tanh(x)) for
signals;
#X text 12 95 OUTLET_0 signal;
#X text 12 75 INLET_0 signal;
#X text 12 25 LICENSE SIBSD;
#X text 12 115 AUTHOR Krzysztof Czaja;
#X restore 615 349 pd META;
#X connect 0 0 7 1;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 3 0 7 0;
#X connect 4 0 5 1;
#X connect 5 0 22 0;
#X connect 7 0 18 0;
#X connect 8 0 13 0;
#X connect 8 0 13 1;
#X connect 9 0 5 0;
#X connect 10 0 21 0;
#X connect 11 0 10 0;
#X connect 12 0 11 0;
#X connect 18 0 8 0;
#X connect 21 0 20 0;
#X connect 22 0 19 0;