max v2; #N vpatcher 7 45 632 461; #P window setfont "Fixedwidth Serif" 10.; #P window linecount 1; #P newex 134 357 38 1441802 line~; #P newex 134 336 68 1441802 pack 0. 20; #P window setfont Times 10.; #P comment 3 141 70 1310730 Comb Filtering; #P comment 3 103 62 1310730 Sound Source; #P comment 495 93 78 1310730 Example Settings; #N vpreset 12; #X append 1 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 2 \; 6 88 271 number int 36 \; 10 155 1 umenu int 3 \; 13 318 134 flonum float; #X append 1 2 0.2 \; 15 227 153 flonum float 0.86 \; 16 227 195 flonum float 0.45 \; 17 227 237 flonum float 0.16 \; 18 227 279 flonum float 0.8 \; 44 196 366 flonum float 0.8 \; 45 196 510; #X append 1 2 flonum float 0.3 \; 53 265 414 flonum float 0.4 \;; #X append 2 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 2 \; 6 88 271 number int 55 \; 10 155 1 umenu int 3 \; 13 318 134 flonum float; #X append 2 2 0.1 \; 15 227 153 flonum float 0.86 \; 16 227 195 flonum float 0.45 \; 17 227 237 flonum float 0.16 \; 18 227 279 flonum float 0.8 \; 44 196 366 flonum float 0.010001 \; 45 196 510; #X append 2 2 flonum float 0.7 \; 53 265 414 flonum float 0.4 \;; #X append 3 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 2 \; 6 88 271 number int 48 \; 10 155 1 umenu int 2 \; 13 318 134 flonum float; #X append 3 2 0.1 \; 15 227 153 flonum float 0.866142 \; 16 227 195 flonum float 0.45 \; 17 227 237 flonum float 0.16 \; 18 227 279 flonum float 0.8 \; 44 196 366 flonum float 0.22 \; 45 196 510; #X append 3 2 flonum float 0.7 \; 53 265 414 flonum float 0.4 \;; #X append 4 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 2 \; 6 88 271 number int 84 \; 10 155 1 umenu int 2 \; 13 318 134 flonum float; #X append 4 2 0.1 \; 15 227 153 flonum float 8.031496 \; 16 227 195 flonum float 0.3 \; 17 227 237 flonum float 0.5 \; 18 227 279 flonum float 0.5 \; 44 196 366 flonum float 2.04 \; 45 196 510; #X append 4 2 flonum float 0.7 \; 53 265 414 flonum float 0.4 \;; #X append 5 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 3 \; 6 88 271 number int 84 \; 10 155 1 umenu int 3 \; 13 318 134 flonum float; #X append 5 2 0.1 \; 15 227 153 flonum float 7.79 \; 16 227 195 flonum float 0.1 \; 17 227 237 flonum float 0.5 \; 18 227 279 flonum float 0.959999 \; 44 196 366 flonum float 0.12 \; 45 196 510; #X append 5 2 flonum float 0.290001 \; 53 265 414 flonum float 0.1 \;; #X append 6 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 3 \; 6 88 271 number int 60 \; 10 155 1 umenu int 3 \; 13 318 134 flonum float; #X append 6 2 0.1 \; 15 227 153 flonum float 10. \; 16 227 195 flonum float 0.1 \; 17 227 237 flonum float 0.5 \; 18 227 279 flonum float 0.959999 \; 44 196 366 flonum float 2. \; 45 196 510; #X append 6 2 flonum float 0.110002 \; 53 265 414 flonum float 0.1 \;; #X append 7 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 3 \; 6 88 271 number int 60 \; 10 155 1 umenu int 2 \; 13 318 134 flonum float; #X append 7 2 0.1 \; 15 227 153 flonum float 10. \; 16 227 195 flonum float 0.1 \; 17 227 237 flonum float 0.5 \; 18 227 279 flonum float 0.959999 \; 44 196 366 flonum float 2. \; 45 196 510; #X append 7 2 flonum float 0.110002 \; 53 265 414 flonum float 0.1 \;; #X append 8 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 3 \; 6 88 271 number int 60 \; 10 155 1 umenu int 2 \; 13 318 134 flonum float; #X append 8 2 0.1 \; 15 227 153 flonum float 7.559055 \; 16 227 195 flonum float 0.2 \; 17 227 237 flonum float 0.6 \; 18 227 279 flonum float 0.959999 \; 44 196 366 flonum float 1.92 \; 45 196 510; #X append 8 2 flonum float 0.030001 \; 53 265 414 flonum float 0.1 \;; #X append 9 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 1 \; 6 88 271 number int 60 \; 10 155 1 umenu int 3 \; 13 318 134 flonum float; #X append 9 2 0.5 \; 15 227 153 flonum float 7.559055 \; 16 227 195 flonum float 0.2 \; 17 227 237 flonum float 0.6 \; 18 227 279 flonum float 0.959999 \; 44 196 366 flonum float 0.6 \; 45 196 510; #X append 9 2 flonum float 0.500001 \; 53 265 414 flonum float 0.35 \;; #X append 10 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 2 \; 6 88 271 number int 48 \; 10 155 1 umenu int 2 \; 13 318 134 flonum float; #X append 10 2 0.5 \; 15 227 153 flonum float 5.96905 \; 16 227 195 flonum float 0.2 \; 17 227 237 flonum float 0.6 \; 18 227 279 flonum float 0.959999 \; 44 196 366 flonum float 1.5 \; 45 196 510; #X append 10 2 flonum float 0.4 \; 53 265 414 flonum float 0.35 \;; #X append 11 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 1 \; 6 88 271 number int 48 \; 10 155 1 umenu int 2 \; 13 318 134 flonum float; #X append 11 2 0.1 \; 15 227 153 flonum float 4.65 \; 16 227 195 flonum float 0.2 \; 17 227 237 flonum float 0.6 \; 18 227 279 flonum float 0.959999 \; 44 196 366 flonum float 1.5 \; 45 196 510; #X append 11 2 flonum float 0.4 \; 53 265 414 flonum float 0.35 \;; #X append 12 2 0 88 312 number int 127 \; 2 36 153 toggle int 1 \; 3 117 0 umenu int 1 \; 6 88 271 number int 36 \; 10 155 1 umenu int 2 \; 13 318 134 flonum float; #X append 12 2 0.1 \; 15 227 153 flonum float 0.25 \; 16 227 195 flonum float 0.2 \; 17 227 237 flonum float 0.709999 \; 18 227 279 flonum float 0.5 \; 44 196 366 flonum float 0.130001 \; 45 196 510; #X append 12 2 flonum float 0.5 \; 53 265 414 flonum float 0.35 \;; #P preset 510 107 46 38; #P window setfont "Fixedwidth Serif" 10.; #P newex 417 86 38 1441802 / 50.; #P flonum 414 265 44 10 0. 1. 3 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 462 218 46 1441802 cycle~; #P window linecount 2; #P newex 462 264 46 1441802 +~ 0.25; #P newex 462 241 46 1441802 *~ 0.24; #P window linecount 1; #P newex 556 194 53 1441802 sig~ 0.5; #P newex 510 241 50 1441802 *~ 0.49; #P newex 510 264 43 1441802 +~ 0.5; #P newex 510 218 56 1441802 cycle~; #P flonum 510 196 44 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 366 196 44 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 366 218 92 1441802 cycle~ blpulse; #P newex 366 264 38 1441802 +~ 5.; #P newex 366 241 44 1441802 *~ 4.9; #P newex 318 287 202 1441802 comb~; #B color 5; #N vpatcher 259 129 500 368; #P window setfont Times 10.; #P comment 94 25 39 1310730 velocity; #P comment 10 25 27 1310730 pitch; #P comment 43 186 52 1310730 pulse wave; #N comlet (signal) pulse wave; #P outlet 60 171 15 0; #P comment 114 59 101 1310730 only one note at a time; #P window setfont "Fixedwidth Serif" 10.; #P newex 60 99 92 1441802 cycle~ blpulse; #P newex 85 124 99 1441802 buffer~ blpulse blp512.aiff; #P newex 60 78 32 1441802 mtof; #P user gain~ 60 124 22 20 158 5 1.071519 7.94321 20.; #P newex 16 57 98 1441802 poly 1 1; #N comlet (int) velocity; #P inlet 104 39 15 0; #N comlet (int) pitch; #P inlet 16 39 15 0; #P window setfont Times 10.; #P comment 100 154 80 1310730 band-limited pulse (10 harmonics); #P connect 1 0 3 0; #P connect 3 1 5 0; #P connect 5 0 7 0; #P connect 7 0 4 0; #P fasten 3 2 4 0 109 84 155 84 155 120 65 120; #P connect 4 0 9 0; #P connect 2 0 3 1; #P pop; #P newobj 271 111 80 1441802 p Pulse_Wave; #P newex 153 124 43 1441802 *~ 0.5; #P newex 153 98 32 1441802 adc~; #P message 187 75 74 1441802 startwindow; #P message 153 75 32 1441802 stop; #P newex 153 54 78 1441802 select 0 1; #P window setfont Times 10.; #P window linecount 2; #P comment 196 119 60 1310730 Mono Mix of Audio Input; #P window setfont "Fixedwidth Serif" 10.; #P window linecount 1; #P newex 370 61 62 1441802 ctlin a 1; #P newex 370 86 43 1441802 / 12.7; #P newex 279 264 38 1441802 line~; #P newex 237 264 38 1441802 line~; #P newex 195 264 38 1441802 line~; #P newex 153 264 38 1441802 line~; #P message 279 245 38 1441802 \$1 25; #P message 237 245 38 1441802 \$1 25; #P message 195 245 38 1441802 \$1 25; #P message 153 245 38 1441802 \$1 25; #P window setfont Times 10.; #P window linecount 2; #P comment 281 201 42 1310730 Feedback Gain; #P comment 239 201 29 1310730 Delay Gain; #P comment 197 201 29 1310730 Direct Gain; #P comment 159 201 29 1310730 Delay Time; #P window setfont "Fixedwidth Serif" 10.; #P flonum 279 227 35 10 0. 1. 3 22 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 237 227 35 10 0. 1. 3 22 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 195 227 35 10 0. 1. 3 22 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 153 227 35 10 0. 10. 3 22 0 0 0 221 221 221 222 222 222 0 0 0; #P window setfont Times 10.; #P window linecount 1; #P comment 169 318 62 1310730 Output Level; #P window setfont "Fixedwidth Serif" 10.; #P flonum 134 318 35 10 0. 1. 3 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 91 336 32 1441802 *~; #P newex 91 362 32 1441802 dac~; #P user umenu 1 155 106 1441833 1 64 171 0; #X add No Output; #X add Unfiltered; #X add Adjusted By Hand; #X add Modulated; #P newex 91 178 50 1441802 gate~ 3; #P newex 111 287 178 1441802 comb~; #B color 5; #P newex 271 61 92 1441802 notein a; #P number 271 88 35 10 36 96 259 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 359 111 43 1441802 noise~; #P newex 131 155 76 1441802 selector~ 3; #P user umenu 0 117 106 1441833 1 64 133 0; #X add No Sound Source; #X add Audio Input; #X add Pulse Wave; #X add White Noise; #P toggle 153 36 15 0; #P window setfont Times 10.; #P comment 132 22 62 1310730 Audio On/Off; #P window setfont "Fixedwidth Serif" 10.; #P number 312 88 35 10 0 127 3 22 0 0 0 221 221 221 222 222 222 0 0 0; #P fasten 10 0 9 0 6 174 96 174; #P fasten 8 0 12 0 116 308 96 308; #P connect 9 0 12 0; #P fasten 40 0 12 0 323 308 96 308; #P connect 12 0 11 0; #P connect 9 1 8 0; #P fasten 60 0 12 1 139 378 127 378 127 330 118 330; #P fasten 12 0 11 1 96 357 118 357; #P fasten 3 0 4 0 5 136 136 136; #P connect 4 0 9 1; #P connect 13 0 59 0; #P connect 59 0 60 0; #P connect 2 0 34 0; #P connect 34 0 35 0; #P connect 35 0 37 0; #P fasten 36 0 37 0 192 94 158 94; #P fasten 37 1 38 0 180 119 158 119; #P connect 37 0 38 0; #P connect 38 0 4 1; #P fasten 31 0 15 0 375 107 406 107 406 179 158 179; #P connect 15 0 23 0; #P connect 23 0 27 0; #P connect 27 0 8 1; #P fasten 39 0 4 2 276 145 180 145; #P connect 34 1 36 0; #P connect 16 0 24 0; #P connect 24 0 28 0; #P connect 28 0 8 2; #P fasten 5 0 4 3 364 150 202 150; #P connect 17 0 25 0; #P connect 25 0 29 0; #P connect 29 0 8 3; #P connect 7 0 6 0; #P connect 6 0 39 0; #P connect 18 0 26 0; #P connect 26 0 30 0; #P connect 30 0 8 4; #P connect 7 1 0 0; #P fasten 9 2 40 0 136 199 323 199; #P fasten 0 0 39 1 317 107 346 107; #P fasten 54 0 44 0 422 107 416 107 416 183 371 183; #P connect 44 0 43 0; #P connect 43 0 41 0; #P connect 41 0 42 0; #P connect 42 0 40 1; #P connect 32 0 31 0; #P connect 53 0 40 2; #P fasten 32 0 54 0 375 82 422 82; #P fasten 45 0 52 0 515 214 467 214; #P connect 52 0 50 0; #P connect 50 0 51 0; #P connect 51 0 40 3; #P connect 45 0 46 0; #P connect 46 0 48 0; #P connect 48 0 47 0; #P connect 47 0 40 4; #P connect 49 0 46 1; #P pop;