max v2; #N vpatcher 30 89 895 762; #P origin 0 16; #P number 107 15 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 112 61 70 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 113 39 31 196617 * 33; #P newex 19 415 45 196617 loadbang; #P message 19 437 60 196617 set imgbuff; #N coll ; #T flags 1 0; #T 0 mode select; #T 1 mode loop; #T 2 mode move; #T 3 mode draw; #P hidden newobj 8 516 53 196617 coll; #P user pictslider 90 509 19 76 0 0 0 0 wfknob.pct 1 wfmodes.pct 1 2146 0 0 196608 1. 1.; #P comment 551 475 47 196617 select all; #P message 549 489 51 196617 0 -1 0 -1; #N vpatcher 40 55 418 371; #P newex 129 26 45 196617 loadbang; #P newex 47 26 55 196617 metro 100; #P button 175 97 15 0; #P newex 129 145 60 196617 prepend set; #N comlet waveform~ mode messages; #P inlet 129 121 15 0; #P newex 259 76 27 196617 << 1; #P newex 206 121 40 196617 change; #P newex 206 145 107 196617 select 0 1 2; #P newex 206 98 27 196617 |; #P newex 47 121 40 196617 change; #P outlet 129 252 15 0; #P message 47 145 65 196617 constrain \$1; #P newex 129 195 45 196617 loadbang; #P newex 47 53 225 196617 modifiers; #P message 270 169 58 196617 mode move; #P message 206 213 61 196617 mode select; #P message 238 191 52 196617 mode loop; #P connect 16 0 15 0; #P connect 15 0 3 0; #P connect 3 0 7 0; #P connect 7 0 5 0; #P connect 12 0 13 0; #P fasten 5 0 6 0 52 243 134 243; #P fasten 0 0 6 0 243 243 134 243; #P fasten 1 0 6 0 211 243 134 243; #P fasten 2 0 6 0 275 243 134 243; #P connect 11 0 14 0; #P connect 3 3 8 0; #P connect 14 0 8 0; #P connect 8 0 10 0; #P connect 10 0 9 0; #P connect 4 0 1 0; #P connect 9 0 1 0; #P connect 13 0 1 0; #P connect 11 0 8 1; #P connect 9 1 0 0; #P connect 3 4 11 0; #P connect 9 2 2 0; #P pop; #P hidden newobj 18 541 50 196617 p wfkeys; #P hidden message 397 613 35 196617 set \$1; #P hidden message 301 613 35 196617 set \$1; #P hidden message 205 613 35 196617 set \$1; #P hidden message 109 613 35 196617 set \$1; #P comment 460 475 68 196617 select end ms; #P comment 338 475 75 196617 select start ms; #P comment 216 475 83 196617 display length ms; #P flonum 469 489 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 349 489 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 229 489 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 109 489 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user waveform~ 109 509 490 93 3 9; #W mode select; #W mouseoutput continuous; #W clipdraw 1; #W unit ms; #W grid 500.; #W ticks 8.; #W labels 1; #W vlabels 1; #W vticks 1; #W vzoom 1.; #W voffset 0.; #W bpm 120. 4.; #W frgb 16 0 0; #W brgb 94 166 169; #W rgb2 63 112 185; #W rgb3 0 0 0; #W rgb4 0 0 0; #W rgb5 169 165 207; #W rgb6 108 108 108; #W rgb7 78 74 220; #P comment 96 475 83 196617 display start ms; #P button 400 154 15 0; #P message 549 329 27 196617 stop; #P message 549 307 65 196617 startwindow; #P newex 626 362 30 196617 dac~; #P comment 278 121 100 196617 is there a smarter way to do this?; #P newex 697 197 45 196617 loadbang; #P newex 23 284 29 196617 -~ 1; #P newex 23 260 31 196617 *~ 2; #P flonum 710 323 110 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 710 295 69 196617 snapshot~ 10; #P flonum 627 203 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user gain~ 627 305 39 17 158 0 1.07152 7.94321 10.; #P message 697 223 35 196617 loop 1; #P newex 627 225 35 196617 sig~ 1; #P newex 627 263 83 196617 groove~ imgbuff; #P user jit.pwindow 296 298 82 62 0 1 0 0 1 0; #P newex 296 273 66 196617 jit.unpack; #P number 128 184 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 108 106 15 0; #P newex 108 202 27 196617 sig~; #P newex 108 128 51 196617 metro 50; #P button 174 317 15 0; #P toggle 174 283 15 0; #P newex 23 381 113 196617 buffer~ imgbuff 12000; #P newex 23 349 82 196617 record~ imgbuff; #P newex 174 195 31 196617 sel 1; #N counter 0 0 239; #X flags 0 0; #P newobj 108 155 111 196617 counter 0 0 239; #P message 73 99 14 196617 0; #P newex 23 159 43 196617 *~ 320; #P newex 23 127 60 196617 phasor~ 20; #P newex 23 232 144 196617 jit.peek~ frame 2 3 @interp 1; #P newex 279 370 84 196617 jit.matrix frame; #P message 404 122 82 196617 read \, stop \, bang; #P newex 279 249 104 196617 jit.qt.movie 320 240; #P comment 278 55 100 196617 packs the blue channel of the first frame of a qt-compatible file into a buffer.; #P comment 404 94 100 196617 turn on audio and send the msg below; #P comment 416 144 100 196617 then press this button to load the buffer; #P hidden connect 53 1 54 0; #P hidden connect 54 0 50 0; #P connect 56 0 55 0; #P connect 7 0 8 0; #P connect 8 0 6 0; #P connect 6 0 29 0; #P connect 29 0 30 0; #P connect 30 0 12 0; #P connect 14 0 12 0; #P fasten 15 0 9 0 179 369 260 369 260 85 78 85; #P connect 9 0 7 1; #P fasten 14 0 18 0 225 254 225 98 113 98; #P connect 18 0 16 0; #P connect 16 0 10 0; #P connect 10 0 17 0; #P hidden connect 46 0 39 0; #P hidden connect 54 0 38 0; #P hidden connect 50 0 38 0; #P connect 39 0 38 0; #P connect 55 0 38 0; #P hidden connect 38 0 46 0; #P connect 57 0 58 0; #P connect 59 0 57 0; #P connect 10 0 19 0; #P connect 17 0 6 1; #P connect 10 2 11 0; #P connect 11 0 14 0; #P connect 36 0 14 0; #P connect 14 0 15 0; #P hidden connect 38 1 47 0; #P hidden connect 47 0 40 0; #P connect 40 0 38 1; #P connect 4 0 3 0; #P connect 3 0 5 0; #P connect 3 0 20 0; #P connect 20 3 21 0; #P hidden connect 38 2 48 0; #P hidden connect 48 0 41 0; #P connect 41 0 38 2; #P hidden connect 38 3 49 0; #P hidden connect 49 0 42 0; #P connect 42 0 38 3; #P connect 51 0 38 4; #P connect 25 0 33 0; #P connect 35 0 33 0; #P connect 34 0 33 0; #P connect 26 0 23 0; #P connect 23 0 22 0; #P connect 24 0 22 0; #P connect 22 0 25 0; #P connect 25 0 33 1; #P hidden connect 38 2 22 1; #P connect 31 0 24 0; #P hidden connect 38 3 22 2; #P connect 22 1 27 0; #P connect 27 0 28 0; #P pop;