max v2; #N vpatcher 29 44 1237 800; #P origin 38 -17; #P newex 654 414 27 196617 + 1; #P number 655 314 64 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 629 443 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 609 472 30 196617 + 40; #P message 460 476 16 9109513 0.; #P message 366 479 16 9109513 0.; #P flonum 485 476 35 9 0. 1. 3 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 485 496 62 9109513 pack 0. 100; #P flonum 394 480 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 394 560 101 9109513 *~; #P newex 485 523 31 9109513 line~; #P newex 394 526 60 9109513 cycle~ 440; #P newex 705 555 168 196617 if ($i1 == 1) then $i1 else out2 $i1; #P message 648 337 27 196617 stop; #P number 708 342 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 752 452 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 705 583 38 196617 set \$1; #P newex 689 375 55 196617 metro 100; #P button 599 342 15 0; #P newex 598 374 69 196617 random 1000; #P number 705 530 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 705 452 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 705 490 52 196617 wondrous; #N vpatcher 49 44 434 310; #P comment 16 21 355 196617 You can access tables with array notation \, i.e. "tab[5]" And you can send symbols to switch between tables:; #P number 48 78 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 48 100 72 196617 expr $s2[$i1]; #B color 5; #N vtable 50 50 38 231 216 20 128 tab2; #T set 0 0 0 0 0 0 60 60 61 62 111 106 105 104 101 99 97 96 94 93 91 77 78 78 78 78 78 78 72 43 39 37 37 36 36 36 37 37 37 32 30 28 24 24 22 20 19 17 15 14 2; #P newobj 253 89 58 196617 table tab2; #N vtable 50 50 38 231 216 20 128 tab1; #T set 0 0 2 5 7 13 15 16 17 20 22 24 25 26 26 27 30 32 35 37 38 39 40 41 42 43 44 45 46 47 49 51 52 54 56 58 59 61 63 65 66 68 69 71 72 74 75 80 85 86 88; #P newobj 253 69 58 196617 table tab1; #P message 110 51 74 196617 symbol tab1; #P message 137 73 80 196617 symbol tab2; #P number 48 123 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 9 167 353 196617 List of functions in expr: min \, max \, int (convert to integer) \, float (convert to float) \, pow (power) \, sqrt (square root) \, exp (power of e to x) \, log10 (log) \, ln (natural log) \, log (nat. log) \, sin \, cos \, tan \, asin (arcsin) \, acos \, atan \, atan2 \, sinh \, cosh \, tanh \, fact (factorial) \, random \, size (size of a table) \, sum (sum of table contents) \, Sum (sum with boundaries) \, avg (of table contents) \, Avg (avg with boundaries) \, store (store into a table); #P connect 7 0 6 0; #P connect 6 0 1 0; #P fasten 2 0 6 1 142 94 115 94; #P connect 3 0 6 1; #P pop; #P newobj 834 494 89 196617 patcher wondrous; #P objectname wondrous; #P comment 389 632 355 196617 You can access tables with array notation \, i.e. "tab[5]" And you can send symbols to switch between tables:; #P number 421 689 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 421 711 72 196617 expr $s2[$i1]; #B color 5; #N vtable 50 50 38 231 216 20 128 tab2; #P newobj 626 700 58 196617 table tab2; #N vtable 50 50 38 231 216 20 128 tab1; #P newobj 626 680 58 196617 table tab1; #P message 483 662 74 196617 symbol tab1; #P message 510 684 80 196617 symbol tab2; #P number 421 734 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 382 778 353 196617 List of functions in expr: min \, max \, int (convert to integer) \, float (convert to float) \, pow (power) \, sqrt (square root) \, exp (power of e to x) \, log10 (log) \, ln (natural log) \, log (nat. log) \, sin \, cos \, tan \, asin (arcsin) \, acos \, atan \, atan2 \, sinh \, cosh \, tanh \, fact (factorial) \, random \, size (size of a table) \, sum (sum of table contents) \, Sum (sum with boundaries) \, avg (of table contents) \, Avg (avg with boundaries) \, store (store into a table); #P newex 48 671 224 196617 expr 8.175798 * pow(1.0594633\\\,$i1); #B color 5; #P flonum 48 691 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 48 653 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 638 50 81 196617 open 1 ŒEdit meš; #P number 791 255 46 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P button 836 302 15 0; #P message 791 347 54 196617 append \$1; #P message 862 347 51 196617 append 0.; #P message 914 347 52 196617 append \\\,; #P message 967 347 35 196617 set 0.2; #P message 862 403 69 196617 0.2 \, 0. 68; #P number 722 72 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P button 767 119 15 0; #P message 722 164 54 196617 append \$1; #P message 793 164 51 196617 append 0.; #P message 845 164 52 196617 append \\\,; #P message 898 164 41 196617 set 40.; #P message 793 220 69 196617 40. \, 0. 68; #P number 268 49 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 137 31 40 9109513 del 100; #P button 184 26 15 0; #P message 234 31 14 9109513 0; #P message 219 31 14 9109513 1; #P flonum 640 220 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 461 220 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 281 220 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 293 88 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 280 67 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 255 29 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 229 61 15 0; #P button 203 61 15 0; #P button 190 61 15 0; #P toggle 587 239 15 0; #P number 613 238 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 600 220 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P button 574 239 15 0; #P button 561 239 15 0; #P button 548 239 15 0; #P newex 548 270 169 9109513 wiggleline; #P toggle 409 239 15 0; #P toggle 229 239 15 0; #P number 435 238 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 422 220 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P button 396 239 15 0; #P button 383 239 15 0; #P button 370 239 15 0; #P newex 370 270 167 9109513 wiggleline; #P number 255 238 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 242 220 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P button 216 239 15 0; #P button 203 239 15 0; #P button 190 239 15 0; #P newex 191 270 169 9109513 wiggleline; #P flonum -116 219 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P message -379 172 21 9109513 50.; #P button -236 200 15 0; #P message -210 224 52 9109513 0.9 \, 0. 400; #P newex -210 247 40 9109513 line 1.; #P message -269 224 52 9109513 40. \, 0. 400; #P newex -269 247 40 9109513 line 1.; #P comment -242 183 28 9109513 stop; #P newex -116 191 27 9109513 + 30; #P toggle -116 81 15 0; #P message -157 118 26 9109513 stop; #P number -53 120 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex -116 119 59 9109513 metro 100; #P button -116 98 15 0; #P newex -116 168 51 9109513 random 50; #P newex -116 241 40 9109513 line 1.; #P button -412 209 15 0; #P button -346 202 15 0; #P message -123 329 16 9109513 0.; #P message -217 332 16 9109513 0.; #P message -320 226 44 9109513 0. \, 0.9 400; #P newex -320 249 40 9109513 line 1.; #P message -379 226 54 9109513 10. \, 40. 400; #P newex -379 249 40 9109513 line 1.; #P flonum -98 329 35 9 0. 1. 3 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex -98 349 62 9109513 pack 0. 100; #P flonum -189 333 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex -189 413 101 9109513 *~; #P newex -98 376 31 9109513 line~; #P message 134 494 32 9109513 start; #P message 101 494 27 9109513 stop; #P newex -189 379 60 9109513 cycle~ 440; #P newex 227 517 30 9109513 dac~; #P comment -191 312 58 9109513 Frequency; #P comment -99 310 100 9109513 Amplitude; #P comment -448 304 100 9109513 The pack object appends a transition time to the target amplitude value \, so every change of amplitude will take 100 milliseconds; #P comment 171 539 100 9109513 Adjustable oscillator; #P comment -417 190 31 9109513 reset; #P comment -352 185 28 9109513 start; #P number -62 169 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 32 27 77 9109522 wiggle; #P comment 335 88 100 196617 all gains (be careful); #P comment 327 69 100 196617 all frequencies; #P comment 294 29 113 196617 all randomiser ranges; #P comment 151 63 35 196617 all on; #P comment 180 81 37 196617 all off; #P comment 307 49 107 196617 all randomiser offsets; #P comment 47 629 180 196622 midi to hertz conversion; #P fasten 30 0 25 0 -341 221 -374 221; #P connect 25 0 24 0; #P connect 46 0 24 0; #P fasten 30 0 27 0 -341 220 -315 220; #P connect 27 0 26 0; #P fasten 45 0 42 0 -231 219 -264 219; #P connect 42 0 41 0; #P fasten 31 0 28 0 -407 285 -212 285; #P fasten 45 0 44 0 -231 218 -205 218; #P connect 44 0 43 0; #P fasten 24 0 21 0 -374 275 -184 275; #P fasten 28 0 21 0 -212 353 -197 353 -197 330 -184 330; #P fasten 32 0 21 0 -111 267 -125 267 -125 292 -184 292; #P fasten 41 0 21 0 -264 287 -184 287; #P connect 21 0 16 0; #P connect 16 0 20 0; #P fasten 31 0 29 0 -407 285 -118 285; #P connect 34 0 35 0; #P fasten 37 0 35 0 -152 113 -111 113; #P connect 38 0 35 0; #P connect 35 0 33 0; #P connect 33 0 39 0; #P connect 39 0 47 0; #P connect 47 0 32 0; #P fasten 26 0 23 0 -315 276 -93 276; #P fasten 29 0 23 0 -118 351 -105 351 -105 323 -93 323; #P fasten 43 0 23 0 -205 287 -93 287; #P connect 23 0 22 0; #P connect 22 0 19 0; #P connect 19 0 20 1; #P fasten 8 0 33 1 -57 188 -64 188 -64 164 -70 164; #P fasten 36 0 35 1 -48 139 -56 139 -56 112 -62 112; #P connect 98 0 100 0; #P connect 100 0 99 0; #P fasten 78 0 81 0 224 54 127 54 127 29 142 29; #P fasten 81 0 80 0 141 51 176 51 176 22 189 22; #P connect 69 0 49 0; #P connect 49 0 48 0; #P connect 70 0 50 0; #P connect 50 0 48 1; #P connect 51 0 48 2; #P fasten 124 0 15 0 399 587 296 587 296 506 232 506; #P fasten 48 0 15 0 196 434 195 434 195 490 232 490; #P fasten 62 0 15 0 553 429 232 429; #P fasten 17 0 15 0 106 516 144 516 232 516; #P fasten 18 0 15 0 139 516 232 516; #P fasten 54 0 15 0 375 448 229 448 232 516; #P connect 78 0 71 0; #P connect 79 0 71 0; #P connect 71 0 60 0; #P connect 60 0 48 3; #P fasten 80 0 79 0 189 46 209 46 209 28 239 28; #P connect 52 0 48 4; #P fasten 124 0 15 1 399 590 273 590 273 498 252 498; #P fasten 48 0 15 1 196 296 200 296 200 498 252 498 252 516; #P fasten 54 0 15 1 375 418 252 418; #P fasten 62 0 15 1 553 439 252 439; #P connect 72 0 53 0; #P connect 53 0 48 5; #P connect 82 0 48 6; #P connect 73 0 48 7; #P connect 75 0 48 7; #P connect 74 0 48 8; #P fasten 69 0 55 0 195 201 375 201; #P connect 55 0 54 0; #P fasten 70 0 56 0 208 201 388 201; #P connect 56 0 54 1; #P fasten 130 0 125 0 614 498 556 498 556 461 399 461; #P fasten 128 0 125 0 371 500 386 500 386 477 399 477; #P connect 125 0 122 0; #P connect 122 0 124 0; #P connect 57 0 54 2; #P fasten 71 0 61 0 234 201 414 201; #P connect 61 0 54 3; #P connect 108 0 107 0; #P connect 107 0 102 0; #P connect 58 0 54 4; #P fasten 72 0 59 0 260 191 440 191; #P connect 59 0 54 5; #P fasten 82 0 54 6 273 143 453 143; #P fasten 73 0 54 7 285 171 466 171; #P connect 76 0 54 7; #P fasten 74 0 54 8 298 158 479 158; #P fasten 103 0 107 1 515 705 488 705; #P connect 104 0 107 1; #P fasten 129 0 127 0 465 498 478 498 478 470 490 470; #P connect 127 0 126 0; #P connect 126 0 123 0; #P connect 123 0 124 1; #P fasten 69 0 63 0 195 201 553 201; #P connect 63 0 62 0; #P fasten 70 0 64 0 208 200 566 200; #P connect 64 0 62 1; #P connect 65 0 62 2; #P fasten 71 0 68 0 234 201 592 201; #P connect 68 0 62 3; #P fasten 115 0 114 0 603 373; #P fasten 121 0 115 0 710 578 578 578 578 329 604 329; #P connect 66 0 62 4; #P fasten 111 0 130 0 710 516 661 516 661 460 614 460; #P fasten 72 0 67 0 260 188 618 188; #P connect 67 0 62 5; #P fasten 82 0 62 6 273 129 631 129; #P connect 131 0 130 1; #P fasten 73 0 62 7 285 176 644 176; #P connect 77 0 62 7; #P fasten 74 0 62 8 298 153 657 153; #P connect 114 0 133 0; #P connect 132 0 114 1; #P fasten 120 0 116 0 653 361 694 361; #P connect 115 0 116 0; #P fasten 86 0 62 11 798 211 696 211; #P fasten 97 0 62 11 643 65 643 118 696 118; #P fasten 93 0 62 12 867 393 751 393 751 253 709 253; #P connect 133 0 112 0; #P fasten 118 0 111 0 757 478 710 478; #P connect 112 0 111 0; #P connect 111 0 113 0; #P connect 113 0 121 0; #P fasten 121 1 117 0 868 578 710 578; #P connect 89 0 87 0; #P fasten 119 0 116 1 713 364 739 364; #P connect 116 0 118 0; #P fasten 117 0 118 0 710 611 797 611 797 442 757 442; #P fasten 89 0 88 0 727 105 772 105; #P fasten 89 0 96 0 727 97 706 97 706 238 796 238; #P connect 96 0 94 0; #P fasten 88 0 86 0 772 148 798 148; #P fasten 84 0 83 0 903 199 798 199; #P fasten 85 0 83 0 850 199 798 199; #P fasten 87 0 83 0 727 199 798 199; #P fasten 86 0 83 0 798 197 798 197; #P fasten 96 0 95 0 796 288 841 288; #P fasten 88 0 85 0 772 147 850 147; #P fasten 95 0 93 0 841 331 867 331; #P fasten 94 0 90 0 796 382 867 382; #P fasten 92 0 90 0 919 382 867 382; #P fasten 91 0 90 0 972 382 867 382; #P fasten 93 0 90 0 867 380 867 380; #P fasten 88 0 84 0 772 147 903 147; #P fasten 95 0 92 0 841 330 919 330; #P fasten 95 0 91 0 841 330 972 330; #P pop;