Phrase Reich; Reich.setKey(61); //C#4 Reich.setTempo(0.4); //bpm Reich.setMasterGain(0.5); Reich.meterIs(6,4,0); [0, 5, 8, 7, 10, 0, 5, 8, 7, 10] @=> int notes[]; //always normalize to 0... [0.5, 0.5, 0.5, 0.5, 1.5, 0.5, 0.5, 0.5, 0.5, 0.5] @=> float rhythm[];// in terms of quarters... [10, 0, 5, 8, 7, 10, 0, 5, 8, 7] @=> int notes2[]; [ 1.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5] @=> float rhythm2[]; dac => WvOut w => blackhole; "C:/Users/emgraber/Documents/Stanford/220c/Reich5a.wav" => w.wavFilename; for( 0 => int i; i<4; i++ ){Reich.playTest(notes, rhythm);} w.closeFile(); dac => WvOut w2 => blackhole; "C:/Users/emgraber/Documents/Stanford/220c/Reich5b.wav" => w2.wavFilename; for( 0 => int i; i<4; i++ ){Reich.play(notes, rhythm);} w2.closeFile(); dac => WvOut w3 => blackhole; "C:/Users/emgraber/Documents/Stanford/220c/Reich5c.wav" => w3.wavFilename; for( 0 => int i; i<4; i++ ){Reich.play(notes2, rhythm2);} w3.closeFile();