#N canvas 95 40 682 438 12;
#X obj 32 80 r trigger;
#X obj 32 131 tabread4~ dbtorms;
#X graph graph1 0 0 123 10 392 193 592 93;
#X array dbtorms 123 float 0;
#X pop;
#X obj 55 157 osc~ 440;
#X text 594 186 0;
#X text 596 86 10;
#X text 411 196 ------ 123 samples ------;
#X floatatom 70 206 0 0 0;
#N canvas 159 26 530 278 output 0;
#X obj 338 160 t b;
#X obj 338 110 f;
#X obj 338 60 inlet;
#X text 344 29 mute;
#X obj 338 185 f;
#X msg 395 183 0;
#X msg 338 85 bang;
#X obj 338 135 moses 1;
#X obj 389 110 moses 1;
#X obj 83 148 dbtorms;
#X obj 389 85 r master-lvl;
#X obj 83 42 r master-lvl;
#X obj 338 210 s master-lvl;
#X obj 22 181 inlet~;
#X obj 199 41 inlet;
#X text 199 18 level;
#X obj 199 100 s master-lvl;
#X msg 96 65 set \$1;
#X obj 96 89 outlet;
#X msg 214 64 \; pd dsp 1;
#X obj 83 194 line~;
#X obj 22 212 *~;
#X obj 22 241 dac~;
#X obj 83 171 pack 0 50;
#X text 20 158 audio;
#X text 93 110 show level;
#X connect 0 0 4 0;
#X connect 1 0 7 0;
#X connect 2 0 6 0;
#X connect 4 0 12 0;
#X connect 5 0 12 0;
#X connect 6 0 1 0;
#X connect 7 0 0 0;
#X connect 7 1 5 0;
#X connect 8 1 4 1;
#X connect 9 0 23 0;
#X connect 10 0 1 1;
#X connect 10 0 8 0;
#X connect 11 0 9 0;
#X connect 11 0 17 0;
#X connect 13 0 21 0;
#X connect 14 0 16 0;
#X connect 14 0 19 0;
#X connect 17 0 18 0;
#X connect 20 0 21 1;
#X connect 21 0 22 0;
#X connect 21 0 22 1;
#X connect 23 0 20 0;
#X restore 32 232 pd output;
#X msg 106 205 MUTE;
#X text 147 204 <-- output amplitude;
#X text 112 276 <-- attack;
#X text 113 333 <-- release;
#X msg 32 319 \; pd dsp 1 \; trigger 0;
#X obj 32 182 *~;
#X msg 31 264 \; pd dsp 1 \; trigger 1;
#X text 82 7 ADSR with constant slew rate instead of constant attack
time;
#X obj 390 275 loadbang;
#X msg 390 298 \; dbtorms read dbtorms.txt;
#X text 34 28 Here we swap in "adsr2" so you cam compare. I think sometimes
you'll want the constant rise time \, and sometimes the constant rise
rate as in adsr2.;
#X text 40 390 Click on the adsr2 object to see how this is done.;
#X obj 32 106 adsr2 100 100 200 70 300;
#X text 420 414 updated for Pd version 0.34;
#X connect 0 0 21 0;
#X connect 1 0 14 0;
#X connect 3 0 14 1;
#X connect 7 0 8 1;
#X connect 8 0 7 0;
#X connect 9 0 8 2;
#X connect 14 0 8 0;
#X connect 17 0 18 0;
#X connect 21 0 1 0;
