Chao Xing 2016-06-27

来自cslt Wiki
跳转至: 导航搜索

Last Week :


1. Read HTS source code.

typedef struct _HTS_Vocoder {

  HTS_Boolean is_first;
  size_t stage;                /* Gamma=-1/stage: if stage=0 then Gamma=0 */
  double gamma;                /* Gamma */
  HTS_Boolean use_log_gain;    /* log gain flag (for LSP) */
  size_t fprd;                 /* frame shift */
  unsigned long next;          /* temporary variable for random generator */
  HTS_Boolean gauss;           /* flag to use Gaussian noise */
  double rate;                 /* sampling rate */
  double pitch_of_curr_point;  /* used in excitation generation */
  double pitch_counter;        /* used in excitation generation */
  double pitch_inc_per_point;  /* used in excitation generation */
  double *excite_ring_buff;    /* used in excitation generation */
  size_t excite_buff_size;     /* used in excitation generation */
  size_t excite_buff_index;    /* used in excitation generation */
  unsigned char sw;            /* switch used in random generator */
  int x;                       /* excitation signal */
  double *freqt_buff;          /* used in freqt */
  size_t freqt_size;           /* buffer size for freqt */
  double *spectrum2en_buff;    /* used in spectrum2en */
  size_t spectrum2en_size;     /* buffer size for spectrum2en */
  double r1, r2, s;            /* used in random generator */
  double *postfilter_buff;     /* used in postfiltering */
  size_t postfilter_size;      /* buffer size for postfiltering */
  double *c, *cc, *cinc, *d1;  /* used in the MLSA/MGLSA filter */
  double *lsp2lpc_buff;        /* used in lsp2lpc */
  size_t lsp2lpc_size;         /* buffer size of lsp2lpc */
  double *gc2gc_buff;          /* used in gc2gc */
  size_t gc2gc_size;           /* buffer size for gc2gc */

} HTS_Vocoder;

typedef struct _HTS_Model {

  size_t vector_length;        /* vector length (static features only) */
  size_t num_windows;          /* # of windows for delta */
  HTS_Boolean is_msd;          /* flag for MSD */
  size_t ntree;                /* # of trees */
  size_t *npdf;                /* # of PDFs at each tree */
  float ***pdf;                /* PDFs */
  HTS_Tree *tree;              /* pointer to the list of trees */
  HTS_Question *question;      /* pointer to the list of questions */

} HTS_Model;

2. Do some other things.

This Week :


1. Coding & Testing done DNN transform.