読者です 読者をやめる 読者になる 読者になる

aa develop

開発と成長

Pure Dataで三角波を鳴らす

Pure Data

Pure Dataで三角波を鳴らすためのパッチを作成しました。

f:id:aa_debdeb:20160816201255p:plain

三角波はのこぎり波「phasor~」を合成することで生成します。 わかりづらいので、生成過程の各ステップの波形も見れるようにしました。

ソースコード
#N canvas 102 26 1178 736 10;
#X obj 280 97 phasor~;
#X obj 423 -15 metro 100;
#X obj 423 -45 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X floatatom 319 63 5 0 0 0 - - -;
#X obj 261 -1 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 6900 1;
#X obj 267 31 mtof;
#X obj 265 321 output~;
#X obj 251 131 *~ 2;
#X obj 329 131 *~ -2;
#X obj 329 165 +~ 1;
#X obj 251 168 +~ -1;
#X obj 283 253 +~;
#X obj 251 208 clip~ 0 1;
#X obj 329 207 clip~ 0 1;
#X obj 353 303 tabwrite~ triangle_wave;
#N canvas 0 22 450 278 (subpatch) 0;
#X array triangle_wave 400 float 1;
#A 0 0.806627 0.826582 0.846537 0.866491 0.886446 0.906401 0.926355
0.94631 0.966265 0.986219 0.993826 0.973871 0.953917 0.933962 0.914008
0.894053 0.874098 0.854144 0.834189 0.814234 0.79428 0.774325 0.75437
0.734416 0.714461 0.694506 0.674552 0.654597 0.634642 0.614688 0.594733
0.574779 0.554824 0.534869 0.514915 0.49496 0.475005 0.455051 0.435096
0.415141 0.395187 0.375232 0.355277 0.335323 0.315368 0.295413 0.275459
0.255504 0.23555 0.215595 0.19564 0.175686 0.155731 0.135776 0.115822
0.095867 0.0759124 0.0559577 0.0360031 0.0160484 0.00390625 0.0238609
0.0438156 0.0637702 0.0837249 0.10368 0.123634 0.143589 0.163543 0.183498
0.203453 0.223407 0.243362 0.263317 0.283271 0.303226 0.323181 0.343135
0.36309 0.383045 0.402999 0.422954 0.442909 0.462863 0.482818 0.502772
0.522727 0.542682 0.562636 0.582591 0.602546 0.6225 0.642455 0.66241
0.682364 0.702319 0.722274 0.742228 0.762183 0.782138 0.802092 0.822047
0.842001 0.861956 0.881911 0.901865 0.92182 0.941775 0.961729 0.981684
0.998361 0.978407 0.958452 0.938497 0.918543 0.898588 0.878633 0.858679
0.838724 0.81877 0.798815 0.77886 0.758906 0.738951 0.718996 0.699042
0.679087 0.659132 0.639178 0.619223 0.599268 0.579314 0.559359 0.539404
0.51945 0.499495 0.47954 0.459586 0.439631 0.419677 0.399722 0.379767
0.359813 0.339858 0.319903 0.299949 0.279994 0.260039 0.240085 0.22013
0.200175 0.180221 0.160266 0.140311 0.120357 0.100402 0.0804476 0.0604929
0.0405383 0.0205836 0.000628948 0.0193257 0.0392803 0.059235 0.0791897
0.0991443 0.119099 0.139054 0.159008 0.178963 0.198918 0.218872 0.238827
0.258781 0.278736 0.298691 0.318645 0.3386 0.358555 0.378509 0.398464
0.418419 0.438373 0.458328 0.478283 0.498237 0.518192 0.538146 0.558101
0.578056 0.598011 0.617965 0.63792 0.657874 0.677829 0.697784 0.717738
0.737693 0.757648 0.777602 0.797557 0.817512 0.837466 0.857421 0.877376
0.89733 0.917285 0.93724 0.957194 0.977149 0.997103 0.982942 0.962987
0.943033 0.923078 0.903123 0.883169 0.863214 0.843259 0.823305 0.80335
0.783395 0.763441 0.743486 0.723531 0.703577 0.683622 0.663668 0.643713
0.623758 0.603804 0.583849 0.563894 0.54394 0.523985 0.50403 0.484076
0.464121 0.444166 0.424212 0.404257 0.384302 0.364348 0.344393 0.324439
0.304484 0.284529 0.264575 0.24462 0.224665 0.204711 0.184756 0.164801
0.144847 0.124892 0.104937 0.0849828 0.0650281 0.0450734 0.0251188
0.00516415 0.0147905 0.0347451 0.0546998 0.0746545 0.094609 0.114564
0.134518 0.154473 0.174428 0.194382 0.214337 0.234292 0.254246 0.274201
0.294156 0.31411 0.334065 0.35402 0.373974 0.393929 0.413883 0.433838
0.453793 0.473747 0.493702 0.513657 0.533611 0.553566 0.573521 0.593475
0.61343 0.633385 0.653339 0.673294 0.693249 0.713203 0.733158 0.753112
0.773067 0.793022 0.812976 0.832931 0.852886 0.87284 0.892795 0.91275
0.932704 0.952659 0.972614 0.992568 0.987477 0.967523 0.947568 0.927613
0.907659 0.887704 0.867749 0.847795 0.82784 0.92761 0.907656 0.887701
0.867746 0.847792 0.827837 0.807882 0.787928 0.767973 0.748018 0.728064
0.708109 0.688155 0.6682 0.648245 0.628291 0.608336 0.588381 0.568427
0.548472 0.528517 0.508563 0.488608 0.468653 0.448699 0.428744 0.408789
0.388835 0.36888 0.348925 0.328971 0.309016 0.289062 0.269107 0.249152
0.229198 0.209243 0.189288 0.169334 0.149379 0.129424 0.10947 0.0895151
0.0695604 0.0496058 0.0296511 0.00969648 0.0102582 0.0302129 0.0501674
0.0701221 0.0900768 0.110031 0.129986 0.149941 0.169895 0.18985 0.209805
0.229759 0.249714 0.269669 0.289623 0.309578 0.329533 0.349487 0.369442
0.389396 0.409351 0.429306 0.44926 0.469215 0.48917 0.509124 0.529079
0.549034 0.568988 0.588943 0.608898 0.628852 0.648807;
#X coords 0 1 399 -1 200 140 1;
#X restore 254 404 graph;
#X obj 423 18 s m;
#X obj 353 270 r m;
#N canvas 0 22 450 278 (subpatch) 0;
#X array wave1-1 400 float 1;
#A 0 1.80663 1.82658 1.84654 1.86649 1.88645 1.9064 1.92636 1.94631
1.96626 1.98622 0.00617387 0.0261285 0.0460832 0.0660378 0.0859925
0.105947 0.125902 0.145856 0.165811 0.185766 0.20572 0.225675 0.24563
0.265584 0.285539 0.305494 0.325448 0.345403 0.365358 0.385312 0.405267
0.425221 0.445176 0.465131 0.485085 0.50504 0.524995 0.544949 0.564904
0.584859 0.604813 0.624768 0.644723 0.664677 0.684632 0.704587 0.724541
0.744496 0.76445 0.784405 0.80436 0.824314 0.844269 0.864224 0.884178
0.904133 0.924088 0.944042 0.963997 0.983952 1.00391 1.02386 1.04382
1.06377 1.08372 1.10368 1.12363 1.14359 1.16354 1.1835 1.20345 1.22341
1.24336 1.26332 1.28327 1.30323 1.32318 1.34314 1.36309 1.38304 1.403
1.42295 1.44291 1.46286 1.48282 1.50277 1.52273 1.54268 1.56264 1.58259
1.60255 1.6225 1.64245 1.66241 1.68236 1.70232 1.72227 1.74223 1.76218
1.78214 1.80209 1.82205 1.842 1.86196 1.88191 1.90187 1.92182 1.94177
1.96173 1.98168 0.00163866 0.0215933 0.041548 0.0615026 0.0814572 0.101412
0.121367 0.141321 0.161276 0.18123 0.201185 0.22114 0.241094 0.261049
0.281004 0.300958 0.320913 0.340868 0.360822 0.380777 0.400732 0.420686
0.440641 0.460596 0.48055 0.500505 0.52046 0.540414 0.560369 0.580323
0.600278 0.620233 0.640187 0.660142 0.680097 0.700051 0.720006 0.739961
0.759915 0.77987 0.799825 0.819779 0.839734 0.859689 0.879643 0.899598
0.919552 0.939507 0.959462 0.979416 0.999371 1.01933 1.03928 1.05923
1.07919 1.09914 1.1191 1.13905 1.15901 1.17896 1.19892 1.21887 1.23883
1.25878 1.27874 1.29869 1.31865 1.3386 1.35855 1.37851 1.39846 1.41842
1.43837 1.45833 1.47828 1.49824 1.51819 1.53815 1.5581 1.57806 1.59801
1.61797 1.63792 1.65787 1.67783 1.69778 1.71774 1.73769 1.75765 1.7776
1.79756 1.81751 1.83747 1.85742 1.87738 1.89733 1.91728 1.93724 1.95719
1.97715 1.9971 0.0170581 0.0370127 0.0569674 0.076922 0.0968767 0.116831
0.136786 0.156741 0.176695 0.19665 0.216605 0.236559 0.256514 0.276469
0.296423 0.316378 0.336332 0.356287 0.376242 0.396196 0.416151 0.436106
0.45606 0.476015 0.49597 0.515924 0.535879 0.555834 0.575788 0.595743
0.615698 0.635652 0.655607 0.675561 0.695516 0.715471 0.735425 0.75538
0.775335 0.795289 0.815244 0.835199 0.855153 0.875108 0.895063 0.915017
0.934972 0.954927 0.974881 0.994836 1.01479 1.03475 1.0547 1.07465
1.09461 1.11456 1.13452 1.15447 1.17443 1.19438 1.21434 1.23429 1.25425
1.2742 1.29416 1.31411 1.33406 1.35402 1.37397 1.39393 1.41388 1.43384
1.45379 1.47375 1.4937 1.51366 1.53361 1.55357 1.57352 1.59348 1.61343
1.63338 1.65334 1.67329 1.69325 1.7132 1.73316 1.75311 1.77307 1.79302
1.81298 1.83293 1.85289 1.87284 1.89279 1.91275 1.9327 1.95266 1.97261
1.99257 0.0125229 0.0324775 0.0524322 0.0723868 0.0923415 0.112296
0.132251 0.152205 0.17216 0.0723897 0.0923444 0.112299 0.132254 0.152208
0.172163 0.192118 0.212072 0.232027 0.251982 0.271936 0.291891 0.311845
0.3318 0.351755 0.371709 0.391664 0.411619 0.431573 0.451528 0.471483
0.491437 0.511392 0.531347 0.551301 0.571256 0.591211 0.611165 0.63112
0.651075 0.671029 0.690984 0.710938 0.730893 0.750848 0.770802 0.790757
0.810712 0.830666 0.850621 0.870576 0.89053 0.910485 0.93044 0.950394
0.970349 0.990304 1.01026 1.03021 1.05017 1.07012 1.09008 1.11003 1.12999
1.14994 1.1699 1.18985 1.2098 1.22976 1.24971 1.26967 1.28962 1.30958
1.32953 1.34949 1.36944 1.3894 1.40935 1.42931 1.44926 1.46922 1.48917
1.50912 1.52908 1.54903 1.56899 1.58894 1.6089 1.62885 1.64881;
#X coords 0 1 399 -1 200 140 1;
#X restore -124 18 graph;
#N canvas 0 22 450 278 (subpatch) 0;
#X array wave1-2 400 float 1;
#A 0 0.806627 0.826582 0.846537 0.866491 0.886446 0.906401 0.926355
0.94631 0.966265 0.986219 -0.993826 -0.973871 -0.953917 -0.933962 -0.914008
-0.894053 -0.874098 -0.854144 -0.834189 -0.814234 -0.79428 -0.774325
-0.75437 -0.734416 -0.714461 -0.694506 -0.674552 -0.654597 -0.634642
-0.614688 -0.594733 -0.574779 -0.554824 -0.534869 -0.514915 -0.49496
-0.475005 -0.455051 -0.435096 -0.415141 -0.395187 -0.375232 -0.355277
-0.335323 -0.315368 -0.295413 -0.275459 -0.255504 -0.23555 -0.215595
-0.19564 -0.175686 -0.155731 -0.135776 -0.115822 -0.095867 -0.0759124
-0.0559577 -0.0360031 -0.0160484 0.00390625 0.0238609 0.0438156 0.0637702
0.0837249 0.10368 0.123634 0.143589 0.163543 0.183498 0.203453 0.223407
0.243362 0.263317 0.283271 0.303226 0.323181 0.343135 0.36309 0.383045
0.402999 0.422954 0.442909 0.462863 0.482818 0.502772 0.522727 0.542682
0.562636 0.582591 0.602546 0.6225 0.642455 0.66241 0.682364 0.702319
0.722274 0.742228 0.762183 0.782138 0.802092 0.822047 0.842001 0.861956
0.881911 0.901865 0.92182 0.941775 0.961729 0.981684 -0.998361 -0.978407
-0.958452 -0.938497 -0.918543 -0.898588 -0.878633 -0.858679 -0.838724
-0.81877 -0.798815 -0.77886 -0.758906 -0.738951 -0.718996 -0.699042
-0.679087 -0.659132 -0.639178 -0.619223 -0.599268 -0.579314 -0.559359
-0.539404 -0.51945 -0.499495 -0.47954 -0.459586 -0.439631 -0.419677
-0.399722 -0.379767 -0.359813 -0.339858 -0.319903 -0.299949 -0.279994
-0.260039 -0.240085 -0.22013 -0.200175 -0.180221 -0.160266 -0.140311
-0.120357 -0.100402 -0.0804476 -0.0604929 -0.0405383 -0.0205836 -0.000628948
0.0193257 0.0392803 0.059235 0.0791897 0.0991443 0.119099 0.139054
0.159008 0.178963 0.198918 0.218872 0.238827 0.258781 0.278736 0.298691
0.318645 0.3386 0.358555 0.378509 0.398464 0.418419 0.438373 0.458328
0.478283 0.498237 0.518192 0.538146 0.558101 0.578056 0.598011 0.617965
0.63792 0.657874 0.677829 0.697784 0.717738 0.737693 0.757648 0.777602
0.797557 0.817512 0.837466 0.857421 0.877376 0.89733 0.917285 0.93724
0.957194 0.977149 0.997103 -0.982942 -0.962987 -0.943033 -0.923078
-0.903123 -0.883169 -0.863214 -0.843259 -0.823305 -0.80335 -0.783395
-0.763441 -0.743486 -0.723531 -0.703577 -0.683622 -0.663668 -0.643713
-0.623758 -0.603804 -0.583849 -0.563894 -0.54394 -0.523985 -0.50403
-0.484076 -0.464121 -0.444166 -0.424212 -0.404257 -0.384302 -0.364348
-0.344393 -0.324439 -0.304484 -0.284529 -0.264575 -0.24462 -0.224665
-0.204711 -0.184756 -0.164801 -0.144847 -0.124892 -0.104937 -0.0849828
-0.0650281 -0.0450734 -0.0251188 -0.00516415 0.0147905 0.0347451 0.0546998
0.0746545 0.094609 0.114564 0.134518 0.154473 0.174428 0.194382 0.214337
0.234292 0.254246 0.274201 0.294156 0.31411 0.334065 0.35402 0.373974
0.393929 0.413883 0.433838 0.453793 0.473747 0.493702 0.513657 0.533611
0.553566 0.573521 0.593475 0.61343 0.633385 0.653339 0.673294 0.693249
0.713203 0.733158 0.753112 0.773067 0.793022 0.812976 0.832931 0.852886
0.87284 0.892795 0.91275 0.932704 0.952659 0.972614 0.992568 -0.987477
-0.967523 -0.947568 -0.927613 -0.907659 -0.887704 -0.867749 -0.847795
-0.82784 -0.92761 -0.907656 -0.887701 -0.867746 -0.847792 -0.827837
-0.807882 -0.787928 -0.767973 -0.748018 -0.728064 -0.708109 -0.688155
-0.6682 -0.648245 -0.628291 -0.608336 -0.588381 -0.568427 -0.548472
-0.528517 -0.508563 -0.488608 -0.468653 -0.448699 -0.428744 -0.408789
-0.388835 -0.36888 -0.348925 -0.328971 -0.309016 -0.289062 -0.269107
-0.249152 -0.229198 -0.209243 -0.189288 -0.169334 -0.149379 -0.129424
-0.10947 -0.0895151 -0.0695604 -0.0496058 -0.0296511 -0.00969648 0.0102582
0.0302129 0.0501674 0.0701221 0.0900768 0.110031 0.129986 0.149941
0.169895 0.18985 0.209805 0.229759 0.249714 0.269669 0.289623 0.309578
0.329533 0.349487 0.369442 0.389396 0.409351 0.429306 0.44926 0.469215
0.48917 0.509124 0.529079 0.549034 0.568988 0.588943 0.608898 0.628852
0.648807;
#X coords 0 1 399 -1 200 140 1;
#X restore -125 202 graph;
#N canvas 0 22 450 278 (subpatch) 0;
#X array wave1-3 400 float 1;
#A 0 0.806627 0.826582 0.846537 0.866491 0.886446 0.906401 0.926355
0.94631 0.966265 0.986219 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.00390625
0.0238609 0.0438156 0.0637702 0.0837249 0.10368 0.123634 0.143589 0.163543
0.183498 0.203453 0.223407 0.243362 0.263317 0.283271 0.303226 0.323181
0.343135 0.36309 0.383045 0.402999 0.422954 0.442909 0.462863 0.482818
0.502772 0.522727 0.542682 0.562636 0.582591 0.602546 0.6225 0.642455
0.66241 0.682364 0.702319 0.722274 0.742228 0.762183 0.782138 0.802092
0.822047 0.842001 0.861956 0.881911 0.901865 0.92182 0.941775 0.961729
0.981684 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0193257 0.0392803 0.059235
0.0791897 0.0991443 0.119099 0.139054 0.159008 0.178963 0.198918 0.218872
0.238827 0.258781 0.278736 0.298691 0.318645 0.3386 0.358555 0.378509
0.398464 0.418419 0.438373 0.458328 0.478283 0.498237 0.518192 0.538146
0.558101 0.578056 0.598011 0.617965 0.63792 0.657874 0.677829 0.697784
0.717738 0.737693 0.757648 0.777602 0.797557 0.817512 0.837466 0.857421
0.877376 0.89733 0.917285 0.93724 0.957194 0.977149 0.997103 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0.0147905 0.0347451 0.0546998 0.0746545 0.094609
0.114564 0.134518 0.154473 0.174428 0.194382 0.214337 0.234292 0.254246
0.274201 0.294156 0.31411 0.334065 0.35402 0.373974 0.393929 0.413883
0.433838 0.453793 0.473747 0.493702 0.513657 0.533611 0.553566 0.573521
0.593475 0.61343 0.633385 0.653339 0.673294 0.693249 0.713203 0.733158
0.753112 0.773067 0.793022 0.812976 0.832931 0.852886 0.87284 0.892795
0.91275 0.932704 0.952659 0.972614 0.992568 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0.0102582 0.0302129 0.0501674 0.0701221 0.0900768
0.110031 0.129986 0.149941 0.169895 0.18985 0.209805 0.229759 0.249714
0.269669 0.289623 0.309578 0.329533 0.349487 0.369442 0.389396 0.409351
0.429306 0.44926 0.469215 0.48917 0.509124 0.529079 0.549034 0.568988
0.588943 0.608898 0.628852 0.648807;
#X coords 0 1 399 -1 200 140 1;
#X restore -121 392 graph;
#N canvas 0 22 450 278 (subpatch) 0;
#X array wave2-1 400 float 1;
#A 0 -1.80663 -1.82658 -1.84654 -1.86649 -1.88645 -1.9064 -1.92636
-1.94631 -1.96626 -1.98622 -0.00617387 -0.0261285 -0.0460832 -0.0660378
-0.0859925 -0.105947 -0.125902 -0.145856 -0.165811 -0.185766 -0.20572
-0.225675 -0.24563 -0.265584 -0.285539 -0.305494 -0.325448 -0.345403
-0.365358 -0.385312 -0.405267 -0.425221 -0.445176 -0.465131 -0.485085
-0.50504 -0.524995 -0.544949 -0.564904 -0.584859 -0.604813 -0.624768
-0.644723 -0.664677 -0.684632 -0.704587 -0.724541 -0.744496 -0.76445
-0.784405 -0.80436 -0.824314 -0.844269 -0.864224 -0.884178 -0.904133
-0.924088 -0.944042 -0.963997 -0.983952 -1.00391 -1.02386 -1.04382
-1.06377 -1.08372 -1.10368 -1.12363 -1.14359 -1.16354 -1.1835 -1.20345
-1.22341 -1.24336 -1.26332 -1.28327 -1.30323 -1.32318 -1.34314 -1.36309
-1.38304 -1.403 -1.42295 -1.44291 -1.46286 -1.48282 -1.50277 -1.52273
-1.54268 -1.56264 -1.58259 -1.60255 -1.6225 -1.64245 -1.66241 -1.68236
-1.70232 -1.72227 -1.74223 -1.76218 -1.78214 -1.80209 -1.82205 -1.842
-1.86196 -1.88191 -1.90187 -1.92182 -1.94177 -1.96173 -1.98168 -0.00163866
-0.0215933 -0.041548 -0.0615026 -0.0814572 -0.101412 -0.121367 -0.141321
-0.161276 -0.18123 -0.201185 -0.22114 -0.241094 -0.261049 -0.281004
-0.300958 -0.320913 -0.340868 -0.360822 -0.380777 -0.400732 -0.420686
-0.440641 -0.460596 -0.48055 -0.500505 -0.52046 -0.540414 -0.560369
-0.580323 -0.600278 -0.620233 -0.640187 -0.660142 -0.680097 -0.700051
-0.720006 -0.739961 -0.759915 -0.77987 -0.799825 -0.819779 -0.839734
-0.859689 -0.879643 -0.899598 -0.919552 -0.939507 -0.959462 -0.979416
-0.999371 -1.01933 -1.03928 -1.05923 -1.07919 -1.09914 -1.1191 -1.13905
-1.15901 -1.17896 -1.19892 -1.21887 -1.23883 -1.25878 -1.27874 -1.29869
-1.31865 -1.3386 -1.35855 -1.37851 -1.39846 -1.41842 -1.43837 -1.45833
-1.47828 -1.49824 -1.51819 -1.53815 -1.5581 -1.57806 -1.59801 -1.61797
-1.63792 -1.65787 -1.67783 -1.69778 -1.71774 -1.73769 -1.75765 -1.7776
-1.79756 -1.81751 -1.83747 -1.85742 -1.87738 -1.89733 -1.91728 -1.93724
-1.95719 -1.97715 -1.9971 -0.0170581 -0.0370127 -0.0569674 -0.076922
-0.0968767 -0.116831 -0.136786 -0.156741 -0.176695 -0.19665 -0.216605
-0.236559 -0.256514 -0.276469 -0.296423 -0.316378 -0.336332 -0.356287
-0.376242 -0.396196 -0.416151 -0.436106 -0.45606 -0.476015 -0.49597
-0.515924 -0.535879 -0.555834 -0.575788 -0.595743 -0.615698 -0.635652
-0.655607 -0.675561 -0.695516 -0.715471 -0.735425 -0.75538 -0.775335
-0.795289 -0.815244 -0.835199 -0.855153 -0.875108 -0.895063 -0.915017
-0.934972 -0.954927 -0.974881 -0.994836 -1.01479 -1.03475 -1.0547 -1.07465
-1.09461 -1.11456 -1.13452 -1.15447 -1.17443 -1.19438 -1.21434 -1.23429
-1.25425 -1.2742 -1.29416 -1.31411 -1.33406 -1.35402 -1.37397 -1.39393
-1.41388 -1.43384 -1.45379 -1.47375 -1.4937 -1.51366 -1.53361 -1.55357
-1.57352 -1.59348 -1.61343 -1.63338 -1.65334 -1.67329 -1.69325 -1.7132
-1.73316 -1.75311 -1.77307 -1.79302 -1.81298 -1.83293 -1.85289 -1.87284
-1.89279 -1.91275 -1.9327 -1.95266 -1.97261 -1.99257 -0.0125229 -0.0324775
-0.0524322 -0.0723868 -0.0923415 -0.112296 -0.132251 -0.152205 -0.17216
-0.0723897 -0.0923444 -0.112299 -0.132254 -0.152208 -0.172163 -0.192118
-0.212072 -0.232027 -0.251982 -0.271936 -0.291891 -0.311845 -0.3318
-0.351755 -0.371709 -0.391664 -0.411619 -0.431573 -0.451528 -0.471483
-0.491437 -0.511392 -0.531347 -0.551301 -0.571256 -0.591211 -0.611165
-0.63112 -0.651075 -0.671029 -0.690984 -0.710938 -0.730893 -0.750848
-0.770802 -0.790757 -0.810712 -0.830666 -0.850621 -0.870576 -0.89053
-0.910485 -0.93044 -0.950394 -0.970349 -0.990304 -1.01026 -1.03021
-1.05017 -1.07012 -1.09008 -1.11003 -1.12999 -1.14994 -1.1699 -1.18985
-1.2098 -1.22976 -1.24971 -1.26967 -1.28962 -1.30958 -1.32953 -1.34949
-1.36944 -1.3894 -1.40935 -1.42931 -1.44926 -1.46922 -1.48917 -1.50912
-1.52908 -1.54903 -1.56899 -1.58894 -1.6089 -1.62885 -1.64881;
#X coords 0 1 399 -1 200 140 1;
#X restore 574 -42 graph;
#N canvas 0 22 450 278 (subpatch) 0;
#X array wave2-2 400 float 1;
#A 0 -0.806627 -0.826582 -0.846537 -0.866491 -0.886446 -0.906401 -0.926355
-0.94631 -0.966265 -0.986219 0.993826 0.973871 0.953917 0.933962 0.914008
0.894053 0.874098 0.854144 0.834189 0.814234 0.79428 0.774325 0.75437
0.734416 0.714461 0.694506 0.674552 0.654597 0.634642 0.614688 0.594733
0.574779 0.554824 0.534869 0.514915 0.49496 0.475005 0.455051 0.435096
0.415141 0.395187 0.375232 0.355277 0.335323 0.315368 0.295413 0.275459
0.255504 0.23555 0.215595 0.19564 0.175686 0.155731 0.135776 0.115822
0.095867 0.0759124 0.0559577 0.0360031 0.0160484 -0.00390625 -0.0238609
-0.0438156 -0.0637702 -0.0837249 -0.10368 -0.123634 -0.143589 -0.163543
-0.183498 -0.203453 -0.223407 -0.243362 -0.263317 -0.283271 -0.303226
-0.323181 -0.343135 -0.36309 -0.383045 -0.402999 -0.422954 -0.442909
-0.462863 -0.482818 -0.502772 -0.522727 -0.542682 -0.562636 -0.582591
-0.602546 -0.6225 -0.642455 -0.66241 -0.682364 -0.702319 -0.722274
-0.742228 -0.762183 -0.782138 -0.802092 -0.822047 -0.842001 -0.861956
-0.881911 -0.901865 -0.92182 -0.941775 -0.961729 -0.981684 0.998361
0.978407 0.958452 0.938497 0.918543 0.898588 0.878633 0.858679 0.838724
0.81877 0.798815 0.77886 0.758906 0.738951 0.718996 0.699042 0.679087
0.659132 0.639178 0.619223 0.599268 0.579314 0.559359 0.539404 0.51945
0.499495 0.47954 0.459586 0.439631 0.419677 0.399722 0.379767 0.359813
0.339858 0.319903 0.299949 0.279994 0.260039 0.240085 0.22013 0.200175
0.180221 0.160266 0.140311 0.120357 0.100402 0.0804476 0.0604929 0.0405383
0.0205836 0.000628948 -0.0193257 -0.0392803 -0.059235 -0.0791897 -0.0991443
-0.119099 -0.139054 -0.159008 -0.178963 -0.198918 -0.218872 -0.238827
-0.258781 -0.278736 -0.298691 -0.318645 -0.3386 -0.358555 -0.378509
-0.398464 -0.418419 -0.438373 -0.458328 -0.478283 -0.498237 -0.518192
-0.538146 -0.558101 -0.578056 -0.598011 -0.617965 -0.63792 -0.657874
-0.677829 -0.697784 -0.717738 -0.737693 -0.757648 -0.777602 -0.797557
-0.817512 -0.837466 -0.857421 -0.877376 -0.89733 -0.917285 -0.93724
-0.957194 -0.977149 -0.997103 0.982942 0.962987 0.943033 0.923078 0.903123
0.883169 0.863214 0.843259 0.823305 0.80335 0.783395 0.763441 0.743486
0.723531 0.703577 0.683622 0.663668 0.643713 0.623758 0.603804 0.583849
0.563894 0.54394 0.523985 0.50403 0.484076 0.464121 0.444166 0.424212
0.404257 0.384302 0.364348 0.344393 0.324439 0.304484 0.284529 0.264575
0.24462 0.224665 0.204711 0.184756 0.164801 0.144847 0.124892 0.104937
0.0849828 0.0650281 0.0450734 0.0251188 0.00516415 -0.0147905 -0.0347451
-0.0546998 -0.0746545 -0.094609 -0.114564 -0.134518 -0.154473 -0.174428
-0.194382 -0.214337 -0.234292 -0.254246 -0.274201 -0.294156 -0.31411
-0.334065 -0.35402 -0.373974 -0.393929 -0.413883 -0.433838 -0.453793
-0.473747 -0.493702 -0.513657 -0.533611 -0.553566 -0.573521 -0.593475
-0.61343 -0.633385 -0.653339 -0.673294 -0.693249 -0.713203 -0.733158
-0.753112 -0.773067 -0.793022 -0.812976 -0.832931 -0.852886 -0.87284
-0.892795 -0.91275 -0.932704 -0.952659 -0.972614 -0.992568 0.987477
0.967523 0.947568 0.927613 0.907659 0.887704 0.867749 0.847795 0.82784
0.92761 0.907656 0.887701 0.867746 0.847792 0.827837 0.807882 0.787928
0.767973 0.748018 0.728064 0.708109 0.688155 0.6682 0.648245 0.628291
0.608336 0.588381 0.568427 0.548472 0.528517 0.508563 0.488608 0.468653
0.448699 0.428744 0.408789 0.388835 0.36888 0.348925 0.328971 0.309016
0.289062 0.269107 0.249152 0.229198 0.209243 0.189288 0.169334 0.149379
0.129424 0.10947 0.0895151 0.0695604 0.0496058 0.0296511 0.00969648
-0.0102582 -0.0302129 -0.0501674 -0.0701221 -0.0900768 -0.110031 -0.129986
-0.149941 -0.169895 -0.18985 -0.209805 -0.229759 -0.249714 -0.269669
-0.289623 -0.309578 -0.329533 -0.349487 -0.369442 -0.389396 -0.409351
-0.429306 -0.44926 -0.469215 -0.48917 -0.509124 -0.529079 -0.549034
-0.568988 -0.588943 -0.608898 -0.628852 -0.648807;
#X coords 0 1 399 -1 200 140 1;
#X restore 573 204 graph;
#N canvas 0 22 450 278 (subpatch) 0;
#X array wave2-3 400 float 1;
#A 0 0 0 0 0 0 0 0 0 0 0 0.993826 0.973871 0.953917 0.933962 0.914008
0.894053 0.874098 0.854144 0.834189 0.814234 0.79428 0.774325 0.75437
0.734416 0.714461 0.694506 0.674552 0.654597 0.634642 0.614688 0.594733
0.574779 0.554824 0.534869 0.514915 0.49496 0.475005 0.455051 0.435096
0.415141 0.395187 0.375232 0.355277 0.335323 0.315368 0.295413 0.275459
0.255504 0.23555 0.215595 0.19564 0.175686 0.155731 0.135776 0.115822
0.095867 0.0759124 0.0559577 0.0360031 0.0160484 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0.998361 0.978407 0.958452 0.938497 0.918543 0.898588
0.878633 0.858679 0.838724 0.81877 0.798815 0.77886 0.758906 0.738951
0.718996 0.699042 0.679087 0.659132 0.639178 0.619223 0.599268 0.579314
0.559359 0.539404 0.51945 0.499495 0.47954 0.459586 0.439631 0.419677
0.399722 0.379767 0.359813 0.339858 0.319903 0.299949 0.279994 0.260039
0.240085 0.22013 0.200175 0.180221 0.160266 0.140311 0.120357 0.100402
0.0804476 0.0604929 0.0405383 0.0205836 0.000628948 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0.982942 0.962987 0.943033 0.923078 0.903123 0.883169
0.863214 0.843259 0.823305 0.80335 0.783395 0.763441 0.743486 0.723531
0.703577 0.683622 0.663668 0.643713 0.623758 0.603804 0.583849 0.563894
0.54394 0.523985 0.50403 0.484076 0.464121 0.444166 0.424212 0.404257
0.384302 0.364348 0.344393 0.324439 0.304484 0.284529 0.264575 0.24462
0.224665 0.204711 0.184756 0.164801 0.144847 0.124892 0.104937 0.0849828
0.0650281 0.0450734 0.0251188 0.00516415 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0.987477 0.967523 0.947568 0.927613 0.907659 0.887704 0.867749
0.847795 0.82784 0.92761 0.907656 0.887701 0.867746 0.847792 0.827837
0.807882 0.787928 0.767973 0.748018 0.728064 0.708109 0.688155 0.6682
0.648245 0.628291 0.608336 0.588381 0.568427 0.548472 0.528517 0.508563
0.488608 0.468653 0.448699 0.428744 0.408789 0.388835 0.36888 0.348925
0.328971 0.309016 0.289062 0.269107 0.249152 0.229198 0.209243 0.189288
0.169334 0.149379 0.129424 0.10947 0.0895151 0.0695604 0.0496058 0.0296511
0.00969648 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0;
#X coords 0 1 399 -1 200 140 1;
#X restore 574 393 graph;
#X text 358 65 Hz;
#X text 318 38 frequency;
#X obj 119 136 r m;
#X obj 119 169 tabwrite~ wave1-1;
#X obj 119 209 r m;
#X obj 119 308 r m;
#X obj 119 241 tabwrite~ wave1-2;
#X obj 120 341 tabwrite~ wave1-3;
#X obj 443 53 r m;
#X obj 443 126 r m;
#X obj 443 225 r m;
#X obj 443 86 tabwrite~ wave2-1;
#X obj 443 158 tabwrite~ wave2-2;
#X obj 444 258 tabwrite~ wave2-3;
#X obj 306 -68 loadbang;
#X msg 278 -36 69;
#X connect 0 0 7 0;
#X connect 0 0 8 0;
#X connect 1 0 16 0;
#X connect 2 0 1 0;
#X connect 4 0 5 0;
#X connect 5 0 0 0;
#X connect 5 0 3 0;
#X connect 7 0 10 0;
#X connect 7 0 27 0;
#X connect 8 0 9 0;
#X connect 8 0 35 0;
#X connect 9 0 13 0;
#X connect 9 0 36 0;
#X connect 10 0 12 0;
#X connect 10 0 30 0;
#X connect 11 0 6 0;
#X connect 11 0 6 1;
#X connect 11 0 14 0;
#X connect 12 0 11 0;
#X connect 12 0 31 0;
#X connect 13 0 11 1;
#X connect 13 0 37 0;
#X connect 17 0 14 0;
#X connect 26 0 27 0;
#X connect 28 0 30 0;
#X connect 29 0 31 0;
#X connect 32 0 35 0;
#X connect 33 0 36 0;
#X connect 34 0 37 0;
#X connect 38 0 2 0;
#X connect 38 0 39 0;
#X connect 39 0 4 0;
参考