⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example.cc

📁 这是一个从音频信号里提取特征参量的程序
💻 CC
字号:
// isip include files//#include <Algorithm.h>#include <Correlation.h>// main program starts here://  this example demonstrates the use of a compute method//int main(int argc, const char** argv) {  // declare an Correlation object  //  Correlation xcor;  // declare the input and output vectors  //  VectorFloat ref(L"1, 2, 1, 3, 4, 2, 3, 1");  VectorFloat test(L"2, 3, 2");  VectorFloat output;    // set the algorithm, implementation, normalization and order  //       xcor.setAlgorithm(Correlation::CROSS);  xcor.setImplementation(Correlation::UNFACTORED);  xcor.setComputeMode(Correlation::FRAME_INTERNAL);          xcor.setNormalization(Correlation::NONE);    // compute the cross-correlation  //  xcor.compute(output, ref, test);  // output the inputs and output to the console  //  ref.debug(L"reference signal:");  test.debug(L"test signal:");  output.debug(L"Cross-correlation:");    // exit gracefully  //  Integral::exit();}

⌨️ 快捷键说明

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