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

📄 ft_set_2.cc

📁 这是处理语音信号的程序
💻 CC
字号:
// file: $PDSP/class/fourier_transform/v3.0/ft_set_2.cc//// isip include files//#include "fourier_transform.h"#include "fourier_transform_constants.h"// method: set_cc (overloaded)//// arguments://  int_4 order_a: (input) order of the transform//  int_4 name_a: (input) corresponds to name of the algorithm to be tested//  int_4 type_a: (input) type of data ( real/complex )//// return: a logical_1 value indicating status//// this method sets the parameters which are provided by the used// from the command line//logical_1 Fourier_transform::set_cc(int_4 order_a,					     int_4 name_a,					     int_4 type_a) {  // set the parameters  //  N_d = order_a;  data_type_d = type_a;    // check the algorithm  //  if ((name_a == FT_DF) ||      (name_a == FT_RAD2) || (name_a == FT_RAD4) || (name_a == FT_SR) ||      (name_a == FT_FH) || (name_a == FT_QF) || (name_a == FT_DITF) ||      (name_a == FT_PFA)) {    // set the algorithm number    //    algorithm_d = name_a;  }  // else: unknown  //  else {    error_handler_cc((char_1*)"set_cc",		     (char_1*)"invalid algorithm selection");  }  // exit gracefully   //  return ISIP_TRUE;}

⌨️ 快捷键说明

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