max v2; showing manipulation of filtered noise by a video matrix; #N vpatcher 167 44 1220 841; #P origin 0 -48; #P window setfont "Sans Serif" 9.; #P message 595 72 28 196617 open; #B color 9; #P message 636 72 31 196617 close; #B color 9; #P flonum 616 29 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 582 29 15 0; #P newex 582 48 44 196617 metro 2; #P newex 582 102 95 196617 jit.qt.grab 320 240; #B color 5; #P window linecount 2; #P comment 745 64 100 196617 check out jit.qt.grab help for more info.; #P window linecount 1; #P comment 699 742 200 196617 Constructed by Tom Mays \, tmays@free.fr; #P message 330 88 42 196617 rate \$1; #P comment 533 572 10 196617 |; #P comment 533 585 10 196617 |; #P comment 533 598 10 196617 |; #P hidden newex 23 179 30 196617 del 1; #P hidden newex 23 199 52 196617 onebang 1; #P hidden newex 23 159 30 196617 sel 1; #P hidden message 23 219 69 196617 mouse 80 0 1; #P hidden newex 23 40 54 196617 t 12.5 1 0; #P hidden newex 23 21 45 196617 loadbang; #P comment 537 566 178 196617 --------------------------------->; #P comment 533 611 10 196617 |; #P comment 533 624 10 196617 |; #P comment 533 637 10 196617 |; #P comment 533 650 10 196617 |; #P comment 533 663 10 196617 |; #P comment 533 676 10 196617 |; #P comment 533 689 10 196617 |; #P comment 533 702 10 196617 |; #P window linecount 2; #P comment 173 466 77 196617 vertical scan position (pixel); #P number 137 468 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window setfont "Sans Serif" 12.; #P window linecount 4; #P comment 16 408 59 196620 vertical scan extract on/off; #P toggle 75 425 30 0; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 99 466 27 196617 gate; #P comment 630 647 35 196617 on/off; #P toggle 599 639 30 0; #P window linecount 4; #P comment 22 319 91 196617 draw vertical white line at clicked position in pwindow; #P flonum 330 71 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 1; #P comment 365 72 48 196617 qt rate; #P flonum 321 228 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 356 228 50 196617 threshold; #P window linecount 5; #P comment 210 578 66 196617 that vertical line turned on its side (bottom=left \, top=right); #P window linecount 3; #P comment 375 487 46 196617 choose color to scan; #P window linecount 1; #N vpatcher 516 111 820 573; #P window setfont "Sans Serif" 9.; #P newex 41 149 27 196617 * 2; #N comlet vertical line number; #P outlet 41 195 15 0; #N comlet matrix out; #P outlet 25 408 15 0; #N comlet matrix in; #P inlet 25 342 15 0; #P newex 114 375 62 196617 jit.op @op +; #N comlet smaller matrix out with line; #P outlet 114 409 15 0; #N comlet window right out; #P inlet 178 4 15 0; #P toggle 232 76 15 0; #P newex 68 102 27 196617 gate; #P newex 114 237 55 196617 swap; #P newex 114 215 27 196617 - 1; #P newex 114 259 100 196617 pack 0 0 val; #P newex 68 172 192 196617 t b i clear; #P newex 68 193 56 196617 Uzi 120; #P number 68 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P button 91 309 15 0; #P newex 114 309 75 196617 prepend setcell; #P newex 114 285 110 196617 append 0 255 255 255; #P newex 114 338 161 196617 jit.matrix addline 4 char 160 120; #P newex 178 54 65 196617 unpack 0 0 0; #P newex 178 30 63 196617 route mouse; #P connect 17 0 18 0; #P connect 6 0 20 0; #P connect 20 0 19 0; #P fasten 13 0 12 0 237 96 73 96; #P connect 12 0 6 0; #P connect 6 0 8 0; #P connect 8 0 7 0; #P connect 1 0 12 1; #P connect 7 1 5 0; #P connect 7 2 10 0; #P connect 10 0 11 0; #P connect 11 0 9 0; #P connect 9 0 3 0; #P connect 3 0 4 0; #P connect 5 0 2 0; #P connect 4 0 2 0; #P fasten 8 2 2 0 255 331 119 331; #P connect 17 0 16 0; #P connect 16 0 15 0; #P connect 8 1 11 1; #P connect 11 1 9 1; #P fasten 2 0 16 1 119 361 171 361; #P connect 14 0 0 0; #P connect 0 0 1 0; #P connect 1 2 13 0; #P pop; #P newobj 116 285 52 196617 p vertline; #B color 6; #P user ubumenu 326 495 48 196617 0 1 1 0; #X add red; #X add green; #X add blue; #X prefix_set 0 0 0; #P user multiSlider 148 692 266 68 0. 255. 253 2665 47 0 0 2 0 0 1; #M frgb 255 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P newex 148 764 92 196617 s fftfilt1-spectFun; #B color 11; #P comment 153 679 151 196617 bands 0-252 (0 Hz - 10853 Hz); #P user meter~ 734 542 814 555 100 0 168 0 104 104 104 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3; #P newex 718 517 35 196617 noise~; #P newex 718 563 138 196617 pfft~ fft-filterinterp 1024 2; #B color 5; #P user jit.pwindow 93 579 15 122 0 1 0 0 1 0; #P user multiSlider 282 577 120 64 0. 256. 240 2921 15 0 0 2 0 0 1; #M frgb 0 0 255; #M brgb 0 0 0; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P noclick; #P user meter~ 743 713 823 726 100 0 168 0 104 104 104 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3; #P window setfont "Sans Serif" 18.; #P comment 568 612 120 196626 audio switch; #P window setfont "Sans Serif" 9.; #P newex 709 712 29 196617 dac~; #P user gain~ 718 599 43 76 158 0 1.071519 7.94321 10.; #P window linecount 4; #P comment 11 505 104 196617 analyse red \, green or blue intensities in a vertical line through the image; #P user jit.pwindow 450 154 551 354 0 1 0 0 1 0; #P toggle 238 162 15 0; #P window linecount 1; #P newex 238 182 27 196617 gate; #P window linecount 4; #P comment 31 32 84 196617 adjust metro time as a function of frames/sec; #P comment 22 251 91 196617 prepare image for vertical analysis by letting through only what "moves"; #P window linecount 1; #N vpatcher 39 121 627 679; #P origin 0 -47; #P window setfont "Sans Serif" 9.; #P comment 196 469 218 196617 pad list with zeros because scan line is 240 values and filter requires 253.; #P newex 42 454 35 196617 t l b; #P newex 42 493 35 196617 zl join; #P message 67 474 122 196617 0 0 0 0 0 0 0 0 0 0 0 0 0; #P comment 175 44 101 196617 vertical line position; #P outlet 42 517 15 0; #N comlet vert line number; #P inlet 129 23 15 0; #P newex 327 164 27 196617 + 1; #N comlet color (1-2-3); #P inlet 327 125 15 0; #N comlet vertical line list; #P outlet 327 296 15 0; #N comlet vertical line matrix; #P outlet 9 127 15 0; #P newex 174 344 33 196617 t b b; #P number 174 384 55 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 174 364 33 196617 timer; #P newex 59 403 125 196617 pack 0. 100; #P newex 59 426 80 196617 s fftfilt1-interp; #B color 11; #P newex 42 316 27 196617 t l b; #P toggle 59 347 15 0; #P newex 73 370 80 196617 s fftfilt1-tabsel; #B color 11; #P message 87 205 45 196617 plane \$1; #P newex 42 228 158 196617 jit.spill @plane 1 @listlength 240; #P message 218 71 90 196617 srcdimend \$1 239; #P number 129 43 45 9 0 319 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 129 71 85 196617 srcdimstart \$1 0; #P newex 42 97 390 196617 jit.matrix 4 char 1 240 @thru 1 @srcdimstart 0 0 @srcdimend 0 239 @usesrcdim 1; #P comment 83 258 218 196617 reverse list (so that the bottom is on the left).; #P newex 42 257 35 196617 zl rev; #P newex 327 205 61 196617 t b i; #P newex 327 266 65 196617 prepend frgb; #P number 327 144 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 327 227 44 196617 0 0 255; #P newex 327 245 61 196617 zl rot; #P comment 441 139 117 196617 choose which color data goes to audio fft filter; #N comlet matrix input; #P inlet 42 43 15 0; #P comment 363 133 55 196617 1 = red \; 2 = green \; 3 = blue \;; #P connect 10 0 24 0; #P fasten 13 0 10 0 223 91 47 91; #P fasten 11 0 10 0 134 91 47 91; #P connect 1 0 10 0; #P connect 15 0 14 0; #P connect 10 0 14 0; #P connect 14 0 8 0; #P connect 8 0 18 0; #P connect 18 0 33 0; #P connect 33 0 32 0; #P connect 32 0 29 0; #P connect 18 1 17 0; #P connect 17 0 20 0; #P connect 20 0 19 0; #P connect 33 1 31 0; #P connect 31 0 32 1; #P connect 17 0 16 0; #P fasten 27 0 15 0 332 193 92 193; #P connect 28 0 12 0; #P connect 12 0 11 0; #P fasten 18 1 23 0 64 339 179 339; #P connect 23 0 21 0; #P connect 21 0 22 0; #P connect 22 0 20 1; #P connect 23 1 21 1; #P fasten 12 0 13 0 134 64 223 64; #P connect 26 0 5 0; #P connect 5 0 27 0; #P connect 27 0 7 0; #P connect 7 0 4 0; #P connect 4 0 3 0; #P connect 3 0 6 0; #P connect 6 0 25 0; #P fasten 8 0 25 0 47 290 332 290; #P connect 7 1 3 1; #P pop; #P newobj 116 521 75 196617 p vertical_data; #B color 6; #P window setfont "Sans Serif" 18.; #P message 272 72 48 196626 read; #P window setfont "Sans Serif" 9.; #P newex 116 111 103 196617 jit.qt.movie 320 240; #B color 6; #P user jit.fpsgui 12 618 60 196617 0; #P user jit.pwindow 277 159 82 62 0 1 0 0 1 0; #P toggle 235 224 30 0; #N vpatcher 40 248 494 565; #P window setfont "Sans Serif" 9.; #P comment 335 159 50 196617 threshold; #N comlet threshold; #P inlet 318 158 15 0; #N comlet switch; #P inlet 111 27 15 0; #P comment 141 230 131 196617 multiply absdiff by what gets through threshold.; #P toggle 111 51 15 0; #P newex 75 136 27 196617 t l l; #P number 111 90 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 111 70 27 196617 + 1; #N comlet matrix input; #P inlet 75 89 15 0; #P outlet 40 266 15 0; #P flonum 318 180 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 75 230 63 196617 jit.op @op *; #P newex 128 203 61 196617 jit.op @op >; #P newex 75 175 85 196617 jit.op @op absdiff; #P comment 163 172 131 196617 absolute differece between this frame and the last; #P comment 193 206 50 196617 threshold; #P newex 40 115 45 196617 gate 2 1; #P comment 31 29 76 196617 "on" routes bang through processing \, "off" bypasses.; #P connect 11 0 1 0; #P connect 1 0 8 0; #P connect 6 0 8 0; #P connect 9 0 1 1; #P connect 1 1 12 0; #P connect 12 1 4 0; #P connect 4 0 6 0; #P connect 15 0 13 0; #P connect 13 0 10 0; #P connect 10 0 11 0; #P fasten 4 0 5 0 80 197 133 197; #P connect 5 0 6 1; #P fasten 12 0 4 1 80 164 155 164; #P fasten 7 0 5 1 323 199 184 199; #P connect 16 0 7 0; #P pop; #P newobj 116 265 89 196617 p framedifference; #B color 6; #P comment 197 65 54 196617 ms/frame; #P flonum 148 63 48 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 321 35 35 196617 on/off; #P flonum 116 23 48 9 0.1 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 290 27 30 0; #N vpatcher 40 55 312 320; #N comlet motor switch; #P inlet 137 42 15 0; #P outlet 117 183 15 0; #N comlet frames/sec; #P inlet 102 103 15 0; #N comlet metro bangs out; #P outlet 34 209 15 0; #P window setfont "Sans Serif" 9.; #P flonum 102 123 48 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 102 141 45 196617 !/ 1000.; #P flonum 102 161 50 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 34 82 15 0; #P newex 34 182 78 196617 metro 2; #P comment 155 42 68 196617 motor switch; #P connect 9 0 2 0; #P connect 2 0 1 0; #P connect 1 0 6 0; #P connect 7 0 5 0; #P connect 5 0 4 0; #P connect 4 0 3 0; #P connect 3 0 1 1; #P connect 3 0 8 0; #P pop; #P newobj 116 42 75 196617 p frame_motor; #B color 6; #P comment 165 23 61 196617 frames/sec; #P window linecount 2; #P comment 38 135 58 196617 basic movie player; #P window linecount 1; #P comment 270 228 35 196617 on/off; #P window linecount 2; #P comment 359 181 85 196617 <- unprocessed movie monitor; #P window linecount 6; #P comment 704 612 13 196617 VOLUME; #P comment 315 329 46 196617 click on image to set vertical scan position; #P comment 418 692 100 196617 this is a display \, but also works to directly adjust spectral amplitudes (turn off vertical scan extract first).; #P window linecount 5; #P comment 107 604 44 196617 matrix reduced to one vertical line; #P window linecount 1; #P comment 155 602 53 196617 -------->; #P comment 154 658 230 196617 vertical line list sent to fft spectral filter editor.; #P comment 761 619 41 196617 <- 0 dB; #P comment 242 767 298 196617 >---------------------------------------------------------; #P comment 533 715 10 196617 |; #P fasten 25 0 22 0 121 563 17 563; #P hidden connect 69 0 70 0; #P hidden connect 14 0 72 0; #P lcolor 1; #P hidden connect 72 0 74 0; #P hidden connect 74 0 73 0; #P hidden connect 73 0 71 0; #P fasten 25 0 37 0 121 569 99 569; #P fasten 56 0 55 0 80 459 104 459; #P hidden connect 70 0 15 0; #P lcolor 1; #P connect 15 0 13 0; #P connect 13 0 23 0; #P fasten 24 0 23 0 277 105 121 105; #P fasten 78 0 23 0 335 105 121 105; #P fasten 81 0 19 0 587 145 121 145; #P connect 23 0 19 0; #P connect 19 0 45 0; #P connect 45 0 55 1; #P fasten 55 0 25 0 104 491 121 491; #P connect 45 1 58 0; #P fasten 13 1 17 0 186 61 153 61; #P fasten 58 0 25 1 142 501 153 501; #P connect 25 1 43 0; #P connect 43 0 42 0; #P fasten 20 0 19 1 240 257 160 257; #P hidden connect 71 0 45 1; #P lcolor 1; #P fasten 30 1 45 1 995 472 368 472 368 316 163 316; #P fasten 44 0 25 2 331 517 185 517; #P fasten 14 0 13 1 295 60 194 60 194 39 186 39; #P fasten 49 0 19 2 326 261 199 261; #P hidden connect 70 1 29 0; #P lcolor 1; #P connect 29 0 28 0; #P fasten 81 0 28 1 587 145 260 145; #P fasten 23 0 28 1 121 178 226 178 226 156 260 156; #P fasten 28 0 21 0 243 202 271 202 271 156 283 156; #P fasten 25 2 36 0 185 565 287 565; #P hidden connect 70 2 44 0; #P lcolor 1; #P hidden connect 70 1 51 0; #P lcolor 1; #P connect 51 0 78 0; #P connect 45 2 30 0; #P connect 83 0 82 0; #P connect 82 0 81 0; #P fasten 86 0 81 0 600 95 587 95; #P fasten 85 0 81 0 641 96 587 96; #P connect 84 0 82 1; #P connect 32 0 33 0; #P connect 53 0 33 0; #P connect 39 0 38 0; #P connect 38 0 32 0; #P connect 32 0 33 1; #P connect 39 0 40 0; #P connect 32 0 35 0; #P pop;