aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/acos~-help.pd
blob: 1270a12ab17f3cebdf7457cbd732c17976bd0b1b (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
58
59
60
61
#N canvas 1129 269 809 467 10;
#X declare -lib cyclone;
#X declare -lib zexy;
#X text 17 371 input signal values outside the -1 to 1 range cause
acos~ to output the value zero;
#X text 8 357 outputs signal from 0 to pi when input is -1 to 1;
#X obj 545 228 -~ 1.5708;
#X text 396 73 select waveform:;
#X text 408 116 sawtooth;
#X text 425 154 triangle;
#X msg 469 152 2;
#X msg 457 126 1;
#X msg 462 93 0;
#X text 138 68 or create a sawtooth wave using phasor;
#X obj 545 271 *~ 0.2;
#X obj 545 249 /~ 1.5708;
#X obj 669 156 cycle~ 130;
#X obj 576 157 -~ 1;
#X obj 576 135 *~ 2;
#X obj 576 113 phasor~ 130;
#X obj 15 137 cycle~ 2;
#X msg 196 177 range 0 3.14159;
#X obj 147 138 -~ 1;
#X text 15 35 Arc-cosine function (acos(x)) for signals;
#X obj 147 115 *~ 2;
#X obj 147 93 phasor~ 2;
#X obj 545 308 dac~;
#X text 1 49 turn a sine wave into a triangle wave:;
#X text 437 98 off;
#X text 582 201 outputs signal from 0 to pi;
#X obj 574 17 import cyclone;
#X obj 676 17 import zexy;
#X obj 14 203 Scope~ 130 130 256 3 128 0 3.14159 0 0 0 0 102 255 51
135 135 135 0;
#X obj 157 205 Scope~ 130 130 256 3 128 0 3.14159 0 0 0 0 102 255 51
135 135 135 0;
#X obj 15 168 acos~;
#X obj 146 168 acos~;
#X obj 545 180 zexy/multiplex~ 0 1 2;
#X obj 545 202 acos~;
#X connect 2 0 11 0;
#X connect 6 0 32 0;
#X connect 7 0 32 0;
#X connect 8 0 32 0;
#X connect 10 0 22 0;
#X connect 10 0 22 1;
#X connect 11 0 10 0;
#X connect 12 0 32 2;
#X connect 13 0 32 1;
#X connect 14 0 13 0;
#X connect 15 0 14 0;
#X connect 16 0 30 0;
#X connect 17 0 28 0;
#X connect 17 0 29 0;
#X connect 18 0 31 0;
#X connect 20 0 18 0;
#X connect 21 0 20 0;
#X connect 30 0 28 0;
#X connect 31 0 29 0;
#X connect 32 0 33 0;
#X connect 33 0 2 0;