max v2; #N vpatcher 4 46 744 476; #P window setfont Times 18.; #P comment 296 367 401 1310738 format as a MIDI message and send to the synthesizer; #P window linecount 2; #P comment 395 327 275 1310738 make into a MIDI note with a velocity of 100 and a duration of 200; #P window linecount 1; #P comment 245 307 110 1310738 resulting pitch; #P comment 264 271 377 1310738 (for example \, to transpose to F \, transpose +5 or -7); #P comment 263 252 345 1310738 additional offset \, to transpose to a different key; #P window setfont "Fixedwidth Serif" 18.; #P number 227 251 36 18 -12 12 3 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 210 277 27 1441810 +; #P window setfont Times 18.; #P comment 263 224 195 1310738 offset \, to start at middle C; #P comment 245 192 171 1310738 0 \, 2 \, 4 \, 5 \, 7 \, 9 \, 11 \, 12; #P comment 35 157 175 1310738 store 8 different values; #P comment 26 191 184 1310738 y (value at that location); #P comment 2 118 208 1310738 x (location in the table \, 0-7); #P window linecount 2; #P comment 381 117 236 1310738 when minimum is reached \, reset counter and turn off metro; #P window linecount 1; #P comment 361 89 204 1310738 count up/down from 0 to 7; #P window setfont "Fixedwidth Serif" 18.; #P number 308 30 57 18 5 0 1 22 0 0 0 221 221 221 222 222 222 0 0 0; #P window setfont Times 18.; #P comment 318 57 148 1310738 5 bangs per second; #P window setfont "Fixedwidth Serif" 18.; #P number 210 306 35 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 210 221 53 1441810 + 60; #P number 210 191 35 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P number 210 117 35 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #N vtable 8 50 119 260 286 979720 13; #T set 0 0 2 4 5 7 9 11 12; #P newobj 210 155 64 1441810 table; #P newex 257 115 64 1441810 sel 1; #N counter 2 0 7; #X flags 0 0; #P newobj 210 86 151 1441810 counter 2 0 7; #P toggle 210 34 15 0; #P newex 210 55 108 1441810 metro 200; #P newex 210 364 86 1441810 noteout; #P newex 210 333 185 1441810 makenote 100 200; #P window setfont Times 18.; #P comment 225 32 75 1310738 start/stop; #P fasten 6 0 4 0 262 142 380 142 380 26 215 26; #P connect 4 0 3 0; #P connect 3 0 5 0; #P connect 5 0 8 0; #P connect 8 0 7 0; #P connect 7 0 9 0; #P connect 9 0 10 0; #P connect 10 0 21 0; #P connect 21 0 11 0; #P connect 11 0 1 0; #P connect 1 0 2 0; #P connect 22 0 21 1; #P fasten 1 1 2 1 390 360 253 360; #P connect 5 1 6 0; #P fasten 6 0 5 2 262 142 380 142 380 82 285 82; #P connect 13 0 3 1; #P pop;