aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/sinx~-help.pd
blob: b013897a89d343b49664bb4387c5c27bf5f741da (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
226
227
#N canvas 506 79 558 504 10;
#X obj 0 476 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X obj 0 287 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#N canvas 621 284 359 228 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 0 KEYWORDS sine sinx signal sin;
#X text 0 42 DESCRIPTION takes the sine function for signals;
#X text 0 121 VERSION 0.1-alpha57;
#X text 0 139 AUTHOR Krzysztof Czaja;
#X text 1 157 RELEASE_DATE 2002;
#X text 2 176 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 2 208 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 504 478 pd META;
#X obj 0 328 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 365 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 0 403 cnv 3 550 3 empty empty more_info 8 12 0 13 -228856 -1
0;
#N canvas 327 405 428 172 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 3 73 cyclone/acosh~;
#X obj 4 26 cyclone/acos;
#X obj 103 73 cyclone/asinh~;
#X obj 104 49 cyclone/asin~;
#X obj 200 48 cyclone/atan~;
#X obj 200 73 cyclone/atanh~;
#X obj 3 120 cyclone/cosh~;
#X obj 3 97 cyclone/cosh;
#X obj 3 145 cyclone/cosx~;
#X obj 3 50 cyclone/acos~;
#X obj 104 27 cyclone/asin;
#X obj 104 97 cyclone/sinh;
#X obj 103 120 cyclone/sinh~;
#X obj 103 144 cyclone/sinx~;
#X obj 200 96 cyclone/tanh;
#X obj 201 119 cyclone/tanh~;
#X obj 200 143 cyclone/tanx~;
#X obj 305 25 cos~;
#X restore 212 478 pd Related_objects;
#X obj 79 300 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 79 337 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 0 0 cnv 15 552 40 empty empty sinx~ 3 12 0 18 -204280 -1 0;
#X text 113 337 signal;
#X text 113 300 signal;
#X text 112 375 (none);
#X obj 509 9 sinx~;
#X obj 81 83 *~ 6.28319;
#X text 172 300 - signal to take sinx of;
#X text 172 337 - sin of signal;
#X text 113 416 this is a real sine function whose input expects values
between 0 and 2pi (unlike sin~ which is designed to work with phasor~'s
output from 0 to 1);
#X text 22 24 sine function (sin(x)) for signals;
#X obj 89 208 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 433 203 output~;
#X obj 81 58 phasor~ 200;
#X obj 80 145 cyclone/sinx~;
#X obj 230 102 hsl 195 140 0 127 0 0 eliminate_outlet eliminate_inlet
empty -2 -8 0 10 -262144 -262144 -262144 0 1;
#X text 214 96 1;
#X text 207 225 -1;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0-osc-sinx 1024 float 1;
#A 0 0.349878 0.376427 0.402669 0.428585 0.454153 0.479353 0.504163
0.528563 0.552535 0.576058 0.599113 0.621682 0.643746 0.665287 0.686288
0.706732 0.726603 0.745883 0.764557 0.782611 0.80003 0.816799 0.832904
0.848334 0.863074 0.877114 0.890442 0.903047 0.914919 0.926047 0.936424
0.946041 0.954889 0.962963 0.970254 0.976757 0.982468 0.987381 0.991492
0.994798 0.997297 0.998985 0.999863 0.999929 0.999183 0.997625 0.995258
0.992083 0.988102 0.983319 0.977737 0.971362 0.964198 0.956251 0.947528
0.938035 0.927781 0.916773 0.905022 0.892535 0.879324 0.865398 0.850771
0.835452 0.819455 0.802793 0.785479 0.767527 0.748952 0.729769 0.709993
0.689641 0.668729 0.647274 0.625293 0.602805 0.579828 0.556379 0.532479
0.508147 0.483402 0.458264 0.432754 0.406893 0.380702 0.354202 0.327414
0.30036 0.273062 0.245543 0.217824 0.189928 0.161879 0.133697 0.105407
0.0770321 0.0485941 0.0201166 -0.0083773 -0.0368641 -0.065321 -0.0937251
-0.122053 -0.150282 -0.178388 -0.20635 -0.234145 -0.261749 -0.289141
-0.316298 -0.343198 -0.369819 -0.396141 -0.42214 -0.447797 -0.47309
-0.498 -0.522505 -0.546585 -0.570222 -0.593396 -0.616088 -0.63828 -0.659953
-0.681091 -0.701676 -0.721691 -0.741121 -0.759948 -0.778158 -0.795737
-0.812669 -0.828942 -0.844542 -0.859456 -0.873672 -0.887179 -0.899965
-0.912021 -0.923336 -0.933902 -0.943709 -0.95275 -0.961018 -0.968505
-0.975206 -0.981115 -0.986228 -0.99054 -0.994048 -0.996748 -0.998639
-0.99972 -0.999988 -0.999445 -0.998091 -0.995926 -0.992952 -0.989172
-0.984589 -0.979207 -0.973029 -0.966062 -0.95831 -0.94978 -0.940479
-0.930414 -0.919595 -0.908028 -0.895724 -0.882693 -0.868945 -0.854492
-0.839344 -0.823516 -0.807019 -0.789866 -0.772072 -0.753652 -0.734619
-0.71499 -0.69478 -0.674007 -0.652686 -0.630835 -0.608472 -0.585615
-0.562283 -0.538493 -0.514267 -0.489624 -0.464582 -0.439164 -0.413388
-0.387277 -0.360853 -0.334134 -0.307145 -0.279906 -0.25244 -0.224769
-0.196915 -0.168902 -0.140751 -0.112487 -0.0841307 -0.0557056 -0.0272363
0.00125118 0.029742 0.0582086 0.086628 0.114977 0.143233 0.171372 0.199373
0.227211 0.254865 0.282312 0.30953 0.336496 0.363189 0.389588 0.41567
0.441414 0.4668 0.491808 0.516416 0.540604 0.564354 0.587645 0.61046
0.632778 0.654583 0.675856 0.696581 0.71674 0.736318 0.755297 0.773663
0.791401 0.808496 0.824935 0.840705 0.855791 0.870183 0.883868 0.896836
0.909075 0.920577 0.93133 0.941328 0.950562 0.959023 0.966706 0.973605
0.979712 0.985024 0.989537 0.993246 0.996148 0.998242 0.999526 0.999997
0.999657 0.998505 0.996543 0.993771 0.990193 0.98581 0.980627 0.974648
0.967878 0.960322 0.951986 0.942877 0.933003 0.922371 0.91099 0.89887
0.886019 0.87245 0.858172 0.843197 0.827537 0.811206 0.794216 0.776581
0.758316 0.739435 0.719954 0.699888 0.679254 0.658068 0.636348 0.614111
0.591376 0.568161 0.544484 0.520366 0.495824 0.470881 0.445554 0.419867
0.393838 0.367489 0.340842 0.313919 0.28674 0.259329 0.231707 0.203897
0.175921 0.147803 0.119565 0.0912287 0.0628192 0.0343588 0.00587046
-0.0226229 -0.0510979 -0.0795314 -0.1079 -0.136181 -0.164352 -0.192389
-0.22027 -0.247972 -0.275473 -0.30275 -0.329781 -0.356545 -0.383019
-0.409182 -0.435013 -0.460491 -0.485595 -0.510304 -0.534599 -0.55846
-0.581868 -0.604804 -0.627248 -0.649183 -0.670591 -0.691454 -0.711756
-0.73148 -0.75061 -0.769131 -0.787027 -0.804285 -0.820889 -0.836827
-0.852085 -0.866652 -0.880515 -0.893663 -0.906085 -0.917772 -0.928713
-0.938901 -0.948326 -0.956981 -0.96486 -0.971954 -0.97826 -0.983772
-0.988484 -0.992394 -0.995499 -0.997795 -0.999281 -0.999956 -0.999818
-0.998869 -0.997109 -0.99454 -0.991163 -0.986981 -0.981998 -0.976217
-0.969644 -0.962284 -0.954142 -0.945226 -0.935542 -0.925098 -0.913904
-0.901967 -0.889299 -0.875908 -0.861806 -0.847004 -0.831514 -0.81535
-0.798523 -0.781048 -0.762939 -0.744211 -0.724878 -0.704956 -0.684463
-0.663414 -0.641825 -0.619717 -0.597104 -0.574007 -0.550444 -0.526433
-0.501996 -0.477151 -0.451919 -0.426319 -0.400374 -0.374103 -0.347529
-0.320672 -0.293555 -0.2662 -0.238629 -0.210864 -0.182927 -0.154842
-0.126632 -0.0983186 -0.0699252 -0.0414751 -0.0129914 0.0154982 0.0439799
0.0724258 0.100813 0.129118 0.157319 0.185391 0.213313 0.241062 0.268616
0.295951 0.323046 0.349878 0.376427 0.40267 0.428586 0.454154 0.479353
0.504163 0.528564 0.552535 0.576058 0.599113 0.621682 0.643746 0.665287
0.686289 0.706733 0.726603 0.745883 0.764558 0.782611 0.80003 0.816799
0.832904 0.848334 0.863075 0.877115 0.890442 0.903047 0.914919 0.926048
0.936424 0.946041 0.954889 0.962963 0.970254 0.976758 0.982468 0.987381
0.991492 0.994798 0.997297 0.998985 0.999863 0.999929 0.999183 0.997625
0.995258 0.992083 0.988102 0.983319 0.977737 0.971362 0.964198 0.956251
0.947528 0.938035 0.927781 0.916773 0.905021 0.892535 0.879324 0.865398
0.85077 0.835452 0.819455 0.802793 0.785478 0.767527 0.748952 0.729769
0.709993 0.689641 0.668729 0.647274 0.625293 0.602805 0.579828 0.556379
0.532479 0.508147 0.483401 0.458264 0.432754 0.406893 0.380702 0.354202
0.327414 0.30036 0.273062 0.245543 0.217824 0.189928 0.161878 0.133697
0.105407 0.0770319 0.0485941 0.0201166 -0.0083773 -0.0368641 -0.065321
-0.0937251 -0.122053 -0.150282 -0.178389 -0.20635 -0.234145 -0.261749
-0.289141 -0.316298 -0.343198 -0.36982 -0.396141 -0.42214 -0.447797
-0.473091 -0.498 -0.522505 -0.546585 -0.570222 -0.593396 -0.616088
-0.63828 -0.659954 -0.681092 -0.701676 -0.721691 -0.741121 -0.759948
-0.778158 -0.795737 -0.81267 -0.828942 -0.844542 -0.859456 -0.873672
-0.887179 -0.899965 -0.912021 -0.923336 -0.933902 -0.943709 -0.95275
-0.961018 -0.968505 -0.975206 -0.981115 -0.986228 -0.99054 -0.994048
-0.996748 -0.998639 -0.99972 -0.999988 -0.999445 -0.998091 -0.995925
-0.992952 -0.989172 -0.984589 -0.979207 -0.973029 -0.966062 -0.95831
-0.94978 -0.940479 -0.930414 -0.919595 -0.908028 -0.895724 -0.882693
-0.868945 -0.854492 -0.839344 -0.823516 -0.807019 -0.789866 -0.772072
-0.753651 -0.734619 -0.71499 -0.69478 -0.674007 -0.652686 -0.630835
-0.608472 -0.585615 -0.562283 -0.538493 -0.514267 -0.489623 -0.464582
-0.439164 -0.413388 -0.387277 -0.360853 -0.334134 -0.307145 -0.279906
-0.25244 -0.224769 -0.196915 -0.168902 -0.140751 -0.112487 -0.0841302
-0.0557056 -0.0272363 0.00125135 0.0297422 0.0582088 0.0866282 0.114977
0.143233 0.171372 0.199373 0.227211 0.254865 0.282312 0.30953 0.336496
0.363189 0.389588 0.41567 0.441415 0.466801 0.491808 0.516416 0.540604
0.564354 0.587645 0.61046 0.632778 0.654583 0.675857 0.696581 0.71674
0.736318 0.755297 0.773663 0.791401 0.808496 0.824935 0.840705 0.855791
0.870183 0.883868 0.896836 0.909075 0.920577 0.931331 0.941328 0.950562
0.959023 0.966706 0.973605 0.979712 0.985024 0.989537 0.993246 0.996148
0.998242 0.999526 0.999997 0.999657 0.998505 0.996543 0.993771 0.990193
0.98581 0.980627 0.974648 0.967878 0.960322 0.951986 0.942877 0.933003
0.922371 0.91099 0.898869 0.886019 0.872449 0.858171 0.843197 0.827537
0.811206 0.794216 0.776581 0.758316 0.739435 0.719954 0.699888 0.679254
0.658068 0.636348 0.614111 0.591376 0.568161 0.544484 0.520365 0.495824
0.47088 0.445554 0.419866 0.393838 0.367489 0.340842 0.313918 0.28674
0.259329 0.231707 0.203897 0.175921 0.147803 0.119564 0.0912287 0.062819
0.0343586 0.00587022 -0.0226231 -0.0510979 -0.0795314 -0.1079 -0.136181
-0.164352 -0.192389 -0.22027 -0.247972 -0.275473 -0.30275 -0.329781
-0.356545 -0.383019 -0.409182 -0.435013 -0.460491 -0.485595 -0.510304
-0.5346 -0.558461 -0.581868 -0.604804 -0.627248 -0.649183 -0.670591
-0.691454 -0.711756 -0.73148 -0.75061 -0.769131 -0.787027 -0.804285
-0.820889 -0.836827 -0.852085 -0.866652 -0.880515 -0.893663 -0.906085
-0.917772 -0.928713 -0.938901 -0.948326 -0.956981 -0.96486 -0.971955
-0.97826 -0.983772 -0.988484 -0.992394 -0.995499 -0.997795 -0.999281
-0.999956 -0.999818 -0.998869 -0.997109 -0.99454 -0.991163 -0.986981
-0.981998 -0.976217 -0.969644 -0.962284 -0.954142 -0.945226 -0.935542
-0.925098 -0.913904 -0.901967 -0.889299 -0.875907 -0.861806 -0.847004
-0.831514 -0.81535 -0.798523 -0.781048 -0.762939 -0.74421 -0.724878
-0.704956 -0.684463 -0.663414 -0.641825 -0.619716 -0.597104 -0.574007
-0.550444 -0.526433 -0.501996 -0.477151 -0.451919 -0.426319 -0.400373
-0.374103 -0.347529 -0.320672 -0.293555 -0.266199 -0.238628 -0.210863
-0.182927 -0.154842 -0.126632 -0.0983181 -0.0699248 -0.0414751 -0.0129914
0.0154984 0.04398 0.0724259 0.100813 0.129118 0.157319 0.185391 0.213314
0.241063 0.268616 0.295951 0.323046 0.349878 0.376427 0.40267 0.428586
0.454154 0.479353 0.504163 0.528564 0.552535 0.576058 0.599113 0.621682
0.643746 0.665287 0.686289 0.706733 0.726603 0.745883 0.764558 0.782612
0.80003 0.816799 0.832905 0.848334 0.863075 0.877115 0.890442 0.903047
0.914919 0.926048 0.936424 0.946041 0.954889 0.962963 0.970254 0.976758
0.982468 0.987381 0.991492 0.994798 0.997297 0.998985 0.999863 0.999929
0.999183 0.997625 0.995258 0.992083 0.988102 0.983319 0.977737 0.971362
0.964198 0.956251 0.947528 0.938035 0.927781 0.916773 0.905021 0.892535
0.879323 0.865398 0.85077 0.835452 0.819455 0.802792 0.785478 0.767527
0.748951 0.729768 0.709993 0.689641 0.668729 0.647274 0.625293 0.602805
0.579827 0.556379 0.532479 0.508146 0.483401 0.458264 0.432754 0.406893
0.380702 0.354201 0.327414 0.30036 0.273062 0.245542 0.217824 0.189928
0.161878 0.133697 0.105407 0.0770317 0.0485938 0.0201163 -0.0083773
-0.0368646 -0.0653215 -0.0937253 -0.122053 -0.150282 -0.178389 -0.206351
-0.234145 -0.261749 -0.289141 -0.316298 -0.343198 -0.36982 -0.396141
-0.422141 -0.447798 -0.473091 -0.498 -0.522505;
#A 1000 -0.546585 -0.570223 -0.593396 -0.616088 -0.63828 -0.659954
-0.681092 -0.701676 -0.721692 -0.741121 -0.759948 -0.778158 -0.795737
-0.81267 -0.828942 -0.844542 -0.859456 -0.873672 -0.887179 -0.899965
-0.912021 -0.923336 -0.933902 -0.943709;
#X coords 0 1 1023 -1 200 140 1 0 0;
#X restore 227 102 graph;
#X obj 80 226 tabwrite~ \$0-osc-sinx;
#X obj 433 103 r~ \$0-out1;
#X obj 116 206 s~ \$0-out1;
#X connect 14 0 22 0;
#X connect 19 0 27 0;
#X connect 21 0 14 0;
#X connect 22 0 27 0;
#X connect 22 0 29 0;
#X connect 28 0 20 0;
#X connect 28 0 20 1;