max v2;
#N vpatcher 321 50 1293 833;
#P button 574 612 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 574 591 118 196617 # 20071003 191420;
#P hidden newex 575 591 56 196617 datestamp;
#P message 590 612 179 196617 http://rhoadley.net - latest versions;
#P hidden button 574 612 15 0;
#P hidden newex 574 591 48 196617 loadbang;
#P window linecount 2;
#P hidden message 574 591 246 196617 MacBook:/Users/Rich/Documents/Documentation/ACMP/Microsound/Ring/Tremolo-and-Ring-Mod.txt;
#P window linecount 3;
#P hidden message 574 630 243 196617 \; max launch_browser http://rhoadley.net/cgi/courses/tech_resources/acmp/tasks/Microsound/;
#P window linecount 1;
#P message 632 33 88 196617 open cherokee.aif;
#P window setfont "American Typewriter" 18.;
#P comment 574 552 271 199491602 Tremolo and Ring Modulation;
#P window setfont "Sans Serif" 9.;
#P comment 574 576 100 196617 v 0.01;
#P comment 566 167 100 196617 2: use own file;
#P comment 382 163 100 196617 2: audio in;
#P message 551 33 76 196617 open jongly.aif;
#P toggle 635 119 15 0;
#P comment 635 103 25 196617 loop;
#P toggle 614 119 15 0;
#P button 593 119 15 0;
#P button 572 119 15 0;
#N vpatcher 401 158 1001 558;
#P inlet 101 76 15 0;
#P inlet 328 74 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P message 302 244 43 196617 loop \$1;
#P inlet 284 74 15 0;
#P inlet 220 75 15 0;
#P inlet 147 75 15 0;
#P outlet 147 343 15 0;
#P window linecount 2;
#P message 147 211 314 196617 open "MacBook:/Users/Rich/Music/Direct Music/Silent Movies.aiff";
#P window linecount 1;
#P newex 147 178 62 196617 prepend set;
#P newex 147 149 68 196617 prepend open;
#P button 147 106 15 0;
#P newex 147 127 54 196617 opendialog;
#N sfplay~  1 120960 0 ;
#P newobj 147 272 44 196617 sfplay~;
#P connect 7 0 2 0;
#P connect 2 0 1 0;
#P fasten 1 0 3 0 152 145;
#P fasten 3 0 4 0 152 173 152 173;
#P fasten 8 0 5 0 225 204 152 204;
#P fasten 4 0 5 0 152 202 152 202;
#P fasten 9 0 0 0 289 259 152 259;
#P connect 5 0 0 0;
#P fasten 10 0 0 0 307 265 152 265;
#P fasten 12 0 0 0 106 203 152 203;
#P connect 0 0 6 0;
#P fasten 11 0 10 0 333 166 307 166;
#P pop;
#P newobj 551 142 96 196617 p sfplay;
#P comment 572 51 60 196617 choose file;
#P comment 593 68 78 196617 open chosen file;
#P comment 616 86 37 196617 on/off;
#P user ezadc~ 374 28 418 61 0;
#P flonum 405 123 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 374 142 41 196617 *~ 0.2;
#P number 20 187 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 20 214 542 196617 selector~ 3;
#P comment 68 483 41 196617 Volume;
#P user gain~ 107 462 30 36 158 0 1.071519 7.94321 10.;
#P comment 385 483 220 196617 audio modulating frequencies: difference tones;
#P comment 177 484 206 196617 sub-audio modulating frequencies: tremolo;
#P message 520 497 26 196617 250;
#P message 549 497 26 196617 500;
#P message 491 497 26 196617 200;
#P message 462 497 26 196617 150;
#P message 433 497 26 196617 100;
#P message 410 497 20 196617 50;
#P message 387 497 20 196617 32;
#P message 287 498 20 196617 16;
#P message 270 498 14 196617 8;
#P message 253 498 14 196617 4;
#P message 236 498 14 196617 2;
#P message 219 498 14 196617 1;
#P newex 345 533 62 196617 s modrate;
#P window linecount 2;
#P comment 441 431 71 196617 initialize values;
#P window linecount 1;
#P newex 440 354 53 196617 loadbang;
#P window linecount 4;
#P message 440 375 79 196617 \; amp 0.5 \; modrate 0.1 \; freq 1000.;
#P window linecount 3;
#P comment 327 394 92 196617 scale the level of the modulating oscillator;
#P comment 220 437 174 196617 modulate the amplitude of one oscillator by multiplying it with another oscillator;
#P window linecount 1;
#P comment 311 322 51 196617 Amplitude;
#P window linecount 2;
#P comment 193 322 98 196617 Modulating Frequency;
#P window linecount 1;
#P newex 313 354 38 196617 r amp;
#P newex 210 354 62 196617 r modrate;
#P newex 103 68 44 196617 r freq;
#P flonum 313 375 68 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 210 375 68 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 103 89 68 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 210 417 113 196617 *~;
#P newex 103 142 50 196617 cycle~;
#P newex 210 393 43 196617 cycle~;
#P newex 107 441 113 196617 *~;
#P user ezdac~ 107 536 151 569 219312236;
#P window linecount 2;
#P comment 83 36 79 196617 Carrier Frequency;
#P comment 112 110 100 196617 1: cycle with default sine wave;
#P connect 38 0 37 0;
#P connect 10 0 7 0;
#P connect 7 0 5 0;
#P fasten 37 0 3 0 25 245 112 245;
#P connect 3 0 35 0;
#P connect 35 0 2 0;
#P connect 35 0 2 1;
#P fasten 5 0 37 1 108 181 202 181;
#P connect 11 0 8 0;
#P connect 8 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 3 1;
#P connect 12 0 9 0;
#P connect 9 0 6 1;
#P connect 21 0 20 0;
#P connect 22 0 20 0;
#P connect 23 0 20 0;
#P connect 24 0 20 0;
#P connect 25 0 20 0;
#P connect 26 0 20 0;
#P connect 27 0 20 0;
#P connect 28 0 20 0;
#P connect 29 0 20 0;
#P connect 30 0 20 0;
#P connect 31 0 20 0;
#P connect 32 0 20 0;
#P connect 41 0 39 0;
#P fasten 41 1 39 0 413 119 379 119;
#P connect 39 0 37 2;
#P connect 40 0 39 1;
#P connect 18 0 17 0;
#P connect 51 0 45 0;
#P fasten 56 0 45 0 637 117 556 117;
#P connect 45 0 37 3;
#P connect 46 0 45 1;
#P hidden connect 62 0 63 0;
#P hidden connect 64 0 58 0;
#P hidden connect 59 0 58 0;
#P hidden connect 61 0 60 0;
#P hidden connect 60 0 57 0;
#P hidden connect 58 0 62 0;
#P connect 47 0 45 2;
#P connect 48 0 45 3;
#P connect 50 0 45 4;
#P pop;
