max v2;
#N vpatcher 398 235 867 621;
#P origin 0 2;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 184 272 56 196617 s recstate;
#P window linecount 2;
#P comment 120 165 77 196617 Clean buffer for new recording;
#P comment 372 197 81 196617 Ms for recording end fade;
#P window linecount 1;
#P newex 373 228 44 196617 loadbang;
#P number 405 251 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 373 251 18 196617 20;
#P newex 373 273 72 196617 s recfadetime;
#P user panel 371 196 75 98;
#X brgb 214 214 214;
#X frgb 157 157 157;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P newex 342 120 81 196617 receive~ inputR;
#P newex 313 98 80 196617 receive~ inputL;
#P newex 9 142 54 196617 s recblink;
#P newex 9 119 29 196617 defer;
#P newex 9 97 58 196617 metro 700;
#P newex 184 242 79 196617 r stopgatestate;
#P newex 270 270 27 196617 gate;
#P newex 276 218 53 196617 r rectime;
#P newex 268 242 61 196617 pipe 60000;
#P newex 76 347 52 196617 s sizevar;
#P newex 109 323 72 196617 r recfadetime;
#P newex 76 323 27 196617 + 20;
#P newex 75 25 56 196617 r recstate;
#P message 238 271 14 196617 0;
#P message 84 209 26 196617 stop;
#P newex 75 98 46 196617 select 0;
#P newex 114 231 40 196617 count~;
#P button 114 209 15 0;
#P toggle 75 48 43 0;
#P window linecount 5;
#P comment 68 254 48 196617 When recording stops \, report ms length;
#P window setfont "Sans Serif" 20.;
#P window linecount 1;
#P comment 175 25 131 196628 RECORDING;
#P window setfont "Sans Serif" 9.;
#P window linecount 3;
#P comment 227 146 78 196617 Create fade to smooth each end of recording;
#P window linecount 2;
#P comment 182 203 146 196617 Stop recording automatically after specified time;
#P comment 370 141 80 196617 Record to buffer audiosample;
#P window linecount 1;
#P newex 312 171 112 196617 record~ audiosample 2;
#P newex 232 74 43 196617 TogEdge;
#P message 232 98 44 196617 0 \, 1 10;
#P newex 232 120 42 196617 line~ 0.;
#P newex 341 146 27 196617 *~;
#P message 268 98 44 196617 1 \, 0 15;
#P newex 312 146 27 196617 *~;
#P newex 190 146 38 196617 pipe 20;
#P newex 160 97 72 196617 r recfadetime;
#P message 204 123 14 196617 0;
#P message 158 125 28 196617 clear;
#P newex 122 147 51 196617 s buffcom;
#P button 132 125 15 0;
#P newex 128 74 79 196617 s stopgatestate;
#P user panel 312 95 134 98;
#X brgb 214 214 214;
#X frgb 157 157 157;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P user panel 121 70 183 124;
#X brgb 214 214 214;
#X frgb 157 157 157;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P newex 115 255 50 196617 snapshot~;
#P newex 115 276 40 196617 / 44.1;
#P newex 115 298 27 196617 int;
#P user panel 71 202 103 166;
#X brgb 214 214 214;
#X frgb 157 157 157;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P user panel 181 202 148 92;
#X brgb 214 214 214;
#X frgb 157 157 157;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P window linecount 4;
#P comment 7 165 51 196617 Send blink to signify patch is recording;
#P user panel 6 95 54 125;
#X brgb 214 214 214;
#X frgb 157 157 157;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P window linecount 2;
#P comment 23 25 49 196617 Recording On/Off;
#P window linecount 4;
#P comment 204 311 218 196617 INFO: Module controls the actual recording of audio to the buffer. Also reports total recording time \, which is used to set loop points for playback.;
#P fasten 30 0 44 0 79 94 14 94;
#P connect 44 0 45 0;
#P connect 45 0 46 0;
#P connect 36 0 30 0;
#P connect 30 0 33 0;
#P fasten 6 0 37 0 120 319 81 319;
#P connect 37 0 39 0;
#P fasten 33 0 34 0 80 142 89 142;
#P fasten 38 0 37 1 114 345 105 345 105 321 98 321;
#P fasten 33 1 31 0 116 205 119 205;
#P connect 31 0 32 0;
#P fasten 34 0 32 0 89 228 119 228;
#P connect 32 0 8 0;
#P fasten 33 0 8 0 80 251 120 251;
#P connect 8 0 7 0;
#P connect 7 0 6 0;
#P fasten 14 0 13 0 163 145 127 145;
#P fasten 30 0 11 0 80 92 122 92 122 72 133 72;
#P fasten 33 1 12 0 116 122 137 122;
#P fasten 12 0 14 0 137 142 149 142 149 122 163 122;
#P fasten 35 0 56 0 243 291 235 291 235 269 189 269;
#P fasten 15 0 17 0 209 144 195 144;
#P fasten 33 0 15 0 80 120 209 120;
#P fasten 16 0 17 1 165 117 223 117;
#P fasten 30 0 23 0 80 95 225 95 225 71 237 71;
#P connect 23 0 22 0;
#P connect 22 0 21 0;
#P fasten 19 0 21 0 273 117 237 117;
#P fasten 42 0 35 0 275 291 254 291 254 269 243 269;
#P fasten 23 1 19 0 270 96 273 96;
#P fasten 31 0 40 0 119 227 176 227 176 236 273 236;
#P fasten 43 0 42 0 189 265 275 265;
#P fasten 40 0 42 1 273 263 292 263;
#P connect 47 0 18 0;
#P fasten 33 1 24 0 116 197 308 197 308 169 317 169;
#P fasten 17 0 24 0 195 190 306 190 306 167 317 167;
#P connect 18 0 24 0;
#P fasten 41 0 40 1 281 239 324 239;
#P fasten 21 0 18 1 237 143 334 143;
#P connect 48 0 20 0;
#P connect 20 0 24 1;
#P fasten 21 0 20 1 237 143 363 143;
#P connect 53 0 51 0;
#P fasten 52 0 50 0 410 270 378 270;
#P connect 51 0 50 0;
#P pop;
