example.cc

来自「这是一个从音频信号里提取特征参量的程序」· CC 代码 · 共 38 行

CC
38 行
字号
// isip include files//#include <Algorithm.h>#include <Energy.h>// main program starts here://  this example demonstrates the use of a compute method//int main(int argc, const char** argv) {  // declare an Energy object  //  Energy energy;  // declare the input and output vectors  //  VectorFloat input(L"1, 2, 1, 3, 4, 2, 3, 1");  VectorFloat output;    // set the algorithm implementation  //       energy.setAlgorithm(Energy::SUM);  energy.setImplementation(Energy::IDENTITY);    // compute the energy  //  energy.compute(output, input);  // output the input and output to the console  //  input.debug(L"input signal:");  output.debug(L"energy:");    // exit gracefully  //  Integral::exit();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?