max v2; #N vpatcher 40 55 629 621; #P origin -4 0; #P comment 209 416 223 1441802 open a filename \, then record into it; #P comment 266 334 218 1441802 amplitude converted to value 0 to 1; #P comment 88 95 47 196622 Track; #P comment 16 95 64 196622 Stop CD; #P message 39 115 17 196622 0; #P flonum 321 298 89 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 239 430 43 196622 open; #P toggle 221 430 15 0; #P newex 221 470 92 196622 sfrecord~ 2; #P toggle 53 386 15 0; #P newex 95 443 54 196622 dac~; #P newex 225 329 41 196622 line~; #P newex 225 298 91 196622 pack 0. 100; #P number 225 237 66 14 -120 12 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 225 268 148 131137550 expr pow(10.\\\,$f1/20.); #P newex 139 384 27 196622 *~; #P newex 95 384 27 196622 *~; #P number 95 115 35 14 1 29 67 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 95 159 59 196622 play \$1; #N cd~ 22050; #P newobj 95 194 230 196622 cd~; #P comment 0 364 100 196622 Audio On/Off; #P comment 291 240 158 1441802 amplitude expressed in dB; #P connect 4 0 3 0; #P connect 3 0 2 0; #P fasten 17 0 2 0 44 187 100 187; #P connect 2 0 5 0; #P connect 5 0 11 0; #P connect 12 0 11 0; #P fasten 10 0 5 1 230 357 117 357; #P connect 2 1 6 0; #P connect 6 0 11 1; #P fasten 10 0 6 1 230 357 161 357; #P connect 14 0 13 0; #P connect 15 0 13 0; #P fasten 5 0 13 0 100 423 192 423 192 454 226 454; #P connect 8 0 7 0; #P connect 7 0 9 0; #P connect 9 0 10 0; #P fasten 6 0 13 1 144 412 308 412; #P fasten 7 0 16 0 230 293 326 293; #P pop;