max v2; #N vpatcher 10 59 690 699; #P window setfont Times 18.; #P window linecount 2; #P comment 375 355 271 1310738 use an event in an audio signal to trigger display of a frame of a movie; #P window linecount 1; #P comment 315 485 107 1310738 open a movie; #P comment 60 485 131 1310738 report when true; #P comment 245 456 232 1310738 when ramp jumps down to 0...; #P comment 267 426 216 1310738 detect change in signal value; #P comment 45 405 136 1310738 any sound source; #P comment 100 361 240 1310738 use ramp as amplitude envelope; #P comment 116 296 391 1310738 using cycles of a ramp signal to trigger bangs in Max; #P comment 325 242 282 1310738 show where you are in a 4/4 measure; #P comment 358 149 154 1310738 ms per beat division; #P comment 155 96 94 1310738 ms per beat; #P comment 421 96 135 1310738 divisions per beat; #P comment 358 43 129 1310738 beats per minute; #P button 194 246 15 0; #P button 171 518 15 0; #P window setfont "Fixedwidth Serif" 18.; #P number 290 241 35 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 191 543 406 1441810 jit.window Rhythmic 704 528 1024 768; #P message 261 484 54 1441810 read; #P newex 191 514 219 1441810 jit.qt.movie @vol 0; #P newex 191 483 65 1441810 edge~; #P newex 191 454 54 1441810 <~ 0; #P newex 191 425 76 1441810 delta~; #P toggle 290 193 15 0; #P newex 290 213 164 1441810 tempo 60. 1 16; #P user ezdac~ 9 522 53 555 0; #P newex 46 425 120 1441810 cycle~ 440; #P newex 24 457 32 1441810 *~; #P newex 24 359 76 1441810 !-~ 1.; #P flonum 24 269 107 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 24 216 107 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 24 241 98 1441810 !/ 1000.; #P toggle 194 194 15 0; #P flonum 364 95 57 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 249 148 109 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 249 120 125 1441810 / 1.; #P flonum 249 95 109 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 249 42 109 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 249 67 109 1441810 !/ 60000.; #P newex 194 215 65 1441810 metro; #P newex 24 294 92 1441810 phasor~; #P connect 13 0 15 0; #P fasten 6 0 10 0 254 173 29 173; #P connect 10 0 9 0; #P connect 9 0 11 0; #P connect 11 0 0 0; #P connect 0 0 12 0; #P connect 12 0 13 0; #P connect 13 0 15 1; #P connect 14 0 13 1; #P connect 20 0 25 0; #P fasten 0 0 18 0 29 322 196 322; #P connect 18 0 19 0; #P connect 19 0 20 0; #P fasten 22 0 21 0 266 510 196 510; #P connect 20 0 21 0; #P connect 21 0 23 0; #P connect 8 0 1 0; #P connect 1 0 26 0; #P connect 3 0 2 0; #P connect 2 0 4 0; #P connect 4 0 5 0; #P connect 5 0 6 0; #P connect 6 0 1 1; #P connect 17 0 16 0; #P connect 16 0 24 0; #P connect 7 0 5 1; #P pop;