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

📄 cb_opt_0.cc

📁 这是处理语音信号的程序
💻 CC
字号:
// file: circular_buffer/cb_opt_0.cc//// isip include files//#include "CircularBuffer.h"// method: operator//// arguments:////  int dim: (input) indicated dimension//  int index: (input) indicated index//// return: float_8 the value of corresponding element//// this method overloads () operator.//float_8 Circular_buffer::operator() (int dim, int index) {  // note that the index is actually an offset from idx_d  //  int idx = idx_d[dim] + index;  // check the index  //  if (idx >= size_d)    {idx -= size_d;}  else if (idx < (int)0)    {idx += size_d;}  // return the corresponding value  //  return buf_d[dim][idx];}

⌨️ 快捷键说明

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