FE_main.cpp
上传用户:italyroyal
上传日期:2013-05-06
资源大小:473k
文件大小:1k
- /* Define MAIN_PROGRAM in Project--Setting--C/C++--General of Visual Studio
- by using -D MAIN_PROGRAM switch in the command line. */
#include "StdAfx.h"
- #ifndef MAIN_PROGRAM
- #error Define MAIN_PROGRAM in Visual Studio or command line. Compilation is stopped.
- #endif
- #include "FE_feature.h"
- int main(int argc, char **argv)
- {
- Fe feat;
- feat.FeatureMain(FE_MFCC, "Speech/test1.raw", "Speech/test1.mfc");
- feat.FeatureMain(FE_PLCC, "Speech/test1.raw", "Speech/test1.plp");
- feat.FeatureMain(FE_PITCH, "Speech/test1.raw", "Speech/test1.pitch");
- feat.FeatureMain(FE_FORMANT, "Speech/test1.raw", "Speech/test1.formant");
- feat.EnhanceMain("Speech/test2.raw", "Speech/test2.den", 16000, 1);
- return 0;
- }
-