public static MySeries[] CalculateCepstrum(MySeries[] spec) { ProgressDlg p = new ProgressDlg(); p.type = CalculateType.Cepstrum; p.spec = spec; p.ShowDialog(); return(p.answer); }
public static MySeries[] CalculateSpec(MySeries wave) { ProgressDlg p = new ProgressDlg(); p.type = CalculateType.Spec; p.sample = wave; p.ShowDialog(); return(p.answer); }