// Zhengshan Shi // Music 220a HW2 // Chuck file to play the binaural file "/user/k/kittyshi/220a/hw2/" => string dataDir; //"/Users/shanshan/Desktop/Music220a/Assignments/hw2/kitty/" => string dataDir; "myCh1.wav" => string dataFile1; "myCh2.wav" => string dataFile2; "myCh3.wav" => string dataFile3; "myCh4.wav" => string dataFile4; Binaural4 b4; SndBuf snd0 => b4.pssp[0]; dataDir+dataFile1 =>snd0.read; SndBuf snd1 => b4.pssp[1]; dataDir+dataFile2 =>snd1.read; SndBuf snd2 => b4.pssp[2]; dataDir+dataFile3 =>snd2.read; SndBuf snd3 => b4.pssp[3]; dataDir+dataFile4 =>snd3.read; 1::day =>now; snd0 => b4.pssp[0]; snd1 => b4.pssp[1]; snd2 => b4.pssp[2]; snd3 => b4.pssp[3];