max v2; #N vpatcher 256 239 665 551; #P window setfont Times 18.; #P comment 258 179 126 1310738 Arg 2: fade time; #P comment 258 159 90 1310738 Arg 1: gain; #P comment 224 57 75 1310738 fade time; #P comment 115 57 39 1310738 gain; #P comment 23 57 45 1310738 input; #P comment 36 234 181 1310738 with amplitude adjusted; #N comlet (signal) output; #P outlet 36 217 15 0; #P window setfont "Fixedwidth Serif" 18.; #P newex 36 186 99 1441810 *~; #N comlet (int/float) fade time in ms; #P inlet 255 77 15 0; #N comlet (float) gain; #P inlet 125 77 15 0; #N comlet (signal) input; #P inlet 36 77 15 0; #P newex 212 125 89 1441810 f $2; #P newex 125 97 97 1441810 t f b; #P newex 125 157 133 1441810 line~ $1; #P window setfont Times 18.; #P comment 51 215 55 1310738 output; #P connect 4 0 7 0; #P connect 7 0 8 0; #P connect 5 0 2 0; #P connect 2 0 1 0; #P connect 1 0 7 1; #P connect 2 1 3 0; #P fasten 3 0 1 1 217 152 253 152; #P fasten 6 0 3 1 260 108 296 108; #P pop;