max v2; #N vpatcher 137 61 652 682; #P window setfont "Sans Serif" 14.; #P flonum 97 315 121 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 83 284 61 196622 * 500.; #P newex 83 255 45 196622 + 1.; #P flonum 157 212 70 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 156 156 51 196622 10; #P newex 83 183 83 196622 snapshot~; #P flonum 83 85 35 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 83 53 43 196622 * 0.1; #P user hslider 83 29 18 128 100 1 0 0; #P newex 83 113 55 196622 cycle~; #P newex 121 461 52 196622 * 0.02; #P flonum 125 496 76 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user hslider 121 436 18 128 128 1 0 0; #P flonum 83 399 83 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user hslider 83 375 18 128 1000 1 50 0; #P user ezdac~ 47 536 91 569 0; #P newex 25 464 56 196622 noise~; #P newex 61 498 54 196622 lores~; #P comment 178 464 191 196622 resonance amount (0 - 1); #P comment 173 399 158 196622 cutoff frequency (hz); #P comment 136 71 228 196622 set the cycle rate (hz) for the change in the cutoff frequency; #P comment 210 150 237 196622 take a "snapshot" every 10 ms of the numbers (-1.0 -- 1.0) coming from the cycle~ oscillator; #P comment 229 265 221 196622 add 1. to get the "-1.0 -- 1.0" numbers to the "0.0 -- 2.0" range \, then multiply by 500 to get "0 -- 1000" (the range for the cutoff frequency to vary); #P comment 245 512 153 196622 oh those soothing waves! -- dynamically modulate the cutoff frequency; #P window setfont "Sans Serif" 9.; #P comment 155 129 71 196617 click to start the snapshot; #P connect 7 0 9 0; #P connect 8 0 7 0; #P connect 7 0 9 1; #P connect 16 0 17 0; #P connect 17 0 18 0; #P connect 18 0 15 0; #P connect 15 0 19 0; #P connect 19 0 22 0; #P connect 22 0 23 0; #P connect 23 0 10 0; #P connect 10 0 11 0; #P connect 11 0 7 1; #P connect 23 0 24 0; #P connect 14 0 7 2; #P connect 12 0 14 0; #P connect 14 0 13 0; #P connect 20 0 19 1; #P connect 19 0 21 0; #P pop;