Ejemplo n.º 1
0
        public AudioManager()
        {
            string[] files = System.IO.Directory.GetFiles(@"E:\JNAS\wav\");
            foreach (string filename in files)
            {
                FileStream ftimit = File.OpenRead(filename);
                WaveReader wavetimit = new WaveReader(ftimit);
                timit_raw_L = IntToDouble(wavetimit.Data[0]);

                // Apply all the noises for all the SNR to the file.
                TraverseTree(@"E:\cleannoise\", filename);
            }
        }
        public AudioManager()
        {
            string[] files = System.IO.Directory.GetFiles(@"E:\JNAS\wav\");
            foreach (string filename in files)
            {
                FileStream ftimit    = File.OpenRead(filename);
                WaveReader wavetimit = new WaveReader(ftimit);
                timit_raw_L = IntToDouble(wavetimit.Data[0]);

                // Apply all the noises for all the SNR to the file.
                TraverseTree(@"E:\cleannoise\", filename);
            }
        }