aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/cosx~-help.pd
blob: 26ff04f17f93e0402b211bbc3309a72561ce73a2 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
#N canvas 551 83 558 532 10;
#X obj 1 507 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X obj 0 322 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#N canvas 485 354 381 301 META 0;
#X text 0 22 LICENSE SIBSD;
#X text 0 102 LIBRARY cyclone;
#X text 0 62 INLET_0 signal;
#X text 0 82 OUTLET_0 signal;
#X text 0 42 DESCRIPTION takes the cosine function for signals;
#X text 0 0 KEYWORDS cosine cosx signal cos;
#X text 0 122 VERSION 0.1-alpha57;
#X text 0 140 AUTHOR Krzysztof Czaja;
#X text 1 158 RELEASE_DATE 2002;
#X text 2 177 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 2 209 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan
Wilkes for Pd-extended 0.42 to conform to the PDDP template. Alex Cleveland
updated this patch for Pd-l2ork version 2013.05.28. Fred Jan Kraan
adapted the patch to pd-extended 2015-02-02;
#X restore 501 509 pd META;
#X obj 1 360 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 1 397 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 1 431 cnv 3 550 3 empty empty more_info 8 12 0 13 -228856 -1
0;
#N canvas 209 459 428 170 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 6 1 Related Objects;
#X obj 6 74 cyclone/acosh~;
#X obj 7 27 cyclone/acos;
#X obj 106 74 cyclone/asinh~;
#X obj 107 50 cyclone/asin~;
#X obj 203 49 cyclone/atan~;
#X obj 203 74 cyclone/atanh~;
#X obj 6 121 cyclone/cosh~;
#X obj 6 98 cyclone/cosh;
#X obj 6 146 cyclone/cosx~;
#X obj 6 51 cyclone/acos~;
#X obj 107 28 cyclone/asin;
#X obj 107 98 cyclone/sinh;
#X obj 106 121 cyclone/sinh~;
#X obj 106 145 cyclone/sinx~;
#X obj 203 97 cyclone/tanh;
#X obj 204 120 cyclone/tanh~;
#X obj 203 144 cyclone/tanx~;
#X obj 308 26 cos~;
#X restore 206 509 pd Related_objects;
#X obj 79 371 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 1 0 cnv 15 552 40 empty empty cosx~ 3 12 0 18 -204280 -1 0;
#X text 112 335 signal;
#X text 112 371 signal;
#X text 112 413 (none);
#X obj 372 92 *~ 6.28319;
#X text 104 453 this is a real cosine function whose input expects
values between 0 and 2pi (unlike cos~ which is designed to work with
phasor~'s output from 0 to 1);
#X text 168 335 - input to cos function;
#X text 168 371 - output of cos function;
#X obj 508 4 cosx~;
#X text 312 45 cosine function (cos(x)) for signals;
#X obj 79 335 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 257 217 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 257 238 tabwrite~ osc-cosx;
#X obj 373 272 output~;
#X obj 372 184 cyclone/cosx~;
#X obj 372 70 phasor~ 220;
#X text 40 169 1;
#X text 33 299 -1;
#X obj 52 174 hsl 195 140 0 127 0 0 blank_outlet blank_inlet empty
-2 -8 0 10 -262144 -262144 -262144 3300 1;
#N canvas 0 0 450 300 (subpatch) 0;
#X array osc-cosx 1024 float 1;
#A 0 -0.961646 -0.96977 -0.976941 -0.983153 -0.988398 -0.992673 -0.995972
-0.998293 -0.999633 -0.999991 -0.999367 -0.99776 -0.995174 -0.99161
-0.987072 -0.981564 -0.975092 -0.967662 -0.959281 -0.949958 -0.939701
-0.928522 -0.91643 -0.903438 -0.889558 -0.874804 -0.859191 -0.842734
-0.825449 -0.807353 -0.788465 -0.768801 -0.748382 -0.727228 -0.705359
-0.682797 -0.659565 -0.635685 -0.61118 -0.586075 -0.560394 -0.534162
-0.507406 -0.480151 -0.452425 -0.424254 -0.395666 -0.36669 -0.337353
-0.307685 -0.277714 -0.247471 -0.216985 -0.186286 -0.155403 -0.124368
-0.0932106 -0.0619615 -0.0306515 0.000688088 0.032027 0.063335 0.0945807
0.125734 0.156762 0.187638 0.218328 0.248805 0.279037 0.308994 0.338648
0.36797 0.39693 0.425499 0.453652 0.481358 0.508592 0.535325 0.561533
0.58719 0.612269 0.636746 0.660599 0.683802 0.706334 0.728172 0.749294
0.76968 0.78931 0.808165 0.826225 0.843474 0.859895 0.87547 0.890186
0.904027 0.91698 0.929032 0.940171 0.950387 0.959669 0.968008 0.975396
0.981826 0.987292 0.991787 0.995308 0.997852 0.999415 0.999996 0.999595
0.998212 0.995848 0.992506 0.988189 0.982901 0.976648 0.969435 0.961269
0.95216 0.942114 0.931144 0.919258 0.90647 0.892791 0.878235 0.862816
0.846549 0.829451 0.811538 0.792828 0.773338 0.753089 0.732101 0.710393
0.687987 0.664905 0.64117 0.616805 0.591834 0.566282 0.540173 0.513534
0.48639 0.458768 0.430696 0.402201 0.37331 0.344053 0.314457 0.284553
0.254369 0.223936 0.193282 0.162439 0.131435 0.100303 0.0690724 0.0377738
0.00643793 -0.0249042 -0.0562217 -0.0874841 -0.118661 -0.14972 -0.180633
-0.211369 -0.241896 -0.272186 -0.302209 -0.331935 -0.361334 -0.390379
-0.41904 -0.44729 -0.4751 -0.502443 -0.529293 -0.555623 -0.581406 -0.606619
-0.631236 -0.655232 -0.678585 -0.701272 -0.723269 -0.744556 -0.765111
-0.784915 -0.803947 -0.82219 -0.839625 -0.856235 -0.872004 -0.886917
-0.900958 -0.914114 -0.926371 -0.937719 -0.948146 -0.957641 -0.966195
-0.9738 -0.980449 -0.986134 -0.99085 -0.994593 -0.997359 -0.999145
-0.99995 -0.999772 -0.998612 -0.996471 -0.993351 -0.989255 -0.984187
-0.978153 -0.971157 -0.963208 -0.954312 -0.944478 -0.933717 -0.922038
-0.909454 -0.895976 -0.881618 -0.866394 -0.850319 -0.833408 -0.815678
-0.797148 -0.777834 -0.757756 -0.736933 -0.715387 -0.693137 -0.670207
-0.646618 -0.622395 -0.597559 -0.572137 -0.546153 -0.519632 -0.4926
-0.465085 -0.437113 -0.408711 -0.379907 -0.350731 -0.32121 -0.291373
-0.26125 -0.230871 -0.200265 -0.169462 -0.138492 -0.107386 -0.0761753
-0.0448891 -0.0135594 0.0177841 0.0491097 0.0803876 0.111586 0.142676
0.173624 0.204403 0.23498 0.265327 0.295413 0.325208 0.354685 0.383813
0.412563 0.440909 0.468821 0.496273 0.523237 0.549687 0.575598 0.600942
0.625696 0.649836 0.673337 0.696177 0.718333 0.739783 0.760506 0.780482
0.799692 0.818116 0.835736 0.852535 0.868496 0.883604 0.897845 0.911203
0.923666 0.935222 0.945858 0.955566 0.964335 0.972156 0.979023 0.984927
0.989864 0.993829 0.996817 0.998826 0.999853 0.999899 0.998962 0.997044
0.994146 0.990272 0.985425 0.979609 0.972832 0.965098 0.956417 0.946796
0.936245 0.924774 0.912394 0.899118 0.884959 0.86993 0.854047 0.837325
0.81978 0.80143 0.782292 0.762386 0.741731 0.720348 0.698256 0.675479
0.652038 0.627957 0.603258 0.577967 0.552108 0.525707 0.498789 0.471381
0.443511 0.415204 0.386489 0.357395 0.32795 0.298183 0.268122 0.237798
0.207241 0.17648 0.145546 0.114468 0.0832786 0.0520069 0.0206843 -0.0106588
-0.0419914 -0.0732826 -0.104502 -0.135619 -0.166602 -0.197422 -0.228048
-0.258449 -0.288597 -0.318462 -0.348013 -0.377223 -0.406062 -0.434502
-0.462515 -0.490074 -0.517151 -0.543721 -0.569756 -0.595231 -0.620122
-0.644403 -0.668052 -0.691044 -0.713357 -0.734969 -0.75586 -0.776007
-0.795393 -0.813997 -0.831801 -0.848788 -0.864942 -0.880245 -0.894684
-0.908244 -0.920912 -0.932675 -0.943521 -0.953441 -0.962424 -0.970462
-0.977546 -0.98367 -0.988827 -0.993013 -0.996223 -0.998455 -0.999706
-0.999975 -0.999261 -0.997566 -0.994891 -0.991238 -0.986611 -0.981015
-0.974456 -0.966939 -0.958472 -0.949064 -0.938723 -0.92746 -0.915286
-0.902213 -0.888253 -0.873421 -0.85773 -0.841197 -0.823838 -0.805669
-0.786709 -0.766976 -0.746489 -0.725269 -0.703337 -0.680713 -0.657421
-0.633483 -0.608923 -0.583764 -0.558032 -0.531752 -0.504949 -0.47765
-0.449882 -0.421672 -0.393048 -0.364037 -0.334669 -0.304973 -0.274976
-0.244709 -0.214203 -0.183486 -0.152588 -0.12154 -0.0903731 -0.0591176
-0.0278036 0.00353718 0.034875 0.0661781 0.0974166 0.128559 0.159576
0.190435 0.221108 0.251563 0.281771 0.311703 0.341328 0.370618 0.399544
0.428076 0.456189 0.483853 0.511043 0.53773 0.563888 0.589494 0.614519
0.638941 0.662735 0.685879 0.708348 0.730122 0.751178 0.771496 0.791056
0.80984 0.827827 0.845002 0.861346 0.876844 0.89148 0.905241 0.918113
0.930082 0.941138 0.951269 0.960466 0.968719 0.97602 0.982363 0.98774
0.992147 0.99558 0.998034 0.999508 1 0.99951 0.998037 0.995585 0.992154
0.987748 0.982372 0.976031 0.968732 0.96048 0.951285 0.941155 0.930101
0.918133 0.905263 0.891504 0.876868 0.861372 0.845029 0.827856 0.80987
0.791088 0.771529 0.751212 0.730157 0.708384 0.685916 0.662774 0.638981
0.61456 0.589535 0.563931 0.537773 0.511087 0.483898 0.456235 0.428123
0.39959 0.370665 0.341376 0.311751 0.281821 0.251613 0.221158 0.190486
0.159626 0.12861 0.0974678 0.0662297 0.0349263 0.00358874 -0.0277525
-0.0590663 -0.0903221 -0.121489 -0.152537 -0.183435 -0.214153 -0.24466
-0.274927 -0.304924 -0.334621 -0.36399 -0.393001 -0.421625 -0.449836
-0.477605 -0.504904 -0.531708 -0.557989 -0.583722 -0.608882 -0.633443
-0.657382 -0.680676 -0.7033 -0.725234 -0.746455 -0.766943 -0.786677
-0.805639 -0.823809 -0.841169 -0.857704 -0.873396 -0.888229 -0.90219
-0.915265 -0.927441 -0.938705 -0.949048 -0.958458 -0.966926 -0.974444
-0.981005 -0.986603 -0.991231 -0.994885 -0.997562 -0.999259 -0.999974
-0.999707 -0.998458 -0.996228 -0.993019 -0.988835 -0.983679 -0.977557
-0.970474 -0.962438 -0.953456 -0.943538 -0.932693 -0.920932 -0.908266
-0.894707 -0.88027 -0.864968 -0.848816 -0.83183 -0.814027 -0.795424
-0.77604 -0.755893 -0.735004 -0.713393 -0.691081 -0.66809 -0.644442
-0.620162 -0.595272 -0.569798 -0.543763 -0.517195 -0.490118 -0.46256
-0.434548 -0.406109 -0.37727 -0.348061 -0.31851 -0.288646 -0.258499
-0.228097 -0.197472 -0.166653 -0.13567 -0.104553 -0.0733336 -0.0420427
-0.01071 0.0206327 0.0519557 0.0832276 0.114417 0.145495 0.17643 0.207191
0.237748 0.268073 0.298134 0.327902 0.357347 0.386442 0.415157 0.443464
0.471336 0.498744 0.525663 0.552065 0.577925 0.603217 0.627917 0.651999
0.675441 0.698219 0.720312 0.741697 0.762353 0.782261 0.801399 0.819751
0.837297 0.85402 0.869905 0.884935 0.899096 0.912373 0.924754 0.936226
0.946779 0.956402 0.965085 0.97282 0.979599 0.985416 0.990265 0.994141
0.99704 0.99896 0.999898 0.999854 0.998828 0.996821 0.993834 0.989871
0.984936 0.979033 0.972168 0.964348 0.955581 0.945875 0.93524 0.923686
0.911224 0.897867 0.883629 0.868522 0.852562 0.835764 0.818145 0.799723
0.780514 0.76054 0.739817 0.718368 0.696214 0.673375 0.649875 0.625736
0.600983 0.575639 0.54973 0.523281 0.496318 0.468866 0.440955 0.41261
0.38386 0.354733 0.325257 0.295462 0.265376 0.23503 0.204453 0.173675
0.142726 0.111637 0.0804388 0.0491614 0.0178355 -0.0135078 -0.044838
-0.076124 -0.107335 -0.138441 -0.169411 -0.200214 -0.230821 -0.261201
-0.291324 -0.321161 -0.350683 -0.37986 -0.408664 -0.437066 -0.465039
-0.492555 -0.519588 -0.54611 -0.572095 -0.597518 -0.622355 -0.64658
-0.670169 -0.6931 -0.715351 -0.736899 -0.757722 -0.777801 -0.797117
-0.815649 -0.833379 -0.850292 -0.866368 -0.881594 -0.895953 -0.909433
-0.922019 -0.933699 -0.944462 -0.954296 -0.963194 -0.971145 -0.978142
-0.984178 -0.989248 -0.993345 -0.996467 -0.998609 -0.999771 -0.999951
-0.999148 -0.997363 -0.994599 -0.990857 -0.986143 -0.980459 -0.973812
-0.966208 -0.957656 -0.948162 -0.937737 -0.926391 -0.914134 -0.90098
-0.88694 -0.872029 -0.856262 -0.839653 -0.822219 -0.803978 -0.784947
-0.765144 -0.74459 -0.723305 -0.701308 -0.678623 -0.655271 -0.631276
-0.60666 -0.581448 -0.555665 -0.529336 -0.502488 -0.475145 -0.447335
-0.419087 -0.390427 -0.361382 -0.331983 -0.302258 -0.272236 -0.241946
-0.211418 -0.180684 -0.149772 -0.118712 -0.0875352 -0.0562728 -0.0249555
0.00638673 0.0377222 0.0690212 0.100252 0.131384 0.162388 0.193232
0.223886 0.254319 0.284504 0.314409 0.344005 0.373262 0.402154 0.43065
0.458723 0.486345 0.51349 0.54013 0.56624 0.591793 0.616764 0.641131
0.664866 0.687949 0.710356 0.732066 0.753056 0.773306 0.792796 0.811508
0.829422 0.846522 0.86279 0.87821 0.892768 0.906448 0.919238 0.931125
0.942097 0.952144 0.961255 0.969422 0.976637 0.982892 0.988181 0.9925
0.995843 0.998209 0.999593 0.999996 0.999416 0.997855 0.995313 0.991794
0.9873 0.981836 0.975407 0.968021 0.959683 0.950403 0.940188 0.929051
0.917 0.904049 0.890209 0.875495 0.859921 0.843502 0.826254 0.808195
0.789342 0.769713 0.749328 0.728207 0.70637 0.68384 0.660638 0.636786
0.612309 0.587231 0.561576 0.535369 0.508636 0.481403 0.453697 0.425546
0.396977 0.368017 0.338697 0.309043 0.279086 0.248854 0.218378 0.187688
0.156813 0.125784 0.0946318 0.0633863 0.0320787 0.000739531 -0.0306005
-0.0619104 -0.0931594 -0.124317 -0.155352 -0.186235 -0.216935 -0.247422
-0.277665 -0.307636 -0.337305 -0.366642 -0.395619 -0.424207 -0.452379
-0.480106 -0.507362 -0.534119 -0.560352 -0.586033 -0.61114 -0.635645
-0.659527 -0.68276 -0.705323 -0.727192 -0.748348 -0.768768 -0.788433
-0.807323 -0.82542 -0.842707 -0.859165 -0.87478 -0.889535 -0.903416
-0.916409 -0.928503;
#A 1000 -0.939684 -0.949942 -0.959266 -0.967649 -0.97508 -0.981554
-0.987064 -0.991603 -0.995169 -0.997757 -0.999365 -0.999991 -0.999634
-0.998296 -0.995977 -0.992679 -0.988406 -0.983162 -0.976952 -0.969783
-0.961661 -0.952594 -0.942591 -0.931662;
#X coords 0 1 1023 -1 200 140 1 0 0;
#X restore 49 174 graph;
#X connect 12 0 22 0;
#X connect 19 0 20 0;
#X connect 22 0 20 0;
#X connect 22 0 21 0;
#X connect 22 0 21 1;
#X connect 23 0 12 0;