Beispiel #1
0
        public static void Show()
        {
            var wavFile = WavFile.Read("myfile.wav");

            wavFile.ApplyFilter(new NoiseReductionFilter());
            wavFile.ApplyFilter(new ReverbFilter());
            wavFile.ApplyFilter(new NormaliseFilter());
        }
Beispiel #2
0
        public static WavFile Read(string filename)
        {
            // Simulate reading a wav file and building the segments
            var wavFile = new WavFile();

            wavFile._segments.Add(new FormatSegment());
            wavFile._segments.Add(new FactSegment());
            wavFile._segments.Add(new FactSegment());
            wavFile._segments.Add(new FactSegment());

            return(wavFile);
        }