📄 fe_main.cpp
字号:
/* 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;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -