max v2; #N vpatcher 50 42 388 580; #P comment 195 567 67 131727369 Scheduler in Audio Interrupt; #P toggle 180 570 15 0; #P message 180 589 98 1441802 \; dsp takeover \$1; #P comment 226 423 43 131727369 total number of samples in buffer; #P newex 199 294 23 1441802 b; #P newex 118 108 36 1441802 * 1.; #P newex 118 80 36 1441802 t b f; #P outlet 48 602 15 0; #P newex 109 499 53 1441802 wave~ $1; #P newex 48 499 53 1441802 wave~ $1; #P newex 109 473 23 1441802 *~; #P newex 48 473 23 1441802 *~; #P newex 155 448 71 1441802 expr 1./$f1; #P newex 155 423 71 1441802 mstosamps~; #P newex 155 398 101 1441802 info~ $1; #P newex 152 576 23 1441802 *~; #P newex 48 576 23 1441802 *~; #P newex 131 348 28 1441802 + 0.; #P newex 131 323 28 1441802 i; #P newex 179 327 35 1441802 * -1.; #P newex 109 423 34 1441802 *~ 1.; #P newex 190 373 49 1441802 + 0.; #P newex 166 348 23 1441802 f; #P newex 212 348 23 1441802 f; #P newex 238 348 28 1441802 + 0.; #P newex 238 323 28 1441802 i; #P newex 61 549 30 1441802 abs~; #P newex 61 526 35 1441802 -~ 1.; #P newex 165 545 30 1441802 abs~; #P newex 165 522 35 1441802 -~ 1.; #P newex 165 499 23 1441802 *~; #P newex 178 478 74 1441802 expr 1./$f1; #P newex 252 250 23 1441802 - 1; #P newex 238 294 37 1441802 edge~; #P newex 238 271 24 1441802 ==~; #P newex 145 250 23 1441802 - 1; #P newex 192 225 36 1441802 * 0.5; #P newex 212 136 30 1441802 << 1; #P newex 57 35 47 1441802 prepend set; #P newex 109 31 53 1441802 expr pow(2.\\\,$f1/12.); #P newex 179 200 36 1441802 * 1.; #P newex 179 175 36 1441802 t b f; #P newex 212 102 27 1441802 * 1; #P newex 173 77 58 1441802 dspstate~; #P newex 191 31 59 1441802 maximum 1; #P newex 191 52 48 1441802 t b i; #P newex 109 448 23 1441802 +~; #P newex 131 294 37 1441802 edge~; #P newex 131 271 24 1441802 ==~; #P newex 48 448 23 1441802 +~; #P newex 48 423 34 1441802 *~ 1.; #P newex 48 124 23 1441802 0; #P newex 48 72 54 1441802 t b i b; #P inlet 191 13 15 0; #P comment 183 1 59 131727369 windowsize; #P inlet 160 13 15 0; #P comment 155 1 29 131727369 tempo; #P inlet 109 13 15 0; #P comment 99 1 57 131727369 transposition; #P inlet 77 13 15 0; #P comment 72 1 29 131727369 buffer; #P inlet 48 13 15 0; #P newex 48 145 42 1441802 count~; #P comment 46 1 27 131727369 start; #P comment 200 509 47 131727369 triangular window shapes \, offset by 1/2 length; #P comment 275 464 13 131727369; #P connect 4 0 13 0; #P connect 13 0 14 0; #P connect 14 0 3 0; #P connect 3 0 15 0; #P connect 15 0 16 0; #P connect 16 0 54 0; #P fasten 27 0 56 0 62 68 105 68 105 494 53 494; #P connect 54 0 56 0; #P connect 56 0 49 0; #P connect 49 0 58 0; #P fasten 50 0 58 0 157 597 53 597; #P fasten 6 0 27 0 82 31 62 31; #P fasten 13 1 16 1 75 137 93 137 93 444 66 444; #P fasten 48 0 16 1 136 390 93 390 93 444 66 444; #P fasten 53 0 54 1 160 469 66 469; #P fasten 37 0 38 0 170 566 142 566 142 521 66 521; #P connect 38 0 39 0; #P connect 39 0 49 1; #P fasten 26 0 15 1 114 95 109 95 109 175 77 175; #P fasten 28 0 3 1 217 158 196 158 196 141 85 141; #P connect 8 0 26 0; #P fasten 3 0 45 0 53 166 114 166; #P fasten 13 1 19 0 75 137 101 137 101 444 114 444; #P connect 45 0 19 0; #P fasten 44 0 19 0 195 394 146 394 146 444 114 444; #P connect 19 0 55 0; #P fasten 27 0 57 0 62 68 105 68 105 494 114 494; #P connect 55 0 57 0; #P fasten 26 0 59 0 114 76 123 76; #P fasten 23 0 60 0 217 124 196 124 196 104 123 104; #P fasten 53 0 55 1 160 469 127 469; #P fasten 3 0 17 0 53 166 136 166; #P connect 17 0 18 0; #P connect 18 0 47 0; #P connect 47 0 48 0; #P fasten 26 0 45 1 114 95 109 95 109 386 138 386; #P connect 59 1 60 1; #P fasten 28 0 30 0 217 158 150 158; #P connect 30 0 17 1; #P fasten 13 1 47 1 75 137 170 137 170 317 154 317; #P fasten 48 0 47 1 136 369 162 369 162 319 154 319; #P fasten 25 0 48 1 184 221 176 221 176 344 154 344; #P fasten 57 0 50 0 114 571 157 571; #P fasten 13 2 51 0 97 382 160 382; #P fasten 51 6 52 0 238 419 160 419; #P fasten 52 1 53 0 221 444 160 444; #P fasten 3 0 35 0 53 417 150 417 150 494 170 494; #P connect 35 0 36 0; #P connect 36 0 37 0; #P connect 37 0 50 1; #P fasten 32 0 43 0 243 319 171 319; #P fasten 20 0 22 0 196 73 178 73; #P fasten 59 0 22 0 123 101 169 101 169 69 178 69; #P fasten 13 2 22 0 97 101 169 101 169 69 178 69; #P fasten 23 0 34 0 217 124 286 124 286 474 183 474; #P connect 34 0 35 1; #P fasten 10 0 24 0 165 172 184 172; #P connect 24 0 25 0; #P fasten 28 0 25 0 217 158 175 158 175 196 184 196; #P fasten 60 0 46 0 123 245 184 245; #P connect 46 0 43 1; #P connect 64 0 63 0; #P fasten 43 0 44 0 171 369 195 369; #P fasten 42 0 44 0 217 369 195 369; #P connect 12 0 21 0; #P connect 21 0 20 0; #P fasten 25 0 29 0 184 221 197 221; #P fasten 18 0 61 0 136 315 195 315 195 290 204 290; #P connect 24 1 25 1; #P fasten 22 2 23 0 210 98 217 98; #P connect 23 0 28 0; #P connect 61 1 42 0; #P fasten 60 0 42 1 123 162 230 162; #P connect 20 1 23 1; #P fasten 41 0 44 1 243 369 234 369; #P fasten 3 0 31 0 53 166 243 166; #P connect 31 0 32 0; #P fasten 61 0 40 0 204 315 243 315; #P connect 32 0 40 0; #P connect 40 0 41 0; #P fasten 23 0 33 0 217 124 257 124; #P connect 33 0 31 1; #P fasten 13 1 40 1 75 128 278 128 278 319 261 319; #P fasten 41 0 40 1 243 369 269 369 269 319 261 319; #P fasten 29 0 41 1 197 246 282 246 282 344 261 344; #P pop;