max v2; #N vpatcher 140 129 1369 790; #P origin 0 -16; #P window setfont "Sans Serif" 18.; #P window linecount 1; #P message 50 297 126 196626 set cherokee; #P message 638 247 74 196626 replace; #P newex 593 315 189 196626 buffer~ drums 4000; #P newex 822 389 66 196626 / 100.; #P flonum 825 459 68 18 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 796 288 15 0; #P newex 796 151 93 196626 metro 20; #P window setfont "Sans Serif" 9.; #P window linecount 2; #P comment 937 392 45 196617 Hor. Delta; #P comment 908 477 42 196617 Ver. Position; #P comment 868 548 45 196617 Hor. Position; #P window setfont "Sans Serif" 18.; #P window linecount 1; #P comment 793 306 73 196626 Button; #P number 937 365 135 18 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 904 445 133 18 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 867 513 131 18 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 976 289 88 18 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window setfont "Sans Serif" 9.; #P window linecount 2; #P comment 976 322 42 196617 Ver. Delta; #P window setfont "Sans Serif" 18.; #P window linecount 1; #P newex 796 252 193 196626 mousestate; #B color 5; #P toggle 796 130 15 0; #P flonum 493 117 64 18 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 478 571 87 196626 record~; #P window setfont "Sans Serif" 9.; #P comment 471 303 110 196617 see also: Tutorial 13; #P window setfont "Sans Serif" 18.; #P message 493 491 105 196626 2d.wave~; #P message 508 456 67 196626 wave~; #P message 511 384 82 196626 groove~; #P message 511 362 78 196626 buffir~; #P message 500 319 78 196626 buffer~; #P window setfont "Sans Serif" 9.; #P hidden newex 489 414 64 196617 prepend help; #P objectname phelp; #P hidden newex 489 434 45 196617 pcontrol; #P window setfont "Sans Serif" 18.; #P comment 15 25 106 196626 play~; #B frgb 26 8 57; #P window setfont "Sans Serif" 9.; #P comment 15 51 292 196617 Sample playback based on position within a buffer~; #P user panel 10 21 400 50; #X brgb 226 250 200; #X frgb 0 0 0; #X border 0; #X rounded 0; #X shadow 0; #X done; #P message 69 217 14 196617 0; #P newex 69 196 45 196617 loadbang; #P newex 69 256 27 196617 + 1; #P user umenu 69 237 36 196647 1 64 253 1; #X add line; #X add loop; #P newex 69 278 128 196617 selector~ 2; #P newex 41 584 29 196617 dac~; #P window setfont "Sans Serif" 18.; #P message 438 351 50 196626 stop; #P message 309 352 117 196626 startwindow; #P message 198 306 99 196626 set drums; #P newex 549 258 75 196626 +~ 500; #P newex 445 229 113 196626 *~ 1000; #P message 498 158 23 196626 2.; #P message 446 154 23 196626 0.; #P newex 459 195 93 196626 phasor~; #P message 598 89 74 196626 replace; #P newex 570 132 216 196626 buffer~ cherokee 4000; #P message 256 238 135 196626 0 \, 4000 2000; #P message 136 194 135 196626 0 \, 4000 8000; #P message 46 168 135 196626 4000 \, 0 4000; #P message 1 138 135 196626 0 \, 4000 4000; #P window setfont "Sans Serif" 9.; #P newex 126 237 30 196617 line~; #P window setfont "Sans Serif" 18.; #P newex 68 363 145 196626 play~ cherokee; #B color 5; #P window linecount 6; #P comment 249 524 185 196626 Arguments: symbol for buffer~ object to play from \, optional number of channels of output (1 \, 2 \, or 4); #P window setfont "Sans Serif" 9.; #P window linecount 2; #P comment 76 334 216 196617 input signal specifies millisecond position within the sample to play; #P window linecount 4; #P comment 40 87 338 196617 play~ is a playback interface for buffer~ that plays back samples based on an offset within the sample. See groove~ for another sample playback interface. play~ is typically used with line \, but can be used with any signal that generates a changing position value.; #P window linecount 1; #P comment 204 142 200 196617 play one second forwards at original speed; #P comment 226 162 205 196617 play one second backwards at original speed; #P comment 249 182 100 196617 play at half speed; #P comment 265 201 100 196617 play at double speed; #P comment 617 41 100 196617 € open a sample file; #P comment 208 293 170 196617 change what buffer~ you're using; #P window linecount 3; #P comment 567 173 126 196617 loop using a slow ramp (turn on by clicking on 2 \, turn off by clicking on 0); #P window linecount 1; #P comment 381 331 100 196617 € start audio; #P window linecount 2; #P comment 13 371 41 196617 sample output; #P user panel 370 327 123 43; #X brgb 255 255 255; #X frgb 100 202 30; #X border 2; #X rounded 0; #X shadow 0; #X done; #P user panel 786 116 395 463; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P fasten 28 0 30 0 314 397 46 397; #P fasten 29 0 30 0 443 397 46 397; #P connect 14 0 30 0; #P fasten 14 0 30 1 73 445 65 445; #P fasten 27 0 14 0 203 326 73 326; #P connect 31 0 14 0; #P connect 66 0 14 0; #P connect 34 0 35 0; #P connect 50 0 32 0; #P connect 35 0 32 0; #P connect 32 0 33 0; #P connect 33 0 31 0; #P connect 16 0 15 0; #P connect 17 0 15 0; #P connect 18 0 15 0; #P connect 19 0 15 0; #P connect 15 0 31 1; #P fasten 26 0 31 2 554 273 192 273; #P connect 22 0 25 0; #P connect 48 0 22 0; #P connect 24 0 22 0; #P connect 23 0 22 0; #P hidden connect 41 0 40 0; #P hidden connect 42 0 40 0; #P hidden connect 43 0 40 0; #P hidden connect 44 0 40 0; #P hidden connect 45 0 40 0; #P hidden connect 47 0 40 0; #P hidden connect 40 0 39 0; #P connect 63 0 48 0; #P connect 25 0 26 0; #P connect 21 0 20 0; #P connect 65 0 64 0; #P connect 49 0 60 0; #P connect 60 0 50 0; #P connect 50 0 61 0; #P connect 50 1 63 0; #P connect 63 0 62 0; #P connect 50 1 53 0; #P connect 50 2 54 0; #P connect 50 3 55 0; #P connect 50 4 52 0; #P pop;