max v2; #N vpatcher 240 176 1017 813; #P origin 0 -72; #P window setfont "Sans Serif" 9.; #P comment 462 311 111 196617 < adjust range; #P number 367 310 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 462 531 80 196617 < adjust volume; #P comment 462 590 75 196617 < turn on audio; #P comment 462 250 111 196617 < filter out zeros; #P comment 462 373 111 196617 < smooth out using line; #P comment 383 202 123 196617 < mean value of all pixels; #P newex 350 349 59 196617 pack 0 100; #P newex 350 371 40 196617 line; #P newex 350 328 27 196617 * 5; #P newex 402 442 37 196617 * 0.05; #P user gain~ 350 509 29 40 158 0 1.071519 7.94321 10.; #P newex 350 485 62 196617 *~; #P newex 402 462 39 196617 cycle~; #P newex 350 442 30 196617 + 50; #P newex 350 463 39 196617 cycle~; #P number 350 418 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user ezdac~ 350 583 394 616 0; #P newex 411 247 45 196617 route 0.; #P newex 363 247 45 196617 route 0.; #P newex 315 247 45 196617 route 0.; #P user hslider 350 392 18 128 1200 1 0 0; #P newex 350 290 27 196617 + 0.; #P newex 398 290 27 196617 + 0.; #P flonum 446 268 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 398 268 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 350 268 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 267 225 155 196617 unpack 0. 0. 0. 0.; #P newex 247 203 70 196617 jit.3m; #B color 5; #P user jit.fpsgui 10 519 60 196617 0; #P flonum 342 152 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 247 177 105 196617 jit.op @op > @val 0.2; #P newex 247 122 27 196617 t l l; #P newex 247 152 90 196617 jit.op @op absdiff; #P user jit.pwindow 9 268 322 242 0 1 0 0 1 0; #P toggle 247 31 15 0; #P newex 247 52 55 196617 qmetro 20; #P message 327 75 45 196617 settings; #P message 292 75 32 196617 close; #P message 260 75 29 196617 open; #P newex 247 101 55 196617 jit.qt.grab; #P comment 12 32 219 196617 this patch uses simple Jitter frame differencing to calculate the degree of change from frame to frame \, and uses that difference to control some audio.; #P comment 383 154 100 196617 < adjust sensitivity; #P connect 11 0 8 0; #P connect 8 0 13 0; #P connect 7 0 6 0; #P connect 6 0 2 0; #P connect 5 0 2 0; #P connect 4 0 2 0; #P connect 3 0 2 0; #P connect 2 0 10 0; #P connect 10 1 9 0; #P connect 9 0 11 0; #P connect 11 0 14 0; #P connect 14 1 15 0; #P connect 15 1 22 0; #P connect 10 0 9 1; #P connect 12 0 11 1; #P connect 22 1 16 0; #P connect 16 0 20 0; #P connect 20 0 33 0; #P connect 33 0 35 0; #P connect 35 0 34 0; #P connect 34 0 21 0; #P connect 21 0 26 0; #P connect 26 0 28 0; #P connect 28 0 27 0; #P connect 27 0 30 0; #P connect 30 0 31 0; #P connect 31 0 25 0; #P connect 15 2 23 0; #P connect 19 0 20 1; #P connect 41 0 33 1; #P connect 31 0 25 1; #P connect 23 1 17 0; #P connect 17 0 19 0; #P connect 26 0 32 0; #P connect 32 0 29 0; #P connect 29 0 30 1; #P connect 15 3 24 0; #P connect 18 0 19 1; #P connect 24 1 18 0; #P pop;