max v2; #N vpatcher 100 61 672 588; #P origin 12 -10; #P window setfont "Proportional Serif" 18.; #P comment 24 48 178 131727378 Sine wave generator: variation 1; #P window linecount 1; #P comment 30 313 112 131727378 Toggle switch; #P user scope~ 278 327 536 475 256 3 128 -2. 2. 0 0. 0 0. 131 22 0 135 135 135 0; #P toggle 144 313 32 0; #P user ezdac~ 207 424 251 457 0; #P flonum 290 267 53 18 0 0 0 2010 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 290 236 53 131727378 / 127.; #P number 290 207 51 18 0 0 0 2010 0 0 0 221 221 221 222 222 222 0 0 0; #P user uslider 290 58 18 128 128 1 0 0; #P newex 207 392 45 131727378 dac~; #P message 139 279 37 131727378 stop; #P message 94 279 42 131727378 start; #P newex 207 292 49 131727378 *~; #P message 207 148 41 131727378 440.; #P newex 207 194 54 131727378 cycle~; #P window setfont "Proportional Serif" 20.; #P comment 24 25 166 131727380 Tutorial $3; #P window setfont "Proportional Serif" 18.; #P comment 75 148 128 131727378 Frequency in Hz; #P comment 39 197 162 131727378 sine wave generation; #P window setfont "Proportional Serif" 20.; #P window linecount 2; #P comment 311 154 162 131727380 Use a slider to control amplitude; #P connect 5 0 4 0; #P connect 4 0 6 0; #P connect 6 0 9 0; #P connect 15 0 9 0; #P connect 6 0 9 1; #P connect 13 0 6 1; #P connect 6 0 16 0; #P connect 10 0 11 0; #P connect 11 0 12 0; #P connect 12 0 13 0; #P pop;