max v2; #N vpatcher 187 63 900 517; #P window setfont "Sans Serif" 14.; #P message 357 111 85 196622 1. 0.5 0.1; #P newex 357 143 85 196622 gen10 512; #P newex 357 176 96 196622 peek~ jason; #P flonum 256 147 95 14 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user meter~ 360 364 476 390 100 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3; #P user gain~ 256 234 24 100 158 0 1.071519 7.94321 10.; #P user ezdac~ 244 387 288 420 0; #P newex 195 35 157 196622 buffer~ jason 11.609; #P newex 256 181 97 196622 cycle~ jason; #P comment 73 147 175 196622 cycle~ can use a 512-point buffer as the wavetable instead of a sine wave; #P comment 7 28 181 196622 this creates a buffer of 512/44100 milliseconds; #P comment 236 63 115 196622 double-click to see the buffer; #P comment 459 114 207 196622 this writes a 512-point sine wave into the "jason" buffer \, with harmonics 1-2-3 at amplitudes 1. \, 0.5 \, 0.1; #P connect 7 0 6 0; #P connect 9 0 4 0; #P connect 4 0 7 0; #P connect 7 0 6 1; #P connect 12 0 11 0; #P connect 11 0 10 0; #P connect 7 0 8 0; #P pop;