Commit 6dd080d6 authored by Ivica Bukvic's avatar Ivica Bukvic Committed by Hans-Christoph Steiner
Browse files

Pd-0.42.5-extended-l2ork-dev-20101215.tar.bz2

parent 8723cc12
......@@ -2,12 +2,17 @@ PD_VERSION
A real-time graphical programming environment for live interactive
computer music, Pd works on SGI machines, Microsoft Windows,
Linux, and Max OSX.
Linux, and Mac OSX.
Pd is copyrighted, but is free for you to use for any reasonable purpose.
See the file:
PD_BASEDIR/LICENSE.txt
L2Ork iteration offers rewrite of many of PD's core routines for the
purpose of improving editor functionality and stability. It is
distributed under the same license as base PD. For additional info see:
http://l2ork.music.vt.edu/main/
Reference documentation for Pd lives in:
file:PD_BASEDIR/doc/1.manual/index.htm
or:
......
......@@ -73,7 +73,7 @@ To get started writing your own C extensions, refer to chapter 4 of this manual.
<P> There is a new Pd community web site,
<a href="http://www.pure-data.info/"> pure-data.info</a>, which aims to be the
central resource for Pd, from documentation and
downloads; to forums, member pages, a patch exchange.
downloads; to forums, member pages, and a patch exchange.
<P> There is a growing number of Pd-related projects hosted at
<A HREF="http://pure-data.sf.net">SourceForge</A>. This is open to all Pd
......
......@@ -110,7 +110,7 @@ In this case the object will be the kind that carries out addition,
and the "13" initializes the amount to add.
<P> Atoms are either numbers or <I>
symbols </I> like "+". Anything that is not a valid number os considered a
symbols </I> like "+". Anything that is not a valid number is considered a
symbol. Valid numbers may or may not have a decimal point (for instance, 12,
15.6, -.456), or may be
written in exponential notation (such as "4.5e6", which means "4.5 multiplied
......
......@@ -20,7 +20,32 @@
<H3> <A name="s2"> 5.1. release notes </A> </H3>
<P> ------------------ 0.42.1 ---------------------------
<P> ------------------ 0.42-5 ---------------------------
<P> broken abs~ and log~ fixed
<P> pd~ -ninsig 0 hang fixed
<P> testtone updated and 16ch version added
<P> lrshift~ bug fix
<P> 32 channel limit removed for portaudio (ASIO/Windows and Mac)
<P> ------------------ 0.42-4 ---------------------------
<P> added -noautopatch startup argument to defeat auto-connecting to
new objects (some folks like it and others hate it)
<P> gfxstub bug fix
<P> fixed crash on deleting "s" objects with no args
<P> re-fixed seteuid(0 problem
<P> fixed crash on "find $1" (still not useful though)
<P> ------------------ 0.42.1-3 ---------------------------
<P> Bug fix on Windows(cancelling window close deactivated window).
......
......@@ -38,11 +38,11 @@
#X text 299 152 <--transpose;
#N canvas 0 0 538 208 make-table 0;
#X obj 38 71 loadbang;
#X text 16 11 This patch loads a sequence of pitches into array1. The
#X text 16 11 This patch loads a sequence of pitches into E07. The
values are floating-point \, so we could use microtones (60.5 \, for
example) if we wish.;
#X msg 38 99 \; array1 0 55 56 57 55 57 61 55 61 63 57 63 \; array1
yticks 36 12 1 \; array1 ylabel 12 36 48 60 72 84 96;
#X msg 38 99 \; E07 0 55 56 57 55 57 61 55 61 63 57 63 \; E07
yticks 36 12 1 \; E07 ylabel 12 36 48 60 72 84 96;
#X connect 0 0 2 0;
#X restore 527 195 pd make-table;
#X obj 176 50 sel 0;
......
......@@ -43,7 +43,7 @@ frequency for showing spectra: the 16th bin in a 4096-point spectrum
#X text 273 232 toggle to graph repeatedly;
#X text 262 212 bang to graph once;
#X obj 16 494 t b f;
#X obj 19 295 tabwrite~ E10-signal;
#X obj 19 295 tabwrite~ E10-spectrum;
#X obj 208 295 tabwrite~ E10-spectrum;
#X text 72 536 set carrier multiplier and modulation multipliers after
fundamental;
......
#N canvas 360 15 553 524 12;
#N canvas 360 22 557 528 12;
#X floatatom 44 146 5 0 150 0 - #0-pitch -;
#X text 126 9 SWEEPING FILTERS;
#X obj 44 193 phasor~;
......@@ -43,6 +43,30 @@ sweep speeds.;
"vcf~" instead of "bp~". The vcf~ module takes an audio signal to set
center frequency. (Q is still set by messages though.) Vcf is computationally
somewhat more expensive than bp~.;
#N canvas 0 22 612 404 conversion-tables 0;
#N canvas 0 22 450 300 graph2 0;
#X array mtof 130 float 1;
#A 0 8.1758 8.66196 9.17702 9.72272 10.3009 10.9134 11.5623 12.2499
12.9783 13.75 14.5676 15.4339 16.3516 17.3239 18.354 19.4454 20.6017
21.8268 23.1247 24.4997 25.9565 27.5 29.1352 30.8677 32.7032 34.6478
36.7081 38.8909 41.2034 43.6535 46.2493 48.9994 51.9131 55 58.2705
61.7354 65.4064 69.2957 73.4162 77.7817 82.4069 87.3071 92.4986 97.9989
103.826 110 116.541 123.471 130.813 138.591 146.832 155.563 164.814
174.614 184.997 195.998 207.652 220 233.082 246.942 261.626 277.183
293.665 311.127 329.628 349.228 369.994 391.995 415.305 440 466.164
493.883 523.251 554.365 587.33 622.254 659.255 698.456 739.989 783.991
830.609 880 932.328 987.767 1046.5 1108.73 1174.66 1244.51 1318.51
1396.91 1479.98 1567.98 1661.22 1760 1864.66 1975.53 2093 2217.46 2349.32
2489.02 2637.02 2793.83 2959.96 3135.96 3322.44 3520 3729.31 3951.07
4186.01 4434.92 4698.64 4978.03 5274.04 5587.65 5919.91 6271.93 6644.88
7040 7458.62 7902.13 8372.02 8869.84 9397.27 9956.06 10548.1 11175.3
11839.8 12543.9 13289.8 14080;
#X coords 0 12000 130 0 200 100 1;
#X restore 309 225 graph;
#X text 319 333 ------ 130 samples ------;
#X text 518 318 0;
#X text 520 218 12000;
#X restore 168 463 pd conversion-tables;
#X connect 0 0 21 0;
#X connect 2 0 8 0;
#X connect 3 0 9 0;
......
#N canvas 708 41 555 646 12;
#N canvas 0 0 600 392 conversion-tables 0;
#N canvas 0 0 450 300 graph1 0;
#N canvas 288 109 559 650 12;
#N canvas 0 22 604 396 conversion-tables 0;
#N canvas 0 22 450 300 graph1 0;
#X array dbtorms 123 float 1;
#A 0 0 0 1.25893e-05 1.41254e-05 1.58489e-05 1.77828e-05 1.99526e-05
2.23872e-05 2.51189e-05 2.81838e-05 3.16228e-05 3.54813e-05 3.98107e-05
4.46684e-05 5.01187e-05 5.62341e-05 6.30957e-05 7.07946e-05 7.94328e-05
8.91251e-05 1e-04 0.000112202 0.000125893 0.000141254 0.000158489 0.000177828
0.000199526 0.000223872 0.000251189 0.000281838 0.000316228 0.000354813
0.000398107 0.000446684 0.000501187 0.000562341 0.000630957 0.000707946
0.000794328 0.000891251 0.001 0.00112202 0.00125893 0.00141254 0.00158489
0.00177828 0.00199526 0.00223872 0.00251189 0.00281838 0.00316228 0.00354813
0.00398107 0.00446684 0.00501187 0.00562341 0.00630957 0.00707946 0.00794328
0.00891251 0.01 0.0112202 0.0125893 0.0141254 0.0158489 0.0177828 0.0199526
0.0223872 0.0251189 0.0281838 0.0316228 0.0354813 0.0398107 0.0446684
0.0501187 0.0562341 0.0630957 0.0707946 0.0794328 0.0891251 0.1 0.112202
0.125893 0.141254 0.158489 0.177828 0.199526 0.223872 0.251189 0.281838
0.316228 0.354813 0.398107 0.446684 0.501187 0.562341 0.630957 0.707946
0.794328 0.891251 1 1.12202 1.25893 1.41254 1.58489 1.77828 1.99526
2.23872 2.51189 2.81838 3.16228 3.54813 3.98107 4.46684 5.01187 5.62341
6.30957 7.07946 7.94328 8.91251 10 11.2202 12.5893;
8.91251e-05 0.0001 0.000112202 0.000125893 0.000141254 0.000158489
0.000177828 0.000199526 0.000223872 0.000251189 0.000281838 0.000316228
0.000354813 0.000398107 0.000446684 0.000501187 0.000562341 0.000630957
0.000707946 0.000794328 0.000891251 0.001 0.00112202 0.00125893 0.00141254
0.00158489 0.00177828 0.00199526 0.00223872 0.00251189 0.00281838 0.00316228
0.00354813 0.00398107 0.00446684 0.00501187 0.00562341 0.00630957 0.00707946
0.00794328 0.00891251 0.01 0.0112202 0.0125893 0.0141254 0.0158489
0.0177828 0.0199526 0.0223872 0.0251189 0.0281838 0.0316228 0.0354813
0.0398107 0.0446684 0.0501187 0.0562341 0.0630957 0.0707946 0.0794328
0.0891251 0.1 0.112202 0.125893 0.141254 0.158489 0.177828 0.199526
0.223872 0.251189 0.281838 0.316228 0.354813 0.398107 0.446684 0.501187
0.562341 0.630957 0.707946 0.794328 0.891251 1 1.12202 1.25893 1.41254
1.58489 1.77828 1.99526 2.23872 2.51189 2.81838 3.16228 3.54813 3.98107
4.46684 5.01187 5.62341 6.30957 7.07946 7.94328 8.91251 10 11.2202
12.5893;
#X coords 0 10 123 0 200 100 1;
#X restore 302 48 graph;
#X text 504 141 0;
#X text 506 41 10;
#X text 321 151 ------ 123 samples ------;
#N canvas 0 0 450 300 graph2 0;
#N canvas 0 22 450 300 graph2 0;
#X array mtof 130 float 1;
#A 0 8.1758 8.66196 9.17702 9.72272 10.3009 10.9134 11.5623 12.2499
12.9783 13.75 14.5676 15.4339 16.3516 17.3239 18.354 19.4454 20.6017
......@@ -65,7 +66,7 @@
#X obj 55 145 + 1;
#X obj 22 217 mtof;
#X obj 55 169 mod 8;
#N canvas 0 0 450 300 graph1 0;
#N canvas 0 22 450 300 graph1 0;
#X array \$0-array1 8 float 2;
#X coords 0 96 8 36 200 100 1;
#X restore 340 144 graph;
......@@ -74,9 +75,9 @@
#X text 107 147 sequencer for;
#X text 122 164 8 note loop;
#X obj 16 576 output~;
#X obj 22 104 tgl 15 0 empty \$1-metro empty 0 -6 0 8 -262144 -1 -1
1 1;
#N canvas 876 177 375 255 startup 0;
#X obj 22 104 tgl 15 0 empty \$0-metro empty 0 -6 0 8 -262144 -1 -1
0 1;
#N canvas 876 177 379 259 startup 0;
#X obj 22 24 loadbang;
#X obj 22 48 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
......
#N canvas 164 25 744 599 12;
#N canvas 425 33 744 599 12;
#X floatatom 494 315 5 0 0 0 - transpo-set -;
#X floatatom 167 383 3 0 0 0 - speed-set -;
#X floatatom 55 385 7 0 0 0 - location-set -;
#N canvas 199 40 821 693 fft-analysis 0;
#N canvas 90 42 821 693 fft-analysis 0;
#X obj 51 477 *~;
#X obj 18 477 *~;
#X obj 18 499 -~;
......@@ -39,7 +39,7 @@ bang;
#X obj 97 425 q8_rsqrt~;
#N canvas 139 105 1006 799 read-windows 0;
#X obj 18 693 *~;
#X obj 364 448 r window-size;
#X obj 340 448 r window-size;
#X obj 156 300 f;
#X obj 102 91 r window-size;
#X obj 102 139 /;
......@@ -60,14 +60,14 @@ bang;
#X text 188 394 reading location (samples);
#X obj 51 597 / 4;
#X obj 288 245 * 0.01;
#X floatatom 364 498 7 0 0 0 - - -;
#X obj 364 474 *;
#X obj 502 347 r transpo;
#X obj 502 369 * 0.01;
#X obj 504 390 + 69;
#X obj 505 411 mtof;
#X obj 505 433 / 440;
#X obj 399 474 t b f;
#X floatatom 340 498 7 0 0 0 - - -;
#X obj 340 474 *;
#X obj 499 365 r transpo;
#X obj 499 387 * 0.01;
#X obj 501 408 + 69;
#X obj 502 429 mtof;
#X obj 502 451 / 440;
#X obj 375 474 t b f;
#X obj 19 719 outlet~;
#X obj 195 720 outlet~;
#X obj 218 664 tabreceive~ \$0-hann;
......@@ -77,7 +77,7 @@ bang;
#X obj 768 508 r speed;
#X msg 768 532 set \$1;
#X obj 768 557 s speed-set;
#X text 432 498 stretched window size (samples);
#X text 411 498 stretched window size (samples);
#X obj 877 507 r transpo;
#X msg 877 533 set \$1;
#X obj 877 558 s transpo-set;
......@@ -123,8 +123,8 @@ by "location". If "speed" is nonzero \, "location" automatically precesses.
#X obj 845 684 r auto;
#X obj 730 685 r no-detune;
#X msg 730 707 \; detune 0;
#X text 321 280 loop to precess the location according;
#X text 320 296 to the "speed" parameter.;
#X text 326 275 loop to precess the location according;
#X text 325 291 to the "speed" parameter.;
#X text 611 31 if location changes \, update number box;
#X text 610 50 in main window via "location-set" \, but;
#X text 613 69 taking care to limit frequency of updates.;
......@@ -136,14 +136,6 @@ by "location". If "speed" is nonzero \, "location" automatically precesses.
#X text 496 527 "rewind" control takes us;
#X text 499 545 to a location depending on;
#X text 499 564 stretched window size.;
#X obj 593 457 t b f;
#X obj 617 395 samplerate~;
#X obj 593 348 r \$0-insamprate;
#X obj 593 418 /;
#X obj 505 455 * 1;
#X text 494 312 desired transposition and sample;
#X text 494 329 rate correction for soundfile;
#X obj 593 370 t f b;
#X connect 0 0 30 0;
#X connect 1 0 23 0;
#X connect 2 0 11 0;
......@@ -179,7 +171,7 @@ by "location". If "speed" is nonzero \, "location" automatically precesses.
#X connect 25 0 26 0;
#X connect 26 0 27 0;
#X connect 27 0 28 0;
#X connect 28 0 99 0;
#X connect 28 0 29 0;
#X connect 29 0 23 0;
#X connect 29 1 23 1;
#X connect 32 0 5 1;
......@@ -224,14 +216,6 @@ by "location". If "speed" is nonzero \, "location" automatically precesses.
#X connect 77 0 75 0;
#X connect 79 0 78 0;
#X connect 80 0 81 0;
#X connect 95 0 99 0;
#X connect 95 1 99 1;
#X connect 96 0 98 1;
#X connect 97 0 102 0;
#X connect 98 0 95 0;
#X connect 99 0 29 0;
#X connect 102 0 98 0;
#X connect 102 1 96 0;
#X restore 109 133 pd read-windows;
#X obj 137 543 tabsend~ prev-imag;
#X obj 136 567 tabsend~ prev-real;
......@@ -363,11 +347,11 @@ shifts the signal to the left or right depending on its argument.)
#X connect 54 0 21 0;
#X restore 55 480 pd fft-analysis;
#N canvas 260 23 647 768 phase-tables 0;
#N canvas 0 0 450 300 (subpatch) 0;
#N canvas 0 0 450 300 graph2 0;
#X array prev-imag 4096 float 0;
#X coords 0 1000 4096 -1000 400 300 1;
#X restore 169 326 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#N canvas 0 0 450 300 graph3 0;
#X array prev-real 4096 float 0;
#X coords 0 500 4096 -500 400 300 1;
#X restore 170 17 graph;
......@@ -378,9 +362,9 @@ shifts the signal to the left or right depending on its argument.)
#X text 389 359 normal;
#X obj 56 517 output~;
#N canvas 0 110 565 454 hann-window 0;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0-hann 4096 float 0;
#X coords 0 1 4095 0 300 100 1;
#N canvas 0 0 450 300 graph1 0;
#X array \$0-hann 1024 float 0;
#X coords 0 1 1023 0 300 100 1;
#X restore 82 311 graph;
#X obj 378 165 osc~;
#X obj 378 190 *~ -0.5;
......@@ -428,9 +412,9 @@ and window-msec (analysis window size in seconds and msec).;
#X connect 19 1 18 0;
#X restore 440 528 pd hann-window;
#N canvas 388 86 694 447 insample 0;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0-sample 82301 float 0;
#X coords 0 1 82300 -1 400 150 1;
#N canvas 0 0 450 300 graph1 0;
#X array \$0-sample 160161 float 0;
#X coords 0 1 160160 -1 400 150 1;
#X restore 281 135 graph;
#X obj 28 133 r read-sample;
#X obj 28 184 unpack s f;
......@@ -449,12 +433,12 @@ and window-msec (analysis window size in seconds and msec).;
#X obj 28 381 * 1000;
#X obj 28 404 s \$0-samp-msec;
#X obj 66 357 r \$0-insamprate;
#X obj 37 68 hip~ 5;
#X obj 37 44 adc~ 1;
#X obj 29 70 hip~ 5;
#X obj 29 46 adc~ 1;
#X obj 29 9 inlet;
#X obj 99 44 samplerate~;
#X obj 91 46 samplerate~;
#X obj 29 93 tabwrite~ \$0-sample;
#X obj 99 68 s \$0-insamprate;
#X obj 91 70 s \$0-insamprate;
#X msg 285 383 \; read-sample ../sound/voice.wav;
#X obj 276 20 inlet;
#X obj 276 42 openpanel;
......@@ -479,7 +463,7 @@ and window-msec (analysis window size in seconds and msec).;
#X connect 18 0 22 0;
#X connect 19 0 18 0;
#X connect 20 0 21 0;
#X connect 20 0 22 0;
#X connect 20 0 19 0;
#X connect 21 0 23 0;
#X connect 25 0 26 0;
#X connect 26 0 27 0;
......@@ -501,6 +485,7 @@ and window-msec (analysis window size in seconds and msec).;
#X obj 262 408 s rewind;
#X msg 345 336 200;
#X msg 345 358 100;
#X msg 345 380 20;
#X text 386 335 contract;
#X text 390 380 expand;
#X obj 493 407 s lock;
......@@ -542,7 +527,6 @@ to see the workings.;
#X obj 535 460 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 466 458 file ->;
#X msg 345 380 20;
#X connect 0 0 5 0;
#X connect 1 0 21 0;
#X connect 2 0 20 0;
......@@ -552,13 +536,13 @@ to see the workings.;
#X connect 14 0 16 0;
#X connect 15 0 16 0;
#X connect 17 0 11 0;
#X connect 19 0 28 0;
#X connect 19 0 29 0;
#X connect 22 0 23 0;
#X connect 24 0 48 0;
#X connect 25 0 48 0;
#X connect 38 0 42 0;
#X connect 39 0 42 0;
#X connect 40 0 42 0;
#X connect 41 0 42 0;
#X connect 52 0 11 1;
#X connect 54 0 48 0;
#X connect 24 0 49 0;
#X connect 25 0 49 0;
#X connect 26 0 49 0;
#X connect 39 0 43 0;
#X connect 40 0 43 0;
#X connect 41 0 43 0;
#X connect 42 0 43 0;
#X connect 53 0 11 1;
......@@ -40,7 +40,7 @@ and heard. (Listen to the two outputs separately \, then together.)
#X text 95 350 output level;
#X text 100 308 for difference;
#X text 157 77 <-- click to graph;
#X msg 148 97 \; pd DSP 1;
#X msg 148 97 \; pd dsp 1;
#X obj 138 247 tabwrite~ \$0-difference;
#X obj 138 270 tabwrite~ \$0-sum;
#X obj 138 138 tabwrite~ \$0-phasor;
......
#N canvas 0 0 615 578 12;
#X obj 353 490 t b;
#X obj 353 437 f;
#X obj 353 515 f;
#X msg 467 514 0;
#X obj 353 467 moses 1;
#X obj 467 486 t b f;
#X obj 433 447 moses 1;
#X obj 29 97 dbtorms;
#X obj 85 170 inlet~;
#X msg 299 310 \; pd dsp 1;
#X obj 29 170 line~;
#X obj 64 242 *~;
#X obj 64 272 dac~;
#X obj 29 127 pack 0 50;
#X text 121 146 audio in;
#X text 138 464 test if less than 1 -->;
#X text 104 491 if true convert to bang -->;
#X text 100 96 <-- convert from dB to linear units;
#X floatatom 323 219 3 0 100 0 dB - -;
#X obj 350 240 bng 15 250 50 0 empty empty mute -38 7 0 12 -262144
-1 -1;
#X text 118 126 <-- make a ramp to avoid clicks or zipper noise;
#X obj 148 170 inlet~;
#X obj 154 241 *~;
#X text 373 378 MUTE logic:;
#X obj 323 174 r \$0-master-lvl;
#X obj 353 541 s \$0-master-lvl;
#X obj 323 279 s \$0-master-out;
#X obj 29 71 r \$0-master-out;
#X obj 433 418 r \$0-master-out;
#X text 60 10 Level control abstraction \, used in many of the Pd example
patches. The "level" and "mute" controls show up on the parent \, calling
patch.;
#X text 66 517 previous nonzero master-lvl -->;
#X text 138 421 recall previous;
#X text 138 439 value of master-lvl -->;
#X text 39 319 automatically start DSP -->;
#X obj 85 192 hip~ 3;
#X obj 147 192 hip~ 3;
#X connect 0 0 2 0;
#X connect 1 0 4 0;
#X connect 2 0 25 0;
#X connect 3 0 25 0;
#X connect 4 0 0 0;
#X connect 4 1 5 0;
#X connect 5 0 3 0;
#X connect 6 1 2 1;
#X connect 7 0 13 0;
#X connect 8 0 34 0;
#X connect 10 0 22 0;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 13 0 10 0;
#X connect 18 0 9 0;
#X connect 18 0 26 0;
#X connect 19 0 1 0;
#X connect 21 0 35 0;
#X connect 22 0 12 1;
#X connect 24 0 18 0;
#X connect 27 0 7 0;
#X connect 28 0 1 1;
#X connect 28 0 6 0;
#X connect 34 0 11 1;
#X connect 35 0 22 1;
#X coords 0 0 1 1 65 55 1 300 200;
......@@ -85,25 +85,25 @@ array pitch template-pitch array amp template-amp;
#X floatatom 269 464 0 0 0 0 - - -;
#X msg 55 484 start;
#X msg 106 484 stop;
#N canvas 137 388 559 411 data 0;
#X scalar template-toplevel 3 86 900 \; 0 0 12 \; 10 0 12 \; \; 0 0
0 \; 10 0 2.5 \; 11 0 0 \; \;;
#X scalar template-toplevel 14 80 990 \; 0 0 12 \; 10 0 12 \; \; 0
#N canvas 258 114 425 363 data 1;
#X scalar template-toplevel 22 86 900 \; 0 0 12 \; 10 0 12 \; \; 0
0 0 \; 10 0 2.5 \; 11 0 0 \; \;;
#X scalar template-toplevel 33 80 990 \; 0 0 12 \; 10 0 12 \; \; 0
0 2.5 \; 10 0 2.5 \; 11 0 0 \; \;;
#X scalar template-toplevel 38 43.25 90 \; 0 65 12 \; 100 10 0 \; 100
#X scalar template-toplevel 57 43.25 90 \; 0 65 12 \; 100 10 0 \; 100
10 12 \; 230 50 0 \; 230 10 3 \; 240 60 0 \; 240 25 10 \; 250 60 0
\; 250 37 10 \; 260 65 0.5 \; 285 65 0.5 \; \; 1 0 2 \; 103 0 1 \;
195 0 2 \; 220 0 0.75 \; 225 0 1.25 \; 248 0 2.5 \; 251 0 2.25 \; 255
0 0 \; 256 0 1.5 \; 260 0 0 \; 261 0 2 \; 265 0 0 \; 266 0 2.5 \; 270
0 0 \; 271 0 3 \; 275 0 0 \; \;;
#X scalar template-toplevel 64 80 900 \; 0 5 0.25 \; 60 5 0.25 \; \;
#X scalar template-toplevel 83 80 900 \; 0 5 0.25 \; 60 5 0.25 \; \;
0 0 0 \; 28 -0.25 3.5 \; 58 -0.25 0 \; \;;
#X scalar template-toplevel 142 105 900 \; 0 0 12 \; 70 -20 12 \; \;
#X scalar template-toplevel 161 105 900 \; 0 0 12 \; 70 -20 12 \; \;
0 0 0 \; 10 0 2.5 \; 20 0 0 \; 30 0 0 \; 40 0 2.5 \; 50 0 0 \; 60 0
2.5 \; 70 0 0 \; \;;
#X scalar template-toplevel 319 63.5 909 \; 0 0 12 \; 50 0 12 \; \;
#X scalar template-toplevel 338 63.5 909 \; 0 0 12 \; 50 0 12 \; \;
0 0 4 \; 10 0 2.5 \; 50 0 0 \; \;;
#X coords 0 102.75 1 102.5 0 0 0;
#X coords 0 90.75 1 90.5 0 0 0;
#X restore 55 364 pd data;
#N canvas 82 467 332 145 stuff 0;
#X msg 1 101 \; pd-data write xx.txt;
......
#N canvas 0 0 757 616 12;
#X obj 516 522 t b;
#X obj 516 469 f;
#X obj 516 547 f;
#X msg 630 546 0;
#X obj 516 499 moses 1;
#X obj 630 518 t b f;
#X obj 596 479 moses 1;
#X obj 29 97 dbtorms;
#X obj 85 170 inlet~;
#X msg 278 300 \; pd dsp 1;
#X obj 29 170 line~;
#X obj 64 242 *~;
#X obj 64 272 dac~;
#X obj 29 127 pack 0 50;
#X text 121 146 audio in;
#X text 301 496 test if less than 1 -->;
#X text 267 523 if true convert to bang -->;
#X text 100 96 <-- convert from dB to linear units;
#X floatatom 278 221 3 0 100 0 dB - -;
#X obj 516 449 bng 15 250 50 0 empty empty mute -38 7 0 12 -262144
-1 -1;
#X text 118 126 <-- make a ramp to avoid clicks or zipper noise;
#X obj 148 170 inlet~;
#X obj 154 241 *~;
#X text 502 399 MUTE logic:;
#X obj 278 193 r \$0-master-lvl;
#X obj 516 573 s \$0-master-lvl;
#X obj 293 247 s \$0-master-out;
#X obj 29 71 r \$0-master-out;
#X obj 596 450 r \$0-master-out;
#X text 60 10 Level control abstraction \, used in many of the Pd example
patches. The "level" and "mute" controls show up on the parent \, calling
patch.;
#X text 229 549 previous nonzero master-lvl -->;
#X text 301 453 recall previous;
#X text 301 471 value of master-lvl -->;
#X text 16 310 automatically start DSP -->;
#X obj 85 192 hip~ 3;
#X obj 147 192 hip~ 3;
#X connect 0 0 2 0;
#X connect 1 0 4 0;
#X connect 2 0 25 0;
#X connect 3 0 25 0;
#X connect 4 0 0 0;
#X connect 4 1 5 0;
#X connect 5 0 3 0;
#X connect 6 1 2 1;
#X connect 7 0 13 0;
#X connect 8 0 34 0;
#X connect 10 0 22 0;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 13 0 10 0;
#X connect 18 0 9 0;
#X connect 18 0 26 0;
#X connect 19 0 1 0;
#X connect 21 0 35 0;
#X connect 22 0 12 1;
#X connect 24 0 18 0;
#X connect 27 0 7 0;
#X connect 28 0 1 1;
#X connect 28 0 6 0;
#X connect 34 0 11 1;
#X connect 35 0 22 1;
#X coords 0 0 1 1 65 55 1;
#N canvas 40 40 426 466 10;
#X obj 16 439 bng 15 150 50 0 \$0-credits-bng \$0-credits-bng empty
20 7 0 12 -262144 -66577 -262144;
#N canvas 0 22 450 300 \$0-gop 0;
#X coords 0 0 20 320 20 320 2 0 0;
#X restore 9 118 pd \$0-gop;
#X obj 10 10 bng 25 250 50 0 empty \$0-nothing-at-all empty 17 7 0
10 -2882 -1 -1;
#X obj 35 211 pddp/pddplink ../manuals/Pd/License.html -text License.html
;
#X text 35 237 Reference documentation for Pd is available in html
format:;
#X obj 35 261 pddp/pddplink ../1.manual/index.htm -text Local copy
of Pd Manual;
#X obj 35 281 pddp/pddplink http://www.crca.ucsd.edu/~msp/Pd_documentation/index.htm
-text http://www.crca.ucsd.edu/~msp/Pd_documentation/index.htm;
#X text 35 307 Much more documentation and other resources can be found
at:;
#X obj 35 327 pddp/pddplink http://www.puredata.info;
#X obj 35 377 pddp/pddplink http://iem.kug.ac.at/mailinglists/pd-list/
;
#X text 35 357 The Pd mailing list archive can be found at:;
#X text 35 397 Many more useful links are listed in the HTML documentation
\, section 1.2.;
#X obj 115 131 pddp/print;
#N canvas 146 26 531 400 (subpatch) 0;
#X obj 340 153 hcs/version;
#X obj 313 101 loadbang;
#X obj 313 126 t b b;
#X obj 313 262 hcs/tcl_version;
#X obj 313 306 print Tcl Version;
#X msg 340 175 \$1.\$2.\$3-\$4;
#X obj 340 202 print Pd Version;
#N canvas 469 100 450 300 \$0-spark 0;
#X obj 35 46 struct \$0-spark float x float y float coefx float coefy
float active float c;
#X obj 48 104 drawpolygon c 1 0 0 1 0 1 1 0 0 0 1;
#X restore 197 41 pd \$0-spark;
#N canvas 0 22 450 300 \$0-sparks 0;
#X obj 40 77 plot a 0 0 0 0 0;
#X obj 40 40 struct \$0-sparks float x float y array a \$0-spark;