[jitter] Re: FFT to geometry matrix
Andrew Benson
andrewb at cycling74.com
Wed Jan 9 10:14:41 MST 2008
- Previous message: [jitter] Re: FFT to geometry matrix
- Next message: [jitter] Re: FFT to geometry matrix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Here is a classic patch that always seems to make an appearance whenever I do a workshop. Somehow there is always at least one guy who wants to make an FFT mesh... andrew b. #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 57 486 34 196617 reset; #P newex 57 505 81 196617 jit.gl.handle gee; #P newex 22 321 110 196617 jit.op @op pass pass +; #P newex 22 230 48 196617 loadbang; #P message 22 252 190 196617 exprfill 0 snorm[0] \, exprfill 1 snorm[1]; #P newex 22 272 142 196617 jit.matrix 3 float32 100 256; #P newex 103 198 76 196617 jit.window gee; #P newex 30 106 58 196617 t b b erase; #P newex 22 545 351 196617 jit.gl.mesh gee @draw_mode line_strip @color 1. 1. 1. 0.1 @blend_enable 1; #P newex 30 163 184 196617 jit.gl.render gee @erase_color 0 0 0 1; #P flonum 623 155 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 239 225 64 196617 jit.op @op ~; #P newex 460 121 48 196617 loadbang; #P message 247 151 33 196617 clear; #P newex 460 170 45 196617 jit.fill k; #P message 460 145 115 196617 0. 0. 0. 1. 0. 0. 0. 0. 0.; #P user jit.pwindow 238 273 402 258 0 0 0 0 1 0; #P newex 338 251 92 196617 jit.matrix spectra; #P newex 460 193 126 196617 jit.matrix k 1 float32 3 3; #P newex 338 230 132 196617 jit.convolve @boundmode 1; #P user ezdac~ 543 99 587 132 0; #P newex 239 172 179 196617 jit.matrix spectra 1 float32 100 256; #P toggle 30 52 15 0; #P newex 30 86 57 196617 qmetro 33; #P toggle 598 45 15 0; #P message 622 44 61 196617 open \, loop 1; #N sfplay~ 1 120960 0 ; #P newobj 598 65 44 196617 sfplay~; #P newex 692 159 48 196617 !-~ 256.; #P newex 598 194 105 196617 jit.poke~ spectra 2 0; #P newex 598 172 35 196617 *~ 1.; #P newex 598 135 57 196617 cartopol~; #P newex 598 103 105 196617 fft~ 512 512 0; #P window linecount 4; #P comment 597 215 146 196617 we write our audio spectrum to the first line of the matrix and then use jit.convolve with feedback to make it scroll.; #P connect 29 0 28 0; #P fasten 25 1 27 0 59 155 27 155; #P connect 28 0 27 0; #P connect 27 0 30 0; #P connect 31 0 24 0; #P connect 30 0 24 0; #P connect 10 0 9 0; #P connect 9 0 25 0; #P fasten 25 2 23 0 83 150 35 150; #P connect 25 0 23 0; #P connect 32 0 31 0; #P fasten 11 0 30 1 244 216 231 216 231 315 127 315; #P fasten 25 1 11 0 59 155 244 155; #P connect 19 0 11 0; #P connect 11 0 21 0; #P connect 21 0 16 0; #P fasten 11 0 13 0 244 208 343 208; #P connect 13 0 15 0; #P connect 20 0 17 0; #P connect 17 0 18 0; #P connect 18 0 14 0; #P connect 14 0 13 1; #P fasten 6 0 12 0 603 87 548 87; #P fasten 6 0 12 1 603 87 582 87; #P connect 8 0 6 0; #P connect 7 0 6 0; #P connect 6 0 1 0; #P connect 1 0 2 0; #P connect 2 0 3 0; #P connect 3 0 4 0; #P connect 22 0 3 1; #P connect 1 1 2 1; #P connect 1 2 5 0; #P connect 5 0 4 2; #P window clipboard copycount 33;
- Previous message: [jitter] Re: FFT to geometry matrix
- Next message: [jitter] Re: FFT to geometry matrix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
