max v2; #N vpatcher 529 602 1705 1259; #P window setfont "Sans Serif" 9.; #P newex 1010 361 62 196617 mousefilter; #P button 714 363 15 0; #P hidden newex 74 34 38 196617 sel 32; #P hidden newex 74 12 40 196617 key; #P user multiSlider 44 184 22 152 1. 8. 1 2681 15 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P user multiSlider 1074 183 22 152 1. 8. 1 2681 15 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #N vpatcher 757 610 1031 929; #P origin 59 -20; #P window setfont "Sans Serif" 9.; #P newex 81 130 29 196617 gate; #P newex 127 46 40 196617 t 1 f 0; #N comlet interp time; #P inlet 127 25 15 0; #P newex 127 125 29 196617 t b f; #P newex 32 172 49 196617 pack i i f; #P newex 32 121 38 196617 bucket; #P message 127 68 49 196617 0. \, 1. \$1; #P newex 127 90 40 196617 line 1.; #P comment 55 26 26 196617 goal; #P outlet 32 272 15 0; #P newex 32 221 65 196617 prepend fade; #P comment 91 26 29 196617 time; #N comlet interp time; #P inlet 32 26 15 0; #P newex 32 245 69 196617 speedlim 100; #P connect 1 0 8 0; #P connect 13 0 9 0; #P connect 8 0 9 0; #P connect 9 0 3 0; #P connect 3 0 0 0; #P connect 0 0 4 0; #P connect 1 0 9 1; #P connect 10 1 9 2; #P connect 12 0 13 0; #P connect 12 2 13 0; #P connect 10 0 13 1; #P connect 11 0 12 0; #P connect 12 1 7 0; #P connect 7 0 6 0; #P connect 6 0 10 0; #P pop; #P newobj 70 479 62 196617 p transition; #B color 12; #P message 32 506 30 196617 read; #P user ftm.mess 897 510 50 15 3 9 255 255 255 0 0 0 1 3 0 0 0 --> 0; #T _#ftm version 2 3; #T _#scope begin; #T _#absargs $0_ $1_ $2_ $3_ $4_ $5_ $6_ $7_ $8_ $9_; #T _#line "_$2 $3"; #P flonum 12 423 60 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #N ftm.tween $bpfdata --> 0; #P newobj 12 445 97 196617 ftm.tween $bpfdata; #P newex 897 530 75 196617 prepend insert; #P user ftm.object 897 553 75 18 3 9 --> 0; #T _#obj 1 track number; #T _#obj 2 sequence number; #T _#mess 2 append 0. 6; #T _#mess 2 append 90.270813 6; #T _#mess 2 append 952.858582 4; #T _#mess 2 append 1885.656982 7; #T _#mess 2 append 2457.37207 8; #T _#mess 2 append 3560.682129 5; #T _#mess 2 append 4012.036133 5; #T _#mess 2 append 4894.684082 1; #T _#mess 2 append 6790.371094 5; #T _#mess 2 append 7362.086426 5; #T _#mess 2 append 8324.974609 2; #T _#mess 2 append 9438.31543 2; #T _#mess 2 append 10000. 7; #T _#mess 1 events _#2; #T _#obj 3 sequence marker; #T _#mess 1 markers _#3; #T _#obj 4 sequence metric; #T _#mess 1 metric _#4; #T _#obj 5 sequence number; #T _#mess 1 tempo _#5; #T _#def 1 "_track number" bpfdata local; #T _#scope end; #P window setfont "Sans Serif" 14.; #P window linecount 2; #P comment 194 76 549 196622 the data is recorded into a int track and retreived in order to fade from any preset to any other and not to pass through all the presets on the way; #P window linecount 1; #P comment 47 368 417 196622 ftm.tween is retreiving the right next event in the track; #P button 1076 362 15 0; #P window setfont "Sans Serif" 9.; #P flonum 186 488 53 9 1. 8. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user multiSlider 64 334 1010 26 0. 10000. 1 2664 47 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P newex 12 107 50 196617 deferlow; #P message 76 100 14 196617 0; #P newex 76 81 32 196617 sel 0; #P newex 64 141 71 196617 prepend set 1; #P number 166 423 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P button 149 423 15 0; #P newex 149 466 72 196617 prepend store; #P newex 149 443 27 196617 int; #P newex 236 446 53 196617 autopattr; #X prestore msl 16 0 1. -1. 1. -1. 1. -1. 1. -1. 1. -1. 1. -1. 1. -1. 1. -1.; #P objectname u654000001; #P message 4 216 33 196617 clear; #P toggle 12 52 28 0; #N counter; #X flags 0 0; #P newobj 12 126 66 196617 counter; #P newex 12 88 46 196617 metro 1; #P user multiSlider 65 161 1010 24 0. 10000. 1 2664 15 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P newex 14 166 41 196617 r tobpf; #P newex 70 504 169 196617 pattrstorage interpol @savemode 2; #X autorestore interpol.xml; #X client_rect 0 0 640 240; #X storage_rect 0 0 640 240; #P objectname interpol; #P user multiSlider 296 407 315 108 -1. 1. 16 2681 15 0 0 2 0 0 0; #M frgb 255 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P objectname msl; #P user function 65 184 1074 335 1 1 0 0; #X frgb 82 82 82; #X brgb 204 204 204; #X rgb2 85 85 85; #X rgb3 255 255 255; #X rgb4 0 0 0; #X rgb5 0 0 0; #X add 0. 6. 0; #X add 90.270813 6. 0; #X add 952.858582 4. 0; #X add 1885.656982 7. 0; #X add 2457.37207 8. 0; #X add 3560.682129 5. 0; #X add 4012.036133 5. 0; #X add 4894.684082 1. 0; #X add 6790.371094 5. 0; #X add 7362.086426 5. 0; #X add 8324.974609 2. 0; #X add 9438.31543 2. 0; #X add 10000. 7. 0; #X domain 10000.; #X range 1. 8.; #X done; #P newex 731 513 41 196617 s tobpf; #P newex 731 472 141 196617 split 0 256; #P newex 783 405 34 196617 + 0.5; #P newex 731 451 27 196617 - 1; #P newex 783 450 27 196617 i; #N counter 0 1 256; #X flags 0 0; #P newobj 731 430 169 196617 counter 0 1 256; #P newex 731 405 36 196617 t b f; #P newex 731 492 62 196617 pack i f i; #P newex 1011 408 41 196617 s tobpf; #P newex 731 382 62 196617 unpack f f; #P newex 1011 381 75 196617 t dump 0 clear; #P window linecount 2; #P comment 774 515 95 196617 pointnum \, x.(time) \, y(mem-int); #P window linecount 1; #P comment 42 57 52 196617 Play/stop; #P window setfont "Sans Serif" 14.; #P comment 195 42 777 196622 Example of interpolating between presets using fade function of pattrstorage and Breakpoint function editor; #P window setfont "Sans Serif" 9.; #P newex 125 106 62 196617 prepend set; #P hidden connect 48 0 22 0; #P connect 22 0 20 0; #P connect 20 0 32 0; #P connect 0 0 21 0; #P connect 32 0 21 0; #P connect 19 0 21 0; #P connect 21 0 41 0; #P connect 41 0 40 0; #P hidden connect 15 0 46 0; #P connect 31 0 21 3; #P connect 21 0 29 0; #P hidden connect 29 0 33 0; #P connect 29 0 19 0; #P connect 18 0 15 0; #P connect 23 0 15 0; #P connect 21 0 15 0; #P connect 40 2 44 0; #P connect 34 0 17 0; #P connect 26 0 17 0; #P connect 43 0 17 0; #P connect 44 0 17 0; #P hidden connect 47 0 48 0; #P connect 22 0 30 0; #P connect 30 0 31 0; #P connect 40 3 44 1; #P connect 19 0 0 0; #P connect 27 0 25 0; #P connect 25 0 26 0; #P connect 28 0 25 1; #P connect 15 2 49 0; #P connect 15 2 5 0; #P connect 5 0 8 0; #P connect 8 0 9 0; #P connect 9 0 11 0; #P connect 11 0 13 0; #P connect 13 0 7 0; #P connect 7 0 14 0; #P connect 8 1 7 1; #P connect 5 1 12 0; #P connect 12 0 10 0; #P connect 10 0 7 2; #P connect 4 1 9 3; #P connect 7 0 42 0; #P connect 42 0 39 0; #P fasten 4 2 38 0 1080 549 902 549; #P connect 39 0 38 0; #P connect 15 3 50 0; #P connect 50 0 4 0; #P connect 4 0 6 0; #P hidden connect 15 0 45 0; #P connect 15 3 35 0; #P pop;