max v2; #N vpatcher 188 72 1392 865; #P origin 18 8; #P window setfont "Sans Serif" 9.; #P hidden message 26 606 326 196617 "Macintosh HD:/Users/student/Desktop/PT-Sounds/PT-SFPlay.txt"; #P message 27 589 101 196617 2 28 2007 15 41 32; #P hidden button 27 546 15 0; #N vpatcher 10 59 613 700; #P outlet 225 378 15 0; #P window setfont "Sans Serif" 9.; #P newex 44 147 62 196617 prepend set; #P inlet 119 100 15 0; #P outlet 31 380 15 0; #P inlet 34 100 15 0; #P newex 31 326 62 196617 prepend set; #P comment 332 262 12 196617 :; #P comment 266 262 12 196617 :; #P newex 354 238 60 196617 prepend set; #P message 354 262 33 196617 32; #P comment 353 278 35 196617 second; #P newex 290 238 60 196617 prepend set; #P message 290 262 33 196617 41; #P comment 289 278 35 196617 minute; #P newex 226 239 60 196617 prepend set; #P message 226 262 33 196617 15; #P comment 225 279 35 196617 hour; #P newex 162 239 60 196617 prepend set; #P message 162 262 33 196617 2007; #P comment 161 279 35 196617 year; #P newex 98 240 60 196617 prepend set; #P message 98 262 33 196617 28; #P comment 97 280 35 196617 day; #P newex 34 240 60 196617 prepend set; #P message 34 262 33 196617 2; #P newex 34 210 332 196617 unpack 1 1 2000 0 0 0; #P newex 34 187 44 196617 filedate; #B color 14; #P newex 34 123 54 196617 opendialog; #P comment 33 280 35 196617 month; #P comment 138 262 12 196617 \,; #P newex 204 115 53 196617 closebang; #P window setfont "American Typewriter" 18.; #P comment 41 436 112 199491602 Date Stamp; #P window setfont "Sans Serif" 9.; #P comment 41 474 100 196617 v 0.01; #P comment 41 489 100 196617 rhoadley.net; #P fasten 7 0 28 0 39 207 28 207 28 319 36 319; #P connect 28 0 30 0; #P connect 29 0 6 0; #P fasten 31 0 7 0 124 176 39 176; #P connect 6 0 7 0; #P connect 7 0 8 0; #P connect 8 0 10 0; #P connect 10 0 9 0; #P fasten 6 0 32 0 39 145 49 145; #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 49 181 23 181 23 360 230 360; #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 1; #P hidden newobj 27 567 64 196617 p datestamp; #P hidden newex 398 28 48 196617 loadbang; #P comment 28 606 179 196617 mixing audio streams from samples; #P message 129 589 127 196617 http://rhoadley.net/icmp; #P hidden button 129 591 15 0; #P window linecount 2; #P hidden message 129 589 230 196617 \; max launch_browser http://rhoadley.net/icmp; #P window linecount 6; #P comment 8 215 100 196617 the scale objects above manipulate the two multipliers to the right \, sending a mono signal between two outputs; #P window linecount 1; #P comment 28 661 216 196617 Most up-to-date versions of templates >>>>; #P window linecount 3; #P message 247 621 263 196617 \; max launch_browser http://rhoadley.net/cgi/courses/tech_resources/max-msp/examples/SOUNDS/; #P window linecount 4; #P message 247 662 263 196617 \; max launch_browser http://rhoadley.net/cgi/courses/tech_resources/max-msp/examples/PERFORMANCE_TEMPLATES/; #P window linecount 1; #N vpatcher 311 92 1132 791; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 76 596 33 196617 start; #P hidden newex 330 47 48 196617 loadbang; #P hidden newex 258 417 49 196617 delay 10; #P toggle 473 262 15 0; #P newex 473 283 29 196617 gate; #P newex 473 303 32 196617 print; #P number 448 113 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 94 456 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 94 474 48 196617 ramp \$1; #P button 289 400 15 0; #P message 265 381 120 196617 open new_chords_04.aif; #P window linecount 3; #P message 32 113 263 196617 \; max launch_browser http://rhoadley.net/cgi/courses/tech_resources/max-msp/examples/SOUNDS/; #P window linecount 1; #P comment 33 99 216 196617 Sounds used in the templates >>>>; #P message 33 62 40 196617 v 0.02; #P message 33 79 127 196617 http://rhoadley.net/icmp; #P hidden button 33 79 15 0; #P window linecount 2; #P hidden message 33 79 230 196617 \; max launch_browser http://rhoadley.net/icmp; #P comment 513 114 100 196617 change matrix every...; #P toggle 447 326 15 0; #P window linecount 1; #P message 447 347 43 196617 loop \$1; #P message 314 415 14 196617 1; #P toggle 279 327 15 0; #P message 279 348 43 196617 loop \$1; #P message 279 364 120 196617 open new_chords_03.aif; #N sfplay~ 1 120960 0 ; #P newobj 279 441 44 196617 sfplay~; #P toggle 394 113 15 0; #P newex 394 136 64 196617 metro 3000; #P message 373 415 14 196617 1; #P toggle 338 327 15 0; #P message 338 348 43 196617 loop \$1; #P message 338 398 101 196617 open haiku_cage.aiff; #N sfplay~ 1 120960 0 ; #P newobj 338 441 44 196617 sfplay~; #P newex 334 162 66 196617 trigger b b b; #P button 334 136 15 0; #P newex 453 196 52 196617 random 2; #P newex 393 196 52 196617 random 1; #P newex 334 196 52 196617 random 4; #P button 309 238 15 0; #P toggle 390 327 15 0; #P message 390 348 43 196617 loop \$1; #P message 424 415 14 196617 1; #P message 390 382 66 196617 open rain.aif; #N sfplay~ 1 120960 0 ; #P newobj 390 441 44 196617 sfplay~; #P message 481 415 14 196617 1; #P message 447 398 88 196617 open tlonbeat.aiff; #N sfplay~ 1 120960 0 ; #P newobj 447 441 44 196617 sfplay~; #P number 412 238 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 373 238 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 84 255 52 196617 clear; #P number 334 238 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 334 260 57 196617 pack 0 0 0; #P message 176 257 58 196617 0 0 0; #P newex 319 532 55 196617 print dump; #P message 59 474 31 196617 dump; #P message 182 596 27 196617 stop; #P message 113 596 65 196617 startwindow; #P newex 234 642 29 196617 dac~; #P message 146 474 60 196617 ramp 2000; #P flonum 340 553 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 305 586 45 196617 *~ 0.25; #P newex 234 586 45 196617 *~ 0.25; #P user matrixctrl 176 300 68 36 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 68 36 16 16 4 2 16 16 2 2 48 2 0 0; #P newex 234 508 81 196617 matrix~ 4 2 1.; #B color 5; #P window linecount 5; #P comment 383 538 119 196617 The dump message sends the current gains of all connections out the rightmost outlet \, in lists of this form: ; #P window linecount 1; #P comment 509 415 100 196617 open sample files; #P window linecount 2; #P comment 513 159 148 196617 this trigger sends a bang out of each outlet when it is banged...; #P window setfont "American Typewriter" 18.; #P window linecount 1; #P comment 33 36 132 199491602 Matrix Task; #P window setfont "Sans Serif" 9.; #P window linecount 2; #P comment 133 441 100 196617 ramp determines the 'fade' in and out time; #P window linecount 4; #P comment 513 271 100 196617 use gate to determine whether the output of pack is printed.; #P window linecount 5; #P comment 513 196 100 196617 so \, we're choosing random numbers to decide a route and to determine whether it's turned on or off.; #P hidden connect 55 0 54 0; #P hidden connect 54 0 53 0; #P connect 62 0 61 0; #P hidden fasten 68 0 12 0 335 73 284 73 284 234 151 234; #P connect 18 0 8 0; #P fasten 21 0 8 0 89 292 181 292; #P fasten 19 0 8 0 339 287 181 287; #P fasten 61 0 7 0 99 502 239 502; #P fasten 16 0 7 0 64 502 239 502; #P fasten 12 0 7 0 151 502 239 502; #P fasten 8 0 7 0 181 391 239 391; #P fasten 45 0 7 0 284 483 239 483; #P connect 7 0 9 0; #P fasten 69 0 13 0 81 633 239 633; #P connect 9 0 13 0; #P fasten 14 0 13 0 118 634 239 634; #P fasten 15 0 13 0 187 634 239 634; #P fasten 10 0 13 1 310 616 258 616; #P fasten 38 0 7 1 343 489 262 489; #P hidden connect 60 0 67 0; #P fasten 11 0 9 1 345 575 274 575; #P hidden fasten 68 0 48 0 335 71 284 71 284 218 284 218; #P connect 48 0 47 0; #P connect 46 0 45 0; #P fasten 49 0 45 0 319 435 284 435; #P connect 47 0 45 0; #P connect 59 0 45 0; #P fasten 27 0 7 2 395 494 285 494; #P connect 46 0 60 0; #P connect 59 0 60 0; #P fasten 24 0 7 3 452 501 308 501; #P fasten 7 1 10 0 274 549 310 549; #P fasten 22 0 32 0 378 257 293 257 293 234 314 234; #P fasten 23 0 32 0 417 259 292 259 292 235 314 235; #P hidden connect 67 0 49 0; #P fasten 7 2 17 0 309 528 324 528; #P connect 36 0 37 0; #P fasten 43 0 37 0 399 157 339 157; #P connect 37 0 33 0; #P connect 33 0 20 0; #P connect 20 0 19 0; #P fasten 32 0 19 0 314 257 339 257; #P hidden fasten 68 0 41 0 335 71 285 71 285 314 343 314; #P connect 41 0 40 0; #P connect 40 0 38 0; #P connect 39 0 38 0; #P fasten 42 0 38 0 378 435 343 435; #P fasten 11 0 10 1 345 575 345 575; #P fasten 22 0 19 1 378 256 362 256; #P fasten 34 0 22 0 398 219 378 219; #P fasten 23 0 19 2 417 257 385 257; #P hidden fasten 68 0 31 0 335 72 284 72 284 314 395 314; #P connect 31 0 30 0; #P fasten 29 0 27 0 429 436 395 436; #P connect 28 0 27 0; #P connect 30 0 27 0; #P fasten 37 1 34 0 367 187 398 187; #P hidden fasten 68 0 44 0 335 94 399 94; #P connect 44 0 43 0; #P fasten 35 0 23 0 458 221 417 221; #P hidden fasten 68 0 51 0 335 71 284 71 284 310 452 310; #P connect 51 0 50 0; #P connect 25 0 24 0; #P fasten 26 0 24 0 486 436 452 436; #P connect 50 0 24 0; #P connect 63 0 43 1; #P fasten 37 2 35 0 395 185 458 185; #P connect 66 0 65 0; #P connect 65 0 64 0; #P fasten 19 0 65 1 339 287 497 287; #P pop; #P newobj 939 83 68 196617 p matrixperf; #P toggle 875 664 15 0; #P message 898 664 27 196617 open; #P newex 898 699 63 196617 sfrecord~ 2; #P newex 898 608 53 196617 adoutput~; #P comment 868 578 99 196617 record a demo...; #P window linecount 9; #P comment 995 609 113 196617 1. Click on open to open a file for recording. Save the file in one of your own directories to which you know you have access. 2. Use the toggle to turn recording on and \, when finished \, off.; #P user panel 868 597 263 133; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P window linecount 1; #P comment 28 591 100 196617 v0.04 RH 2006-7; #P flonum 627 333 62 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 627 354 62 196617 pack 0. 100; #P newex 627 375 31 196617 line~; #B color 5; #P newex 616 399 21 196617 *~; #B color 5; #N vpatcher 20 74 620 474; #P pop; #P newobj 214 122 161 196617 p doubleclick-here-for-more-info; #N vpatcher 307 142 776 287; #P window setfont "Sans Serif" 9.; #P comment 14 31 428 196617 Use the mousestate object to control any item capable of receiving numeric data. In this case \, the mouse/trackpad's horizontal position (0-1670) is used to manipulate the output from each of two sfplay~s. As the outputs are controlled by multipliers (0.0-1.0) the mouse values need to be scaled using the scale object. Bear in mind that the data received from the mouse will depend on the size of screen \, so a laptop screen will usually generate limited (or different) data.; #P pop; #P newobj 14 187 165 196617 p doubleclick_here_for_more_info; #P newex 161 81 157 196617 select 113 119 101 97 115 100; #P number 177 60 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 161 33 40 196617 key; #P flonum 981 204 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 936 204 15 0; #P message 981 223 50 196617 speed \$1; #P message 936 223 43 196617 loop \$1; #P flonum 845 385 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 814 406 41 196617 *~ 0.2; #P message 803 186 30 196617 open; #P message 803 205 120 196617 open new_chords_04.aif; #P message 803 223 120 196617 open new_chords_05.aif; #P message 786 223 14 196617 0; #P message 769 223 14 196617 1; #N sfplay~ 1 120960 0 ; #P newobj 814 268 44 196617 sfplay~; #P newex 25 156 93 196617 scale 0 1280 0. 1.; #P newex 15 134 93 196617 scale 0 1280 1. 0.; #P number 34 109 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 20 32 15 0; #P newex 20 50 37 196617 metro; #P newex 20 70 66 196617 mousestate; #P flonum 678 204 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 633 204 15 0; #P message 678 223 50 196617 speed \$1; #P message 633 223 43 196617 loop \$1; #P flonum 542 440 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 511 461 41 196617 *~ 0.2; #P message 500 186 30 196617 open; #P message 500 205 120 196617 open new_chords_03.aif; #P message 500 223 120 196617 open new_chords_04.aif; #P message 483 223 14 196617 0; #P message 466 223 14 196617 1; #N sfplay~ 1 120960 0 ; #P newobj 511 268 44 196617 sfplay~; #P window linecount 4; #P comment 401 153 48 196617 alter the speed of loop playback; #P flonum 401 204 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 356 204 15 0; #P window linecount 1; #P message 401 223 50 196617 speed \$1; #P message 356 223 43 196617 loop \$1; #P window linecount 2; #P comment 281 264 98 196617 play and manipulate a soundfile; #P flonum 265 385 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 1; #P newex 234 406 41 196617 *~ 0.2; #P message 223 186 30 196617 open; #P message 223 205 93 196617 open helicopter.aif; #P message 223 223 120 196617 open new_chords_02.aif; #P message 206 223 14 196617 0; #P message 189 223 14 196617 1; #P user ezdac~ 582 543 626 576 0; #N sfplay~ 1 120960 0 ; #P newobj 234 268 44 196617 sfplay~; #P window linecount 4; #P comment 257 152 81 196617 open any soundfile or open specific soundfiles...; #P comment 138 217 51 196617 turn sfplay~ on and off:; #P comment 354 153 40 196617 turn looping on and off; #P window linecount 2; #P comment 307 395 100 196617 control each output using a multiplier; #P user panel 8 27 143 184; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P user panel 155 27 225 117; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P window linecount 4; #P comment 815 42 100 196617 Unlock the patch \, select any object and choose Help>Help for help!; #P window linecount 3; #P comment 693 333 100 196617 smooths any potential clicks when editing the amplitude; #P window setfont "American Typewriter" 18.; #P window linecount 1; #P comment 25 563 310 199491602 Performance Template 1: sfplay~; #P window setfont "Sans Serif" 9.; #P window linecount 5; #P comment 816 95 99 196617 Use mousestate \, if you wish \, to control diffusion of the sounds. Use mono sound files for this.; #P user panel 812 38 108 123; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P window linecount 1; #P comment 28 621 216 196617 Sounds used in the templates >>>>; #P fasten 39 1 43 0 39 98 20 98; #P hidden connect 83 0 41 0; #P connect 41 0 40 0; #P connect 40 0 39 0; #P fasten 39 1 44 0 39 100 30 100; #P hidden connect 86 0 87 0; #P hidden connect 84 1 87 0; #P hidden connect 85 0 84 0; #P hidden connect 84 0 86 0; #P connect 39 1 42 0; #P hidden connect 87 0 84 1; #P hidden connect 80 0 79 0; #P hidden connect 81 0 80 0; #P connect 57 0 59 0; #P fasten 57 0 58 0 166 56 182 56; #P fasten 59 0 14 0 166 115 194 115; #P fasten 59 3 15 0 238 116 211 116; #P fasten 16 0 12 0 228 250 239 250; #P fasten 17 0 12 0 228 250 239 250; #P fasten 18 0 12 0 228 252 239 252; #P fasten 14 0 12 0 194 250 239 250; #P fasten 15 0 12 0 211 251 239 251; #P fasten 22 0 12 0 361 251 239 251; #P fasten 23 0 12 0 406 250 239 250; #P connect 12 0 19 0; #P fasten 43 0 20 0 20 362 270 362; #P connect 20 0 19 1; #P hidden connect 83 0 24 0; #P connect 24 0 22 0; #P connect 25 0 23 0; #P fasten 59 1 28 0 196 115 471 115; #P fasten 59 4 29 0 262 115 488 115; #P fasten 36 0 27 0 683 250 516 250; #P fasten 35 0 27 0 638 251 516 251; #P fasten 29 0 27 0 488 251 516 251; #P fasten 28 0 27 0 471 250 516 250; #P fasten 32 0 27 0 505 252 516 252; #P fasten 31 0 27 0 505 250 516 250; #P fasten 30 0 27 0 505 250 516 250; #P connect 27 0 33 0; #P connect 34 0 33 1; #P fasten 33 0 13 0 516 521 587 521; #P fasten 19 0 13 0 239 505 587 505; #P fasten 12 0 62 0 239 352 621 352; #P fasten 51 0 13 1 819 434 1029 434 1029 505 621 505; #P connect 62 0 13 1; #P fasten 44 0 65 0 30 306 632 306; #P connect 65 0 64 0; #P connect 64 0 63 0; #P connect 63 0 62 1; #P hidden connect 83 0 37 0; #P connect 37 0 35 0; #P connect 38 0 36 0; #P fasten 59 2 46 0 226 113 774 113; #P fasten 59 5 47 0 286 113 791 113; #P fasten 48 0 45 0 808 250 819 250; #P fasten 49 0 45 0 808 250 819 250; #P fasten 50 0 45 0 808 252 819 252; #P fasten 46 0 45 0 774 250 819 250; #P fasten 47 0 45 0 791 251 819 251; #P fasten 53 0 45 0 941 251 819 251; #P fasten 54 0 45 0 986 250 819 250; #P connect 45 0 51 0; #P fasten 43 0 52 0 20 318 850 318; #P connect 52 0 51 1; #P fasten 73 0 71 0 880 689 903 689; #P connect 72 0 71 0; #P connect 70 0 71 0; #P hidden connect 83 0 55 0; #P connect 55 0 53 0; #P fasten 70 1 71 1 946 681 956 681; #P connect 56 0 54 0; #P pop;