private void ProcessRefVoice() { if (changed_reffile) { //refmfcc;// = new MFCCWrapper(mfcc_setting.TimeFrame, mfcc_setting.TimeShift, mfcc_setting.CepFilter, mfcc_setting.LowFreq, mfcc_setting.HighFreq, mfcc_setting.NumCeps); if (refmfcc.Load(refNameFile, 0) == (int)State.SUCCESSED) { refmfcc.Process(); } } DisplayRefCharts(); changed_reffile = false; }
private void ProcessYourVoice() { if (changed_yourfile) { //yourmfcc;// ;//= new MFCCWrapper(mfcc_setting.TimeFrame, mfcc_setting.TimeShift, mfcc_setting.CepFilter, mfcc_setting.LowFreq, mfcc_setting.HighFreq, mfcc_setting.NumCeps); if (yourmfcc.Load(yourNameFile, 0) == (int)State.SUCCESSED) { yourmfcc.Process(); } } DisplayYourCharts(); changed_yourfile = false; }