max v2; #N vpatcher 179 197 765 568; #P origin 0 20; #P message 376 267 65 196617 vasp bufshift; #N vpatcher 40 55 218 175; #P newex 45 79 61 196617 vasp.update; #P newex 45 56 45 196617 vasp.= 0; #N comlet vasp to clear in; #P inlet 45 26 15 0; #P connect 0 0 1 0; #P connect 1 0 2 0; #P pop; #P newobj 376 287 73 196617 p clear_buffer; #P hidden newex 456 257 48 196617 r 1124path; #P user umenu 84 105 72 196647 1 64 121 1; #X add bass.aif; #X add beat.aif; #X add fly.aif; #X add plastic.aif; #X add your_own...; #N vpatcher 93 462 631 722; #P message 59 102 28 196617 read; #P newex 59 69 89 196617 route your_own...; #N comlet popup comment in; #P inlet 59 26 15 0; #P newex 59 149 48 196617 s 1124path; #P newex 138 102 79 196617 sprintf read %s; #P user umenu 48 169 100 196647 1 64 185 1; #X add drums.aif; #X add voice.aif; #X add test.aif; #X add read a soundfile; #P connect 3 0 4 0; #P connect 4 0 5 0; #P connect 5 0 2 0; #P fasten 1 0 2 0 143 134 64 134; #P connect 4 1 1 0; #P pop; #P hidden newobj 146 127 43 196617 p loader; #P comment 58 107 26 196617 read; #P comment 55 71 187 196617 optional argument/right inlet: value; #P message 207 288 27 196617 stop; #P message 139 288 65 196617 startwindow; #P newex 249 314 29 196617 dac~; #P newex 249 262 30 196617 line~; #P message 249 239 72 196617 0 \, 2000 2000; #P newex 249 287 71 196617 play~ bufshift; #P number 138 173 64 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 63 224 61 196617 vasp.update; #P message 63 146 65 196617 vasp bufshift; #P newex 63 196 85 196617 vasp.shift 10000; #P comment 55 56 128 196617 shifts the buffer content; #P comment 55 33 96 196622 vasp.shift; #P hidden message 249 91 60 196617 set bufshift; #P hidden newex 249 66 45 196617 loadbang; #P user waveform~ 249 110 312 99 3 9; #W mode select; #W mouseoutput continuous; #W unit ms; #W grid 1000.; #W ticks 8.; #W labels 1; #W vlabels 1; #W vticks 1; #W vzoom 1.; #W voffset 0.; #W bpm 120. 4.; #W frgb 0 0 0; #W brgb 255 255 255; #W rgb2 132 132 132; #W rgb3 0 0 0; #W rgb4 0 0 0; #W rgb5 255 255 255; #W rgb6 100 100 100; #W rgb7 100 100 100; #P newex 456 287 105 196617 buffer~ bufshift 2000; #P connect 7 0 6 0; #P connect 6 0 8 0; #P connect 9 0 6 1; #P hidden connect 19 1 18 0; #P hidden fasten 0 1 3 0 556 307 565 307 565 87 254 87; #P hidden connect 2 0 3 0; #P hidden connect 3 0 1 0; #P connect 11 0 12 0; #P connect 12 0 10 0; #P connect 10 0 13 0; #P fasten 15 0 13 0 212 307 254 307; #P fasten 14 0 13 0 144 307 254 307; #P connect 10 0 13 1; #P connect 22 0 21 0; #P hidden connect 20 0 0 0; #P pop;