public static WavePeakData FromDisk(string peakFileName) { using (var peakGenerator = new WavePeakGenerator(peakFileName)) { return(peakGenerator.LoadPeaks()); } }
public static WavePeakData FromStream(Stream stream) { using (var peakGenerator = new WavePeakGenerator(stream)) { return(peakGenerator.LoadPeaks()); } }