max v2; #N vpatcher 227 57 868 592; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 34 418 102 196617 see also: Tutorial 13; #P message 275 417 41 196617 wave~; #P message 224 417 49 196617 groove~; #P message 185 417 37 196617 play~; #P message 136 417 47 196617 buffer~; #P hidden newex 173 440 64 196617 prepend help; #P hidden newex 173 460 45 196617 pcontrol; #P window setfont "Sans Serif" 18.; #P comment 15 9 106 196626 record~; #B frgb 26 8 57; #P window setfont "Sans Serif" 9.; #P comment 15 35 292 196617 Copy a signal into a buffer~; #P user panel 10 5 400 50; #X brgb 226 250 200; #X frgb 0 0 0; #X border 0; #X rounded 0; #X shadow 0; #X done; #P user number~ 72 306 111 321 9 3 3 2 0. 0. 0 0. 50 0. 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 386 154 30 196617 line~; #P toggle 258 355 15 0; #P message 258 375 58 196617 append \$1; #P toggle 57 354 15 0; #P message 57 375 41 196617 loop \$1; #P message 300 238 32 196617 reset; #P message 335 130 27 196617 stop; #P message 266 130 65 196617 startwindow; #P message 161 177 82 196617 set nutherbuffer; #P message 386 130 72 196617 0 \, 1000 1000; #P newex 360 211 67 196617 dac~; #P newex 386 177 64 196617 play~ recme; #P newex 72 176 70 196617 adc~; #P window linecount 2; #P comment 237 209 80 196617 max recording point (ms); #P toggle 23 152 15 0; #P flonum 248 238 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 160 237 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 1; #P newex 98 122 100 196617 buffer~ recme 1000; #P newex 72 281 186 196617 record~ recme; #B color 5; #P window linecount 4; #P comment 264 272 167 196617 Arguments: symbol specifies the buffer~ to record into \, optional int specifies the number of input channels (default 1); #P comment 115 301 129 196617 Sync outlet \, reports current position (0-1) within the set recording points.; #P window linecount 2; #P comment 22 123 66 196617 ¥ start/stop recording; #P comment 152 209 68 196617 min recording point (ms); #P window linecount 3; #P comment 22 62 362 196617 record~ records a signal into a buffer~ object. You can record up to 4 channels by specifying the optional argument. Record stops when it has filled up the buffer~; #P window linecount 1; #P comment 379 113 100 196617 ¥ play sample back; #P comment 71 160 72 196617 ¥ input source; #P window linecount 2; #P comment 247 175 100 196617 set buffer~ you're recording into; #P window linecount 1; #P comment 97 107 147 196617 ¥ double click to see recording; #P comment 278 114 69 196617 ¥Êstart audio; #P window linecount 2; #P comment 336 235 88 196617 set to record into entire sample; #P window linecount 1; #P comment 102 376 140 196617 Enable/disable loop recording; #P window linecount 6; #P comment 319 344 166 196617 Enable/disable append mode. When append mode is on \, the recording position isn't cleared when you stop. Otherwise you always start recording into the beginning of the buffer~ (append is off by default); #P user panel 252 108 123 43; #X brgb 255 255 255; #X frgb 100 202 30; #X border 2; #X rounded 0; #X shadow 0; #X done; #P connect 29 0 28 0; #P fasten 28 0 14 0 62 405 38 405 38 266 77 266; #P fasten 30 0 14 0 263 405 38 405 38 266 77 266; #P fasten 27 0 14 0 305 266 77 266; #P connect 20 1 14 0; #P connect 20 0 14 0; #P connect 24 0 14 0; #P connect 18 0 14 0; #P connect 14 0 33 0; #P connect 16 0 14 1; #P hidden connect 39 0 38 0; #P hidden connect 42 0 38 0; #P hidden connect 41 0 38 0; #P hidden connect 40 0 38 0; #P hidden connect 38 0 37 0; #P connect 17 0 14 2; #P connect 31 0 30 0; #P fasten 26 0 22 0 340 169 365 169; #P fasten 25 0 22 0 271 169 365 169; #P connect 21 0 22 0; #P connect 23 0 32 0; #P connect 32 0 21 0; #P connect 21 0 22 1; #P pop;