max v2; #N vpatcher 10 59 448 549; #P window setfont Times 18.; #P window linecount 2; #P comment 156 384 229 1310738 format as a MIDI note and send to the synthesizer; #P comment 154 309 229 1310738 combine with a velocity \, and turn off after a certain duration; #P comment 200 231 105 1310738 offset by some number; #P window linecount 1; #P comment 211 174 145 1310738 count from 0 to 12; #P window linecount 4; #P comment 254 70 74 1310738 ms interval between bangs; #P window linecount 2; #P comment 48 201 74 1310738 bang if received; #P window setfont "Fixedwidth Serif" 18.; #P window linecount 1; #P newex 146 425 87 1441810 noteout; #P newex 146 283 186 1441810 makenote 100 250; #P number 163 182 46 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P number 190 210 46 18 0 127 3 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 146 240 54 1441810 + 60; #P message 26 204 19 1441810 0; #P newex 26 176 109 1441810 select 12; #P number 245 45 67 18 0 0 1 22 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 146 46 15 0; #N counter 12; #X flags 0 0; #P newobj 146 146 120 1441810 counter 12; #P newex 146 80 109 1441810 metro 250; #P window setfont Times 18.; #P window linecount 2; #P comment 26 131 100 1310738 look for the number 12; #P connect 2 0 5 0; #P connect 5 0 6 0; #P fasten 6 0 3 0 31 231 17 231 17 37 151 37; #P connect 3 0 1 0; #P connect 1 0 2 0; #P connect 2 0 7 0; #P connect 7 0 10 0; #P connect 10 0 11 0; #P connect 2 0 9 0; #P connect 10 1 11 1; #P connect 8 0 7 1; #P connect 4 0 1 1; #P fasten 4 0 10 2 250 74 327 74; #P pop;