diff options
Diffstat (limited to 'doc/help/cyclone/avg~-help.pd')
-rw-r--r-- | doc/help/cyclone/avg~-help.pd | 278 |
1 files changed, 236 insertions, 42 deletions
diff --git a/doc/help/cyclone/avg~-help.pd b/doc/help/cyclone/avg~-help.pd index f15bbb3..3920e50 100644 --- a/doc/help/cyclone/avg~-help.pd +++ b/doc/help/cyclone/avg~-help.pd @@ -1,44 +1,238 @@ -#N canvas 0 31 668 530 10; -#X text 15 35 Compute the average value of a signal; -#X floatatom 35 302 0 0 0 0 - - -; -#X floatatom 254 194 0 0 0 0 - - -; -#X obj 35 322 * 128; -#X obj 33 349 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 --1 -1 0 1; -#X obj 209 150 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 -1; -#X msg 269 169 200; -#X msg 246 169 50; -#X obj 209 216 metro 100; -#X obj 31 189 adc~; -#X text 46 252 signal input / trigger input; -#X text 46 287 float output (between 0 and 1 for audio signals); -#X text 38 62 When average receives a bang \, it computes the mean -amplitude of its input signal since it last received a bang. The mean -amplitude is the sum of the absolute values of the input divided by -the number of samples received.; -#X obj 33 267 avg~; -#X text 190 123 start metro to see averages; -#X text 299 169 try different intervals to see the change in avg~ behavior +#N canvas 543 85 557 530 10; +#X obj 0 506 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289 +0; +#X obj 0 323 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0 +; +#N canvas 431 386 390 256 META 0; +#X text 1 20 LICENSE SIBSD; +#X text 1 100 LIBRARY cyclone; +#X text 1 80 OUTLET_0 float; +#X text 1 40 DESCRIPTION computes the average value of signal; +#X text 1 60 INLET_0 signal bang; +#X text 1 0 KEYWORDS average mean signal; +#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 495 508 pd META; +#X obj 0 398 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0 ; -#N canvas 309 151 494 374 META 0; -#X text 12 155 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan -Wilkes for Pd-extended 0.42 to conform to the PDDP template.; -#X text 12 125 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html +#X obj 0 449 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1 +0; +#N canvas 163 537 428 109 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 8 32 cyclone/average~; +#X restore 208 508 pd Related_objects; +#X obj 77 413 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0 ; -#X text 12 45 DESCRIPTION compute the average value of a signal; -#X text 12 5 KEYWORDS signal max_compatible conversion; -#X text 12 65 INLET_0 bang signal; -#X text 12 85 OUTLET_0 float; -#X text 12 25 LICENSE SIBSD; -#X text 12 105 AUTHOR Krzysztof Czaja; -#X restore 612 508 pd META; -#X connect 1 0 3 0; -#X connect 2 0 8 1; -#X connect 3 0 4 0; -#X connect 5 0 8 0; -#X connect 6 0 2 0; -#X connect 7 0 2 0; -#X connect 8 0 13 0; -#X connect 9 0 13 0; -#X connect 13 0 1 0; +#X obj 0 0 cnv 15 552 40 empty empty avg~ 3 12 0 18 -204280 -1 0; +#X text 110 336 signal; +#X text 177 335 - the signal to have average taken; +#X text 110 412 float; +#X floatatom 81 250 0 0 0 0 - - -; +#X floatatom 310 107 0 0 0 0 - - -; +#X obj 81 275 * 128; +#X obj 259 75 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X msg 325 75 200; +#X msg 295 75 50; +#X obj 259 129 metro 100; +#X text 196 51 start metro to see averages; +#X text 111 357 bang; +#X text 177 357 - When average receives a bang \, it computes the mean +amplitude of its input signal since it last received a bang.; +#X text 177 403 - the average of signal. The mean amplitude is the +sum of the absolute values of the input divided by the number of samples +received.; +#X text 108 467 (none); +#X obj 517 2 avg~; +#X text 11 23 Computes the average value of signal; +#X obj 77 339 cnv 17 3 35 empty empty 0 5 9 0 16 -228856 -162280 0 +; +#X text 356 68 try different intervals to see; +#X text 356 80 the change in avg~ behavior; +#X text 139 242 float output (between 0; +#X text 138 254 and 1 for audio signals); +#X obj 97 88 cycle~ 2; +#X obj 80 59 cycle~ 100; +#X obj 81 114 *~; +#X obj 81 192 cyclone/avg~; +#X obj 517 288 dspSwitch~; +#X obj 84 297 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 0 1; +#N canvas 710 492 431 300 view 0; +#N canvas 0 0 450 300 (subpatch) 0; +#X array \$0-twoCycle 1024 float 1; +#A 0 0.84598 0.838785 0.831424 0.823899 0.81621 0.80836 0.800336 0.792148 +0.783803 0.775303 0.76665 0.757845 0.74888 0.739759 0.730492 0.72108 +0.711526 0.701832 0.691994 0.682007 0.671885 0.661632 0.651247 0.640735 +0.630094 0.619315 0.608415 0.597394 0.586256 0.575003 0.563636 0.552146 +0.540546 0.52884 0.51703 0.505116 0.493104 0.480987 0.468772 0.456465 +0.444069 0.431586 0.419018 0.406364 0.393625 0.38081 0.36792 0.354959 +0.341929 0.32883 0.315661 0.302431 0.289142 0.275798 0.2624 0.248952 +0.235449 0.221902 0.208312 0.194683 0.181016 0.167315 0.153579 0.139813 +0.126022 0.112207 0.0983713 0.0845177 0.0706477 0.0567648 0.0428724 +0.0289733 0.0150701 0.00116554 -0.0127377 -0.0266364 -0.0405279 -0.0544094 +-0.0682783 -0.0821318 -0.095967 -0.109779 -0.123568 -0.13733 -0.151063 +-0.164764 -0.17843 -0.192055 -0.20564 -0.219182 -0.232679 -0.246127 +-0.259525 -0.272865 -0.286147 -0.29937 -0.312531 -0.325629 -0.338661 +-0.351618 -0.364501 -0.377308 -0.390039 -0.402691 -0.415261 -0.427743 +-0.440132 -0.452431 -0.464638 -0.476752 -0.488769 -0.500685 -0.51249 +-0.524191 -0.535787 -0.547273 -0.55865 -0.569914 -0.58105 -0.592068 +-0.602966 -0.613741 -0.624392 -0.634917 -0.645304 -0.655557 -0.665677 +-0.675663 -0.685514 -0.695226 -0.704791 -0.714205 -0.723476 -0.732601 +-0.74158 -0.750409 -0.759083 -0.767591 -0.775945 -0.784144 -0.792185 +-0.800067 -0.807788 -0.815329 -0.822706 -0.829918 -0.836964 -0.843843 +-0.850553 -0.857074 -0.863422 -0.869596 -0.875596 -0.881421 -0.88707 +-0.892528 -0.8978 -0.902892 -0.907804 -0.912534 -0.917082 -0.921437 +-0.925595 -0.929568 -0.933352 -0.936951 -0.940362 -0.94358 -0.946593 +-0.949416 -0.95205 -0.954494 -0.956748 -0.95881 -0.960659 -0.962316 +-0.963781 -0.965054 -0.966134 -0.967023 -0.9677 -0.968179 -0.968465 +-0.968559 -0.96846 -0.968168 -0.96767 -0.96697 -0.966077 -0.964992 +-0.963715 -0.962246 -0.960577 -0.958703 -0.956638 -0.954382 -0.951938 +-0.949304 -0.946477 -0.943444 -0.940223 -0.936816 -0.933222 -0.929443 +-0.92548 -0.921311 -0.916958 -0.912421 -0.907703 -0.902804 -0.897727 +-0.892456 -0.887002 -0.881372 -0.875568 -0.869591 -0.863441 -0.857109 +-0.850598 -0.843918 -0.837072 -0.83006 -0.822883 -0.815538 -0.808018 +-0.800338 -0.7925 -0.784506 -0.776356 -0.768051 -0.759578 -0.750955 +-0.742184 -0.733267 -0.724205 -0.715 -0.705638 -0.696136 -0.686497 +-0.676722 -0.666815 -0.656776 -0.646597 -0.636285 -0.625849 -0.61529 +-0.60461 -0.593811 -0.582889 -0.571845 -0.560687 -0.549419 -0.538043 +-0.526563 -0.514975 -0.503278 -0.491483 -0.479592 -0.467607 -0.455531 +-0.443366 -0.431104 -0.418758 -0.406332 -0.393826 -0.381244 -0.368587 +-0.355852 -0.343047 -0.330176 -0.317241 -0.304245 -0.29119 -0.278075 +-0.264904 -0.251683 -0.238414 -0.2251 -0.211743 -0.198343 -0.184904 +-0.17143 -0.157924 -0.144389 -0.130827 -0.11724 -0.10363 -0.0900021 +-0.0763583 -0.0627016 -0.0490344 -0.0353595 -0.0216789 -0.0079964 0.0056853 +0.0193635 0.0330357 0.0466992 0.0603502 0.0739864 0.0876054 0.101205 +0.114782 0.128334 0.141856 0.155346 0.168803 0.182224 0.195607 0.208948 +0.222244 0.23549 0.248686 0.261831 0.274922 0.287955 0.300928 0.313833 +0.326673 0.339446 0.352149 0.36478 0.377336 0.389807 0.402196 0.414504 +0.426727 0.438863 0.45091 0.462857 0.474707 0.48646 0.498115 0.509668 +0.521118 0.532455 0.543677 0.554788 0.565787 0.576671 0.587439 0.598084 +0.608597 0.618987 0.629253 0.639391 0.6494 0.659277 0.669006 0.6786 +0.688058 0.697376 0.706555 0.715591 0.724467 0.733196 0.741777 0.750209 +0.758491 0.76662 0.774582 0.782382 0.790026 0.79751 0.804835 0.811998 +0.818989 0.825805 0.832455 0.838939 0.845254 0.8514 0.857371 0.863154 +0.868764 0.8742 0.879461 0.884546 0.889453 0.894158 0.898685 0.903032 +0.907198 0.911183 0.914985 0.918587 0.922001 0.925231 0.928276 0.931136 +0.93381 0.936283 0.938561 0.940652 0.942555 0.94427 0.945796 0.947125 +0.948252 0.949189 0.949937 0.950496 0.950866 0.951042 0.951009 0.950788 +0.950377 0.949777 0.948988 0.948011 0.946822 0.945445 0.943879 0.942126 +0.940186 0.938059 0.935728 0.933206 0.930498 0.927606 0.92453 0.92127 +0.917812 0.914162 0.91033 0.906318 0.902127 0.897756 0.8932 0.888453 +0.883531 0.878433 0.873161 0.867716 0.862097 0.856289 0.850312 0.844167 +0.837855 0.831377 0.824735 0.817911 0.810925 0.803779 0.796473 0.789011 +0.781393 0.773607 0.765664 0.757569 0.749326 0.740934 0.732397 0.723707 +0.714865 0.705883 0.696763 0.687505 0.678112 0.668581 0.658907 0.649104 +0.639174 0.629118 0.61894 0.608636 0.5982 0.587647 0.576979 0.566198 +0.555306 0.544306 0.533189 0.521966 0.510641 0.499217 0.487696 0.47608 +0.464363 0.452553 0.440655 0.428672 0.416606 0.40446 0.39223 0.37992 +0.367537 0.355083 0.342561 0.329974 0.317321 0.304601 0.291824 0.278991 +0.266105 0.253168 0.240184 0.227148 0.214071 0.200953 0.187798 0.174608 +0.161385 0.148131 0.134848 0.121542 0.108214 0.0948671 0.0815037 0.0681255 +0.054736 0.0413385 0.0279355 0.0145298 0.0011238 -0.0122798 -0.0256778 +-0.0390679 -0.0524473 -0.0658135 -0.0791639 -0.0924957 -0.105804 -0.119089 +-0.132347 -0.145576 -0.158774 -0.171937 -0.185059 -0.198141 -0.211181 +-0.224177 -0.237125 -0.250023 -0.262864 -0.275649 -0.288376 -0.301043 +-0.313647 -0.326187 -0.338654 -0.351048 -0.363369 -0.375615 -0.387784 +-0.399874 -0.411878 -0.423791 -0.435617 -0.447353 -0.458998 -0.470549 +-0.482001 -0.493345 -0.504587 -0.515727 -0.526762 -0.53769 -0.548508 +-0.559203 -0.569783 -0.580247 -0.590593 -0.600819 -0.610924 -0.620895 +-0.630735 -0.640447 -0.65003 -0.659481 -0.6688 -0.677975 -0.687004 +-0.695895 -0.704646 -0.713254 -0.721718 -0.730032 -0.738187 -0.746192 +-0.754047 -0.76175 -0.7693 -0.776694 -0.783914 -0.790977 -0.79788 -0.804623 +-0.811205 -0.817624 -0.823861 -0.82993 -0.835833 -0.841568 -0.847132 +-0.852525 -0.857735 -0.862764 -0.867621 -0.872304 -0.876812 -0.881145 +-0.885292 -0.88925 -0.89303 -0.896631 -0.900053 -0.903295 -0.906351 +-0.90921 -0.911886 -0.914381 -0.916693 -0.918821 -0.920767 -0.922506 +-0.924061 -0.925432 -0.926619 -0.92762 -0.928437 -0.929051 -0.929475 +-0.929714 -0.929768 -0.929637 -0.929321 -0.928806 -0.928098 -0.927205 +-0.926128 -0.924866 -0.923421 -0.921783 -0.919949 -0.917932 -0.915732 +-0.913349 -0.910783 -0.908033 -0.905084 -0.901956 -0.898649 -0.895164 +-0.891501 -0.887662 -0.883626 -0.879415 -0.875029 -0.87047 -0.865739 +-0.860837 -0.855749 -0.850486 -0.845055 -0.839457 -0.833694 -0.827766 +-0.821663 -0.815389 -0.808955 -0.802361 -0.795608 -0.788699 -0.781628 +-0.77439 -0.767 -0.759459 -0.751768 -0.74393 -0.735943 -0.727796 -0.719505 +-0.711074 -0.702503 -0.693794 -0.684948 -0.675954 -0.666825 -0.657566 +-0.648177 -0.63866 -0.629018 -0.619242 -0.609341 -0.599321 -0.589185 +-0.578933 -0.568569 -0.558087 -0.547489 -0.536785 -0.525977 -0.515067 +-0.504056 -0.492945 -0.481729 -0.470421 -0.459021 -0.447533 -0.435958 +-0.424299 -0.412548 -0.400718 -0.325387 -0.317385 -0.309315 -0.301178 +-0.292968 -0.284694 -0.276359 -0.267963 -0.259507 -0.250995 -0.242422 +-0.233794 -0.225113 -0.216383 -0.207603 -0.198776 -0.189901 -0.18098 +-0.172017 -0.163015 -0.153974 -0.144896 -0.135782 -0.126633 -0.117453 +-0.108243 -0.0990063 -0.0897434 -0.080456 -0.0711451 -0.061814 -0.0524645 +-0.0430986 -0.0337178 -0.0243242 -0.0149189 -0.00550476 0.00391656 +0.0133432 0.0227734 0.0322052 0.0416362 0.0510646 0.0604887 0.0699067 +0.0793169 0.0887175 0.0981051 0.107478 0.116836 0.126176 0.135497 0.144797 +0.154073 0.163322 0.172544 0.181737 0.1909 0.200031 0.209127 0.218183 +0.227201 0.23618 0.245117 0.254011 0.262861 0.271657 0.280405 0.289102 +0.297747 0.306338 0.314873 0.323346 0.331757 0.340108 0.348396 0.35662 +0.364778 0.372864 0.380876 0.388818 0.396687 0.404482 0.412201 0.41984 +0.427393 0.434863 0.442252 0.449558 0.456778 0.463911 0.470946 0.477891 +0.484745 0.491507 0.498175 0.504748 0.511213 0.517579 0.523846 0.530013 +0.536077 0.542039 0.547888 0.553626 0.559258 0.564781 0.570196 0.5755 +0.580687 0.585753 0.590706 0.595543 0.600266 0.604871 0.609355 0.61371 +0.617944 0.622058 0.626051 0.629921 0.633668 0.637276 0.640759 0.644116 +0.647348 0.650452 0.653428 0.656262 0.658963 0.661534 0.663975 0.666285 +0.668463 0.6705 0.672397 0.674162 0.675794 0.677292 0.678656 0.679878 +0.680957 0.6819 0.682707 0.683379 0.683916 0.684313 0.68456 0.684672 +0.684646 0.684485 0.684187 0.683752 0.683164 0.68244 0.681579 0.680582 +0.679448 0.678178 0.67676 0.675202 0.673509 0.67168 0.669717 0.667618 +0.665377 0.662994 0.660477 0.657828 0.655046 0.652131 0.649079 0.645884 +0.642558 0.639101 0.635516 0.631801 0.627957 0.623971 0.619859 0.615621 +0.611258 0.60677 0.602159 0.597412 0.592541 0.58755 0.582438 0.577207 +0.571858 0.566382 0.560786 0.555075 0.54925 0.543312 0.537263 0.531096 +0.524813 0.518421 0.511923 0.505319 0.49861 0.491794 0.484868 0.477841 +0.470715 0.463491 0.45617 0.448753 0.441232 0.433618 0.425914 0.418121 +0.410239 0.402271 0.394208 0.386061 0.377832 0.369523 0.361136 0.352672 +0.344127 0.335505 0.326812 0.318048 0.309217 0.300318 0.291351 0.282317 +0.273221 0.264066 0.254853 0.245583 0.236258 0.226876 0.217443 0.207962 +0.198434 0.18886 0.179244 0.169581 0.15988 0.150141 0.140367 0.130559 +0.120719 0.110847 0.100947 0.0910208 0.081071 0.0710994 0.0611078 0.0510973 +0.0410704 0.0310297 0.0209771 0.0109145 0.000843827 -0.00923282 -0.0193132 +-0.0293952 -0.0394771 -0.0495569 -0.0596325 -0.0697018 -0.0797615 -0.0898109 +-0.099848 -0.109871 -0.119878 -0.129866 -0.139831 -0.149774 -0.159693 +-0.169585 -0.179449 -0.189283 -0.199081 -0.208844 -0.218571 -0.22826 +-0.237908 -0.247515 -0.257075 -0.266586 -0.276049 -0.285462 -0.294823 +-0.304132 -0.313382 -0.32257 -0.331699 -0.340767 -0.349772 -0.358713 +-0.367586; +#A 1000 -0.376382 -0.385109 -0.393764 -0.402345 -0.410851 -0.419278 +-0.427618 -0.435875 -0.44405 -0.452141 -0.460147 -0.468065 -0.475887 +-0.483614 -0.49125 -0.498791 -0.506238 -0.513587 -0.520833 -0.527972 +-0.535009 -0.541944 -0.548775 -0.5555; +#X coords 0 1 1023 -1 200 140 1; +#X restore 110 119 graph; +#X obj 113 119 hsl 195 140 0 127 0 0 get_rid_of_outlet get_rid_of_inlet +empty -2 -8 0 10 -262144 -262144 -262144 0 1; +#X obj 109 82 tabwrite~ \$0-twoCycle; +#X obj 108 32 inlet~; +#X obj 186 31 r \$0-bangTwoCycle; +#X obj 2 3 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0; +#X text 8 4 view graph; +#X text 46 269 The array is placed in a sub-patch to prevent audio +drop-outs; +#X connect 3 0 2 0; +#X connect 4 0 2 0; +#X restore 90 137 pd view graph; +#X obj 259 152 s \$0-bangTwoCycle; +#X connect 11 0 13 0; +#X connect 12 0 17 1; +#X connect 13 0 35 0; +#X connect 14 0 17 0; +#X connect 15 0 12 0; +#X connect 16 0 12 0; +#X connect 17 0 33 0; +#X connect 17 0 37 0; +#X connect 30 0 32 1; +#X connect 31 0 32 0; +#X connect 32 0 33 0; +#X connect 32 0 36 0; +#X connect 33 0 11 0; |