#N canvas 487 108 791 417 12;
#X declare -path else;
#X obj 553 39 declare -path else;
#X text 36 20 The [autofade~] object is an object from the ELSE library
that takes an on/off switch (like a toggle) and peform the fade in
or out for a given time in ms. It also uses the same fade functions
available in [fader~]., f 65;
#X obj 226 309 autofade~ 1000 2, f 21;
#X obj 298 263 osc~ 400;
#X obj 370 263 osc~ 550;
#X obj 226 231 tgl 20 0 empty empty empty 17 7 0 10 -228856 -1 -1 0
1;
#X obj 217 346 out~;
#X obj 613 210 osc~ 400;
#X obj 685 210 osc~ 550;
#X obj 541 217 tgl 20 0 empty empty empty 17 7 0 10 -228856 -1 -1 0
1;
#X obj 531 298 out~;
#X obj 541 255 autofade2~ 1000 500 2;
#X text 524 81 The [autofade2~] object is the same thing \, but can
take a different fade time for the fade in (1000 ms below) and the
fade out (500 ms). Check it out as well., f 29;
#X obj 226 281 sig~;
#X text 36 83 Note that \, besides a float \, the object also takes
an audio signal value as the on or off input (unlike [line~] or [float2sig~].
It is turned on when the input value is not zero and the preceding
value is zero. Conversely \, it is turned off when the input is zero
and the preceding value isn't., f 65;
#X text 36 160 The non zero value also sets the maximum gain that the
object reaches. The first argument specifies the fade time in ms and
the second argument sets the number of input signals. Check its help
file for more., f 65;
#X msg 154 231 0.5;
#X msg 191 231 0;
#X floatatom 226 257 5 0 0 0 - - -;
#X connect 2 0 6 0;
#X connect 2 1 6 1;
#X connect 3 0 2 1;
#X connect 4 0 2 2;
#X connect 5 0 18 0;
#X connect 7 0 11 1;
#X connect 8 0 11 2;
#X connect 9 0 11 0;
#X connect 11 0 10 0;
#X connect 11 1 10 1;
#X connect 13 0 2 0;
#X connect 16 0 18 0;
#X connect 17 0 18 0;
#X connect 18 0 13 0;
