feature.h

来自「ears-0.32, linux下有用的语音信号处理工具包」· C头文件 代码 · 共 27 行

H
27
字号
#pragma interface#ifndef Feature_h#define Feature_h#include <string>#include "fmat.h"class feature               // The utterance, stripped to its bare features{public:  feature (const class sample& s, const string& f);  //PROMISE: Builds a feature out of a sample  ~feature();    fmat& buffer() const   { return *mat_; }  int length() const     { return nframes_; }    int coeff() const      { return coeff_; }  friend ostream& operator<< (ostream& o, const feature& f);private:  const string method_;  fmat* mat_;  int nframes_, coeff_;};#endif

⌨️ 快捷键说明

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