aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/log~-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/help/cyclone/log~-help.pd')
-rw-r--r--doc/help/cyclone/log~-help.pd269
1 files changed, 213 insertions, 56 deletions
diff --git a/doc/help/cyclone/log~-help.pd b/doc/help/cyclone/log~-help.pd
index 177c241..ab733e0 100644
--- a/doc/help/cyclone/log~-help.pd
+++ b/doc/help/cyclone/log~-help.pd
@@ -1,62 +1,219 @@
-#N canvas 0 26 809 409 10;
-#X text 15 35 Output the log (to a specified base) of a signal;
-#X obj 377 314 clip~ 0 1;
-#X floatatom 460 173 0 0 0 0 - - -;
-#X floatatom 439 326 0 0 0 0 - - -;
-#X obj 419 240 log~ 2;
-#X obj 411 171 line~ 1;
-#X msg 406 145 1 \, 1.8 3000 1 300;
-#X obj 19 116 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+#N canvas 760 81 569 531 10;
+#X obj 0 0 cnv 15 552 40 empty empty log~ 3 12 0 18 -204280 -1 0;
+#X obj 0 373 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
+;
+#X obj 0 444 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
+;
+#X obj 0 481 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
+0;
+#X obj 79 453 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
+;
+#X obj 79 387 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
+;
+#X text 107 387 signal;
+#X text 107 453 signal;
+#X text 162 387 - The signal that was input;
+#X obj 0 522 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
+0;
+#N canvas 246 345 428 75 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 9 28 abs~;
+#X restore 206 524 pd Related_objects;
+#N canvas 1058 474 379 288 META 0;
+#X text 1 0 KEYWORDS signal max_compatible;
+#X text 1 182 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
+;
+#X text 1 60 INLET_0 signal;
+#X text 1 99 OUTLET_0 signal;
+#X text 1 140 AUTHOR Krzysztof Czaja;
+#X text 1 20 LICENSE SIBSD;
+#X text 0 120 VERSION 0.1-alpha57;
+#X text 0 161 RELEASE_DATE 2002;
+#X text 1 212 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 text 1 40 DESCRIPTION output the log (to a specified base) of a
+signal;
+#X text 1 80 INLET_0 float;
+#X restore 502 524 pd META;
+#X obj 60 315 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
-#X obj 19 386 dac~;
-#X obj 19 330 *~ 0.2;
-#X obj 19 243 *~ 440;
-#X msg 19 152 1.44 \, 4 3000;
-#X obj 19 174 line~ 1;
-#X obj 19 300 cycle~;
-#X obj 19 207 log~ 2;
-#X text 20 58 log~ is useful for generating curves from line~. In the
+#X obj 454 297 output~;
+#X obj 79 339 tabwrite~ \$0-signal;
+#X obj 516 4 log~;
+#X text 8 23 outputs the log (to a specified base) of a signal;
+#X obj 78 209 cyclone/log~;
+#X text 230 223 0;
+#X text 218 353 -23;
+#X obj 454 255 *~ 0.05;
+#X obj 77 104 osc~ 220;
+#X text 27 46 log~ is useful for generating curves from line~. In the
example below \, log~ with an argument 2 (for log to the base 2) is
used to generate a pitch glissando and a logarithmic amplitude envelope.
;
-#X text 58 194 optional argument determines the base of the logarithm.
-If no argument is present \, e (the natural logarithm) is used. base
-can be changed via right inlet.;
-#X text 31 281 result goes from around 220 to 880 Hz;
-#X text 402 121 log amplitude envelope;
-#X text 103 152 pitch glissando;
-#X text 467 200 try different bases...the lower the base (above 1)
-the bigger the output. bases between 0 and 1 result in a negative output.
+#X msg 169 97 10;
+#X obj 454 231 r~ \$0-out;
+#X obj 90 298 s~ \$0-out;
+#X msg 169 123 2.71828;
+#X text 223 121 e - base of the natural logarithm;
+#X obj 79 413 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
-#X text 42 117 click to hear something;
-#X obj 439 296 Snapshot~ 50;
-#N canvas 309 151 494 374 META 0;
-#X text 12 145 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
-;
-#X text 12 5 KEYWORDS signal max_compatible;
-#X text 12 65 INLET_0 signal;
-#X text 12 85 INLET_1 signal;
-#X text 12 105 OUTLET_0 signal;
-#X text 12 25 LICENSE SIBSD;
-#X text 12 125 AUTHOR Krzysztof Czaja;
-#X text 12 45 DESCRIPTION output the log (to a specified base) of a
-signal;
-#X text 12 175 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan
-Wilkes for Pd-extended 0.42 to conform to the PDDP template.;
-#X restore 752 381 pd META;
-#X connect 1 0 9 1;
-#X connect 2 0 4 1;
-#X connect 4 0 1 0;
-#X connect 4 0 22 0;
-#X connect 5 0 4 0;
-#X connect 6 0 5 0;
-#X connect 7 0 11 0;
-#X connect 7 0 6 0;
-#X connect 9 0 8 0;
-#X connect 9 0 8 1;
-#X connect 10 0 13 0;
-#X connect 11 0 12 0;
+#X text 107 413 float;
+#X text 162 413 - base of the alogarithm (e is default);
+#X text 160 453 - The logarithm of the inlet signal;
+#X text 96 490 default base of the logarithm;
+#X obj 247 229 hsl 195 140 0 127 0 0 eliminate_outlet eliminate_inlet
+empty -2 -8 0 10 -262144 -262144 -262144 12200 1;
+#N canvas 0 0 450 300 (subpatch) 0;
+#X array \$0-signal 1024 float 1;
+#A 0 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -4.02374 -3.01064 -2.51862 -2.19107 -1.94558 -1.74945
+-1.5864 -1.44712 -1.32576 -1.21845 -1.12241 -1.03574 -0.956865 -0.884696
+-0.818295 -0.75696 -0.700102 -0.647226 -0.597958 -0.551917 -0.508877
+-0.468528 -0.430712 -0.395207 -0.361877 -0.330573 -0.301164 -0.273567
+-0.247642 -0.223363 -0.200589 -0.179309 -0.159416 -0.140884 -0.123652
+-0.107671 -0.0929224 -0.0793332 -0.066926 -0.0556118 -0.0454223 -0.0362885
+-0.0282215 -0.0211901 -0.0151777 -0.0101905 -0.00618374 -0.00320023
+-0.00117511 -0.000163406 -0.000111992 -0.00105537 -0.00297742 -0.00588362
+-0.00979443 -0.0146868 -0.0206176 -0.0275419 -0.0355347 -0.0445584
+-0.0546703 -0.0658704 -0.0781892 -0.0916656 -0.106304 -0.122182 -0.139285
+-0.157718 -0.177473 -0.198645 -0.221269 -0.245423 -0.27119 -0.298631
+-0.327881 -0.358994 -0.392158 -0.427448 -0.465068 -0.50517 -0.547974
+-0.593727 -0.642692 -0.695237 -0.751705 -0.812638 -0.878546 -0.950185
+-1.0284 -1.11435 -1.20946 -1.31567 -1.43565 -1.57311 -1.73375 -1.92639
+-2.16654 -2.4846 -2.95549 -3.87837 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-5.62498 -3.35225 -2.71285 -2.32671 -2.04965 -1.83373 -1.65712 -1.50791
+-1.37898 -1.26568 -1.16481 -1.07409 -0.991818 -0.916741 -0.8478 -0.784258
+-0.72542 -0.670796 -0.619932 -0.572463 -0.528096 -0.486538 -0.447609
+-0.411057 -0.376773 -0.344553 -0.314307 -0.285895 -0.259223 -0.23421
+-0.210749 -0.188811 -0.168275 -0.149149 -0.13132 -0.114786 -0.0994772
+-0.0853679 -0.0724305 -0.0606125 -0.0499263 -0.0402953 -0.031764 -0.0242515
+-0.0177884 -0.0123316 -0.00788373 -0.00443841 -0.00196992 -0.000508534
+-1.19134e-07 -0.000510322 -0.00197391 -0.00444391 -0.00789142 -0.0123408
+-0.0177998 -0.0242644 -0.0317791 -0.0403121 -0.0499452 -0.0606337 -0.0724534
+-0.0853932 -0.0995043 -0.114815 -0.131351 -0.149183 -0.168311 -0.188849
+-0.210791 -0.234254 -0.25927 -0.285945 -0.31436 -0.344609 -0.376833
+-0.41112 -0.447676 -0.48661 -0.528172 -0.572544 -0.620018 -0.67089
+-0.72552 -0.784366 -0.847916 -0.916868 -0.991957 -1.07425 -1.16497
+-1.26587 -1.3792 -1.50815 -1.6574 -1.83407 -2.05008 -2.32727 -2.71368
+-3.35384 -5.64047 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -3.8757 -2.95442
+-2.48394 -2.16606 -1.92602 -1.73344 -1.57285 -1.43542 -1.31547 -1.20928
+-1.11419 -1.02826 -0.950053 -0.878424 -0.812527 -0.751602 -0.69514
+-0.642603 -0.593643 -0.547896 -0.505096 -0.464999 -0.427383 -0.392097
+-0.358936 -0.327826 -0.29858 -0.271142 -0.245378 -0.221226 -0.198605
+-0.177435 -0.157683 -0.139252 -0.122152 -0.106276 -0.0916395 -0.0781655
+-0.0658484 -0.0546505 -0.0445403 -0.0355188 -0.0275276 -0.0206055 -0.0146767
+-0.00978607 -0.00587739 -0.0029727 -0.00105275 -0.000111039 -0.000164418
+-0.0011778 -0.00320501 -0.00619057 -0.010199 -0.0151884 -0.0212023
+-0.0282359 -0.0363044 -0.0454405 -0.0556316 -0.0669481 -0.0793576 -0.0929485
+-0.107699 -0.123683 -0.140917 -0.159451 -0.179346 -0.200629 -0.223405
+-0.247688 -0.273615 -0.301216 -0.330628 -0.361935 -0.395269 -0.430778
+-0.468597 -0.508951 -0.551996 -0.598042 -0.647316 -0.700199 -0.757065
+-0.818408 -0.884818 -0.956998 -1.03588 -1.12257 -1.21862 -1.32596 -1.44735
+-1.58667 -1.74976 -1.94596 -2.19157 -2.5193 -3.01176 -4.02684 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -5.04159 -3.27394 -2.67086 -2.29807 -2.02793
+-1.81629 -1.64255 -1.49545 -1.36808 -1.25604 -1.15616 -1.06629 -0.98472
+-0.91023 -0.841823 -0.778716 -0.720296 -0.666012 -0.615486 -0.568299
+-0.524207 -0.4829 -0.444188 -0.407861 -0.373754 -0.341733 -0.311639
+-0.283405 -0.256874 -0.232016 -0.208697 -0.186884 -0.166492 -0.147468
+-0.129773 -0.113333 -0.0981508 -0.0841339 -0.0713118 -0.0595972 -0.0490052
+-0.0394875 -0.0310327 -0.02363 -0.0172406 -0.0118913 -0.00751768 -0.0041756
+-0.00179649 -0.000421168 -1.7632e-05 -0.000597695 -0.0021663 -0.00470679
+-0.00826025 -0.0127822 -0.018348 -0.0249034 -0.0325111 -0.041154 -0.0508671
+-0.0616709 -0.0735733 -0.0866333 -0.100832 -0.11627 -0.132916 -0.150866
+-0.17013 -0.19078 -0.21287 -0.236454 -0.261632 -0.288441 -0.317035
+-0.347451 -0.379861 -0.414356 -0.451109 -0.490287 -0.532077 -0.576734
+-0.624484 -0.675698 -0.730683 -0.789939 -0.853958 -0.923422 -0.999133
+-1.08211 -1.1737 -1.2756 -1.39022 -1.52079 -1.67219 -1.85185 -2.07228
+-2.35681 -2.75756 -3.43896 -7.27492 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-3.74678 -2.90121 -2.45044 -2.14165 -1.90685 -1.71769 -1.55952 -1.42385
+-1.3053 -1.2002 -1.10603 -1.02084 -0.943287 -0.87221 -0.806791 -0.746306
+-0.690203 -0.63802 -0.589347 -0.543894 -0.501329 -0.461483 -0.424081
+-0.388996 -0.356037 -0.325087 -0.296023 -0.268723 -0.243124 -0.219095
+-0.196624 -0.17558 -0.155953 -0.137653 -0.120654 -0.104905 -0.0903582
+-0.0770054 -0.0647719 -0.0536901 -0.0436719 -0.0347497 -0.0268632 -0.0200212
+-0.0142004 -0.00938174 -0.00557928 -0.00274522 -0.000930453 -6.96363e-05
+-0.000216847 -0.0013275 -0.0034326 -0.00652388 -0.0106036 -0.0157002
+-0.0217874 -0.0289303 -0.0370839 -0.0463233 -0.0566193 -0.068027 -0.0805554
+-0.0942332 -0.109109 -0.125185 -0.142552 -0.161194 -0.181223 -0.202641
+-0.225546 -0.249987 -0.276046 -0.303821 -0.333382 -0.364884 -0.398395
+-0.434119 -0.47216 -0.512746 -0.556066 -0.602376 -0.651977 -0.705186
+-0.762453 -0.824214 -0.89113 -0.963877 -1.04342 -1.13091 -1.22787 -1.33637
+-1.45919 -1.6004 -1.76603 -1.96591 -2.21725 -2.55525 -3.07143 -4.20129
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113;
+#A 1000 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113 -23.0113
+-23.0113;
+#X coords 0 0 1023 -23 200 140 1 0 0;
+#X restore 244 229 graph;
#X connect 12 0 14 0;
-#X connect 13 0 9 0;
-#X connect 14 0 10 0;
-#X connect 22 0 3 0;
+#X connect 17 0 14 0;
+#X connect 17 0 25 0;
+#X connect 20 0 13 0;
+#X connect 20 0 13 1;
+#X connect 21 0 17 0;
+#X connect 23 0 17 1;
+#X connect 24 0 20 0;
+#X connect 26 0 17 1;