max v2; #N vpatcher 10 59 448 370; #P origin -184 0; #P window setfont Times 10.; #P comment 233 234 41 1310730 velocity; #P comment 105 185 29 1310730 pitch; #P window setfont "Fixedwidth Serif" 18.; #P number 229 181 46 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 220 147 53 1441810 + 67; #P newex 220 119 42 1441810 * 5; #P newex 133 147 53 1441810 + 60; #N counter 0 12; #X flags 0 0; #P newobj 133 77 214 1441810 counter 0 12; #P message 19 137 19 1441810 0; #P window setfont Times 10.; #P comment 4 160 52 1310730 stop metro; #P comment 38 133 88 1310730 look for number 12 \, bang if true; #P comment 250 51 166 1310730 (metro will stop after counter sends out 12 \, so counter's next number will be 0); #P comment 164 101 179 1310730 count bangs \, starting at 0 and ending at 12; #P comment 189 185 41 1310730 velocity; #P comment 104 228 29 1310730 pitch; #P comment 281 192 41 1310730 duration; #P comment 106 69 27 1310730 bang; #P comment 18 56 115 1310730 bang five times per second; #P comment 173 35 136 1310730 initial argument 1/5 of a second; #P comment 32 31 101 1310730 toggle between 1 and 0; #P window setfont "Fixedwidth Serif" 18.; #P number 142 181 46 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 19 109 108 1441810 select 12; #P newex 133 206 185 1441810 makenote 127 100; #P toggle 133 30 15 0; #P newex 133 49 108 1441810 metro 200; #P newex 133 238 86 1441810 noteout; #P fasten 18 0 4 0 138 104 24 104; #P connect 4 0 17 0; #P fasten 17 0 2 0 24 163 15 163 15 25 138 25; #P connect 2 0 1 0; #P connect 1 0 18 0; #P connect 18 0 19 0; #P connect 19 0 3 0; #P connect 3 0 0 0; #P connect 19 0 5 0; #P fasten 3 1 0 1 313 233 176 233; #P fasten 18 0 20 0 138 114 225 114; #P connect 20 0 21 0; #P connect 21 0 3 1; #P connect 21 0 22 0; #P pop;