예제 #1
0
 public static WavePeakData FromDisk(string peakFileName)
 {
     using (var peakGenerator = new WavePeakGenerator(peakFileName))
     {
         return(peakGenerator.LoadPeaks());
     }
 }
예제 #2
0
 public static WavePeakData FromStream(Stream stream)
 {
     using (var peakGenerator = new WavePeakGenerator(stream))
     {
         return(peakGenerator.LoadPeaks());
     }
 }