inst_frame_2.cc
来自「这是处理语音信号的程序」· CC 代码 · 共 38 行
CC
38 行
// file: inst_frame_2.cc//// isip include files//#include "instance.h"#include "instance_constants.h"// method: active_cc//// arguments:// int_4 frame: (input) the current frame index// int_4 diff: (input) the activation threshold//// return: a logical_1 indicating status//// this method compares the input frame with the active frame index// and determines how long since this instance has been active, and// returns true or false depending on whether that is less or more// than the allowed limit//logical_1 Instance::active_cc(int_4 frame_a, int_4 diff_a) { // output flag // logical_1 flag = ISIP_TRUE; // compare the frame index and set flag // if (frame_a - frame_d > diff_a) { flag = ISIP_FALSE; } // exit gracefully // return flag;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?