コード例 #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());
     }
 }