public static void Show() { var wavFile = WavFile.Read("myfile.wav"); wavFile.ApplyFilter(new NoiseReductionFilter()); wavFile.ApplyFilter(new ReverbFilter()); wavFile.ApplyFilter(new NormaliseFilter()); }
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); }