fe_main.cpp

来自「这是一个语音特征提取的程序源码」· C++ 代码 · 共 23 行

CPP
23
字号
/* 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 + =
减小字号Ctrl + -
显示快捷键?