max v2; #N vpatcher 49 50 1383 849; #P toggle 545 225 15 0; #P button 19 598 15 0; #P hidden button 10 625 15 0; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 36 598 100 196617 2 22 2007 10 56 57; #P window linecount 2; #P hidden message 27 646 241 196617 MacBook:/Users/Rich/Documents/Documentation/MaxMSP/Tasks/BBCutMax/BBCutMax.txt; #P window linecount 1; #N vpatcher 13 59 631 604; #P outlet 211 364 15 0; #P window setfont "Sans Serif" 9.; #P newex 30 133 62 196617 prepend set; #P inlet 105 86 15 0; #P outlet 17 366 15 0; #P inlet 20 86 15 0; #P newex 17 312 62 196617 prepend set; #P comment 318 248 12 196617 :; #P comment 252 248 12 196617 :; #P newex 340 224 60 196617 prepend set; #P message 340 248 33 196617 57; #P comment 339 264 35 196617 second; #P newex 276 224 60 196617 prepend set; #P message 276 248 33 196617 56; #P comment 275 264 35 196617 minute; #P newex 212 225 60 196617 prepend set; #P message 212 248 33 196617 10; #P comment 211 265 35 196617 hour; #P newex 148 225 60 196617 prepend set; #P message 148 248 33 196617 2007; #P comment 147 265 35 196617 year; #P newex 84 226 60 196617 prepend set; #P message 84 248 33 196617 22; #P comment 83 266 35 196617 day; #P newex 20 226 60 196617 prepend set; #P message 20 248 33 196617 2; #P newex 20 196 332 196617 unpack 1 1 2000 0 0 0; #P newex 20 173 44 196617 filedate; #B color 14; #P newex 20 109 54 196617 opendialog; #P comment 19 266 35 196617 month; #P comment 124 248 12 196617 \,; #P newex 190 101 53 196617 closebang; #P window setfont "American Typewriter" 18.; #P comment 27 422 112 199491602 Date Stamp; #P window setfont "Sans Serif" 9.; #P comment 27 460 100 196617 v 0.01; #P comment 27 475 100 196617 rhoadley.net; #P fasten 7 0 28 0 25 193 14 193 14 305 22 305; #P connect 28 0 30 0; #P connect 29 0 6 0; #P connect 6 0 7 0; #P fasten 31 0 7 0 110 162 25 162; #P connect 7 0 8 0; #P connect 8 0 10 0; #P connect 10 0 9 0; #P fasten 6 0 32 0 25 131 35 131; #P connect 8 1 13 0; #P connect 13 0 12 0; #P connect 8 2 16 0; #P connect 16 0 15 0; #P fasten 32 0 33 0 35 167 9 167 9 346 216 346; #P connect 8 3 19 0; #P connect 19 0 18 0; #P connect 8 4 22 0; #P connect 22 0 21 0; #P connect 8 5 25 0; #P connect 25 0 24 0; #P pop; #P hidden newobj 26 620 64 196617 p datestamp; #P comment 36 583 100 196617 v 0.04; #P window setfont "American Typewriter" 18.; #P comment 32 557 222 199491602 BBCutMax; #P window setfont "Sans Serif" 9.; #P newex 969 362 40 196617 + 0.01; #P flonum 1086 339 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 813 475 20 196617 20; #P toggle 790 475 15 0; #P flonum 767 531 56 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 767 504 55 196617 snapshot~; #P flonum 1040 486 50 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 1040 459 29 196617 * 0.; #P newex 1040 430 58 196617 v beattime; #P flonum 969 486 50 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 1041 386 66 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 1041 362 27 196617 + 1.; #P flonum 1041 340 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 969 340 29 196617 * 0.; #P newex 1041 309 52 196617 random 7; #P button 969 281 15 0; #P newex 969 309 58 196617 v beattime; #P message 504 697 41 196617 wclose; #P newex 577 661 105 196617 funnel 8; #N coll ; #P newobj 577 696 53 196617 coll; #P button 767 474 15 0; #P toggle 713 630 15 0; #P toggle 693 630 15 0; #P toggle 674 630 15 0; #P toggle 654 630 15 0; #P toggle 634 630 15 0; #P toggle 615 630 15 0; #P toggle 596 630 15 0; #P toggle 577 630 15 0; #P newex 992 168 58 196617 v beattime; #P flonum 1009 37 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 992 135 27 196617 / 8.; #P flonum 719 445 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 688 467 41 196617 *~ 0.2; #P window linecount 2; #P comment 565 226 122 196617 click to (de)activate groove~; #P window linecount 1; #P message 706 264 23 196617 0.5; #P message 706 245 23 196617 1.; #P flonum 706 283 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 783 331 15 0; #P message 783 350 68 196617 loopinterp \$1; #P message 593 311 65 196617 set mybuff2; #P message 593 371 49 196617 startloop; #P message 593 345 27 196617 stop; #P toggle 734 325 15 0; #P message 734 350 41 196617 loop \$1; #P flonum 766 380 47 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 727 380 50 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 688 268 15 0; #P newex 688 309 27 196617 sig~; #P newex 688 399 89 196617 groove~ bbcut; #B color 5; #P comment 752 315 81 196617 turn loop on/off; #P comment 565 295 112 196617 change working buffer; #P window linecount 5; #P comment 781 400 131 196617 The object itself - note that bbcut is the buffer initially being read \, but that this can be changed with a 'set' message (see left).; #P window linecount 3; #P comment 749 254 47 196617 control playback rate; #P window linecount 2; #P comment 208 383 63 196617 duration in milliseconds; #P flonum 208 363 72 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 798 111 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 797 131 68 196617 sampling rate of the file; #P button 776 82 15 0; #P flonum 876 111 75 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 876 131 58 196617 total buffer time (ms); #P flonum 394 205 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 1; #P newex 394 300 41 196617 +~ 500; #P newex 394 275 50 196617 *~ 3000; #P message 420 229 26 196617 1.; #P message 394 229 23 196617 0.; #P newex 394 252 44 196617 phasor~; #P flonum 425 445 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 394 467 41 196617 *~ 0.2; #P flonum 134 443 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 103 465 41 196617 *~ 0.2; #P user ezdac~ 401 551 445 584 0; #P newex 394 333 62 196617 play~ bbcut; #P message 30 236 102 196617 open tlonbeat_m.aiff; #P newex 169 335 79 196617 sfinfo~; #P message 30 209 30 196617 open; #P toggle 113 288 15 0; #P message 113 307 43 196617 loop \$1; #P comment 72 307 25 196617 stop; #P comment 61 285 25 196617 play; #P message 54 307 14 196617 0; #P message 43 285 14 196617 1; #P message 30 259 105 196617 open sandbeat_m.aiff; #N sfplay~ 1 120960 0 ; #P newobj 30 333 39 196617 sfplay~; #P newex 798 81 105 196617 info~ bbcut; #P message 675 49 115 196617 replace tlonbeat_m.aiff; #P message 552 49 118 196617 replace sandbeat_m.aiff; #P newex 552 81 71 196617 buffer~ bbcut; #P window linecount 3; #P comment 1024 128 100 196617 divide by the number of beats in the sample; #P window linecount 1; #P comment 710 662 100 196617 still to implement!; #P window linecount 3; #P comment 987 262 100 196617 <<< choose one of the devisions to play back; #P user panel 530 28 629 562; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P hidden connect 97 0 94 0; #P hidden connect 98 0 95 0; #P hidden fasten 94 1 95 0 85 641 32 641; #P connect 16 0 8 0; #P connect 9 0 8 0; #P connect 18 0 8 0; #P fasten 14 0 8 0 118 328 35 328; #P fasten 11 0 8 0 59 328 35 328; #P fasten 10 0 8 0 48 325 35 325; #P hidden fasten 94 0 96 0 31 658 30 658 30 596 41 596; #P hidden fasten 95 0 94 1 32 665 170 665 170 621 85 621; #P fasten 8 0 21 0 35 419 108 419; #P connect 15 0 14 0; #P connect 22 0 21 1; #P fasten 16 0 17 0 35 228 174 228; #P fasten 18 0 17 0 35 255 174 255; #P fasten 9 0 17 0 35 280 174 280; #P connect 17 3 36 0; #P connect 30 0 25 0; #P connect 26 0 25 0; #P connect 27 0 25 0; #P connect 25 0 28 0; #P connect 28 0 29 0; #P connect 29 0 19 0; #P connect 19 0 23 0; #P fasten 58 0 20 0 693 517 406 517; #P fasten 21 0 20 0 108 515 406 515; #P fasten 23 0 20 0 399 536 406 536; #P connect 24 0 23 1; #P fasten 58 0 20 1 693 523 440 523; #P fasten 23 0 20 1 399 529 440 529; #P fasten 21 0 20 1 108 523 440 523; #P fasten 6 0 4 0 680 72 557 72; #P connect 5 0 4 0; #P connect 63 0 73 0; #P fasten 74 0 72 0 509 716 564 716 564 691 582 691; #P connect 73 0 72 0; #P fasten 64 0 73 1 601 653 595 653; #P fasten 99 0 50 0 550 366 598 366; #P fasten 65 0 73 2 620 652 608 652; #P fasten 66 0 73 3 639 652 621 652; #P fasten 67 0 73 4 659 653 633 653 634 664; #P fasten 68 0 73 5 679 654 647 654; #P fasten 69 0 73 6 698 653 660 653; #P fasten 70 0 73 7 718 654 673 654; #P fasten 99 0 44 0 550 251 693 251; #P fasten 56 0 43 0 711 305 693 305; #P fasten 55 0 43 0 711 307 693 307; #P fasten 54 0 43 0 711 305 693 305; #P connect 44 0 43 0; #P fasten 52 0 42 0 788 372 693 372; #P fasten 51 0 42 0 598 336 693 336; #P fasten 47 0 42 0 739 376 693 376; #P fasten 49 0 42 0 598 367 693 367; #P fasten 50 0 42 0 598 392 693 392; #P connect 43 0 42 0; #P connect 42 0 58 0; #P connect 59 0 58 1; #P fasten 91 0 45 0 974 385 841 385 841 368 732 368; #P connect 45 0 42 1; #P fasten 99 0 48 0 550 303 739 303; #P connect 48 0 47 0; #P fasten 84 0 46 0 1045 481 925 481 925 371 771 371; #P connect 46 0 42 2; #P connect 42 1 71 0; #P connect 42 1 86 0; #P connect 88 0 86 0; #P connect 86 0 87 0; #P fasten 61 0 33 0 1014 62 781 62; #P fasten 5 0 33 0 557 75 781 75; #P fasten 6 0 33 0 680 75 781 75; #P connect 53 0 52 0; #P fasten 33 0 7 0 781 102 793 102 793 75 803 75; #P connect 7 0 35 0; #P connect 89 0 86 1; #P connect 7 6 32 0; #P fasten 60 0 76 0 997 161 974 161; #P fasten 42 1 76 0 772 469 936 469 936 278 974 278; #P connect 76 0 75 0; #P connect 75 0 78 0; #P connect 78 0 91 0; #P connect 78 0 82 0; #P fasten 77 0 78 1 1046 335 993 335; #P fasten 32 0 60 0 881 127 997 127; #P connect 60 0 62 0; #P connect 61 0 60 1; #P fasten 76 0 83 0 974 302 957 302 957 423 1045 423; #P connect 83 0 84 0; #P connect 84 0 85 0; #P fasten 76 0 77 0 974 302 1046 302; #P connect 77 0 79 0; #P connect 79 0 80 0; #P connect 80 0 81 0; #P fasten 90 0 80 1 1091 359 1063 359; #P fasten 81 0 84 1 1046 419 1029 419 1029 450 1064 450; #P fasten 61 0 77 1 1014 62 1088 62 1088 239 1088 239; #P pop;