max v2; #N vpatcher 178 55 740 536; #P window setfont Times 18.; #P window linecount 6; #P comment 132 267 118 1310738 or when the amplitude of an audio signal surpasses a particular threshold; #P window linecount 3; #P comment 1 268 120 1310738 detect when a particular note has been played; #P window setfont "Fixedwidth Serif" 18.; #P window linecount 1; #P newex 135 216 76 1441810 change; #P newex 135 186 65 1441810 > 0.3; #P flonum 135 153 72 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 135 97 142 1441810 peakamp~ 100; #P user ezadc~ 135 56 179 89 0; #P newex 18 97 109 1441810 stripnote; #P newex 18 153 109 1441810 select 96; #P number 18 128 46 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 18 57 76 1441810 notein; #P number 439 170 52 18 0 100 3 22 0 0 0 221 221 221 222 222 222 0 0 0; #P message 294 296 32 1441810 98; #P message 349 296 32 1441810 96; #P button 349 271 15 0; #P button 294 271 15 0; #P newex 294 241 120 1441810 select 0 1; #P newex 294 201 155 1441810 < 50; #P number 393 77 68 18 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 348 374 87 1441810 noteout; #P newex 294 328 186 1441810 makenote 127 100; #P toggle 294 73 15 0; #P newex 294 107 109 1441810 metro 100; #P newex 294 164 120 1441810 random 100; #P window setfont Times 18.; #P comment 301 51 193 1310738 trigger the "trill" on or off; #P connect 14 0 17 0; #P connect 17 0 15 0; #P connect 15 0 16 0; #P connect 14 1 17 1; #P connect 18 0 19 0; #P connect 19 0 20 0; #P connect 20 0 21 0; #P connect 21 0 22 0; #P fasten 16 0 3 0 23 266 281 266 281 54 299 54; #P fasten 22 0 3 0 140 247 287 247 287 63 299 63; #P connect 3 0 2 0; #P connect 2 0 1 0; #P connect 1 0 7 0; #P connect 7 0 8 0; #P connect 8 0 9 0; #P connect 9 0 12 0; #P connect 12 0 4 0; #P connect 11 0 4 0; #P connect 4 0 5 0; #P connect 8 1 10 0; #P connect 10 0 11 0; #P connect 4 1 5 1; #P connect 6 0 2 1; #P connect 13 0 7 1; #P pop;