max v2; #N vpatcher 10 59 898 594; #P origin 0 -67; #P window setfont Times 18.; #P window linecount 3; #P comment 492 21 309 1310738 because 'line' sends individual messages \, once every 0.5 seconds while interpolating \, the frequency changes in discrete steps; #P window linecount 2; #P comment 153 243 428 1310738 (note that your computer's speakers might not produce 100Hz very loudly \, but the other tones should be audible); #P window linecount 1; #P comment 37 106 615 1310738 (for example \, go to 1600 in 7500 milliseconds \, reporting every 500 milliseconds); #P comment 37 86 615 1310738 the messages say to line ; #P window linecount 3; #P comment 124 21 319 1310738 this patch demonstrates linear interpolation from one value to another (integers in this case) using 'line' for Max messages; #P window linecount 1; #P comment 471 196 68 1310738 initialize; #P comment 239 145 151 1310738 go down to 100 Hz; #P window setfont "Fixedwidth Serif" 18.; #P newex 427 167 98 1441810 loadbang; #P user gain~ 81 331 24 100 158 0 1.071519 7.94321 10.; #P message 427 195 43 1441810 100; #P newex 81 297 76 1441810 cycle~; #P number 81 245 70 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P message 242 167 142 1441810 100 7500 500; #P message 81 167 153 1441810 1600 7500 500; #P user ezdac~ 64 470 108 503 0; #P newex 81 210 98 1441810 line 100; #P window setfont Times 18.; #P comment 81 145 137 1310738 go up to 1600 Hz; #P fasten 8 0 2 0 86 461 69 461; #P fasten 4 0 1 0 247 200 86 200; #P connect 3 0 1 0; #P fasten 7 0 5 0 432 239 86 239; #P connect 1 0 5 0; #P connect 5 0 6 0; #P fasten 7 0 8 0 432 326 86 326; #P connect 6 0 8 0; #P fasten 8 0 2 1 86 461 103 461; #P connect 9 0 7 0; #P pop;