max v2; #N vpatcher 424 83 1188 931; #P button 181 346 15 0; #P window setfont "Sans Serif" 9.; #P newex 181 290 27 9109513 r off; #P message 181 368 14 9109513 0; #P button 151 345 15 0; #P newex 151 290 24 9109513 r on; #P message 151 368 14 9109513 1; #P window setfont "Times New Roman" 10.; #P comment 340 333 64 9175050 ramp time; #P window setfont "Sans Serif" 9.; #P number 301 333 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 151 445 40 9109513 line; #P window setfont "Times New Roman" 10.; #P comment 416 109 64 9175050 amp threshold; #P window setfont "Sans Serif" 9.; #P newex 134 483 27 9109513 *~; #P flonum 357 109 58 9 0. 1. 3 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 153 252 214 9109513 if $f1 > $f2 then send on bang else send off bang; #P flonum 153 232 58 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 153 209 63 9109513 peakamp~ 50; #B color 5; #P window setfont "Times New Roman" 10.; #P comment 466 180 51 9175050 (og test file is quiet \, so volume goes to 2); #P user scope~ 211 568 341 698 256 3 128 -1. 1. 0 0. 0 0. 102 255 51 135 135 135 0; #P comment 176 95 25 9175050 stop; #P comment 165 59 25 9175050 play; #P window setfont "Sans Serif" 9.; #P message 158 95 14 9109513 0; #P message 147 59 14 9109513 1; #P user ezdac~ 134 568 178 601 0; #P newex 134 514 27 9109513 *~; #P message 134 38 28 9109513 open; #N sfplay~ 1 120960 0 ; #P newobj 134 121 39 9109513 sfplay~; #P window setfont "Times New Roman" 10.; #P comment 466 161 51 9175050 Volume; #P comment 518 274 51 9175050 Amplitude; #P user uslider 447 161 14 73 201 1 0 0; #P window setfont "Fixedwidth Serif" 10.; #P newex 447 253 43 9240586 / 100.; #P flonum 447 274 69 10 0. 2. 3 141 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 447 336 33 9240586 line~; #P message 447 317 38 9240586 \$1 50; #P newex 447 296 38 9240586 * 0.5; #P connect 9 0 8 0; #P fasten 13 0 8 0 163 116 139 116; #P fasten 12 0 8 0 152 113 139 113; #P connect 8 0 22 0; #P connect 22 0 10 0; #P connect 10 0 11 0; #P connect 28 0 29 0; #P connect 29 0 27 0; #P fasten 30 0 24 0 186 415 156 415; #P fasten 27 0 24 0 156 402 156 423 156 423; #P connect 24 0 22 1; #P fasten 2 0 10 1 452 505 156 505; #P fasten 8 0 18 0 139 201 158 201; #P connect 18 0 19 0; #P connect 19 0 20 0; #P fasten 25 0 24 1 306 432 171 432; #P fasten 10 0 11 1 139 541 173 541; #P connect 31 0 32 0; #P connect 32 0 30 0; #P fasten 10 0 16 0 139 541 216 541; #P connect 21 0 20 1; #P connect 5 0 4 0; #P connect 4 0 3 0; #P connect 3 0 0 0; #P connect 0 0 1 0; #P connect 1 0 2 0; #P pop;