[Julius-cvs 485] CVS update: julius4/libsent/src/wav2mfcc

Back to archive index

sumom****@users***** sumom****@users*****
2009年 10月 27日 (火) 14:06:25 JST


Index: julius4/libsent/src/wav2mfcc/wav2mfcc-buffer.c
diff -u julius4/libsent/src/wav2mfcc/wav2mfcc-buffer.c:1.4 julius4/libsent/src/wav2mfcc/wav2mfcc-buffer.c:1.5
--- julius4/libsent/src/wav2mfcc/wav2mfcc-buffer.c:1.4	Tue Jun 17 10:20:51 2008
+++ julius4/libsent/src/wav2mfcc/wav2mfcc-buffer.c	Tue Oct 27 14:06:25 2009
@@ -24,7 +24,7 @@
  * @author Akinobu LEE
  * @date   Thu Feb 17 17:43:35 2005
  *
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
  * 
  */
 
@@ -94,7 +94,7 @@
   if (para->acc) Accel(mfcc, frame_num, para);
 
   /* Cepstrum Mean and/or Variance Normalization */
-  if (para->cmn && ! para->cvn) CMN(mfcc, frame_num, para->mfcc_dim + (para->c0 ? 1 : 0));
+  if (para->cmn && ! para->cvn) CMN(mfcc, frame_num, para->mfcc_dim);
   else if (para->cmn || para->cvn) MVN(mfcc, frame_num, para);
 
   return(frame_num);
@@ -252,7 +252,7 @@
   float x;
   int basedim;
 
-  basedim = para->mfcc_dim + (para->c0 ? 1 : 0);
+  basedim = para->mfcc_dim; // + (para->c0 ? 1 : 0);
 
   mfcc_mean = (float *)mycalloc(para->veclen, sizeof(float));
   if (para->cvn) mfcc_sd = (float *)mycalloc(para->veclen, sizeof(float));
Index: julius4/libsent/src/wav2mfcc/wav2mfcc-pipe.c
diff -u julius4/libsent/src/wav2mfcc/wav2mfcc-pipe.c:1.4 julius4/libsent/src/wav2mfcc/wav2mfcc-pipe.c:1.5
--- julius4/libsent/src/wav2mfcc/wav2mfcc-pipe.c:1.4	Fri May 15 12:22:53 2009
+++ julius4/libsent/src/wav2mfcc/wav2mfcc-pipe.c	Tue Oct 27 14:06:25 2009
@@ -20,7 +20,7 @@
  * @author Akinobu LEE
  * @date   Thu Feb 17 18:12:30 2005
  *
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
  * 
  */
 /*
@@ -253,7 +253,7 @@
   c = (CMNWork *)mymalloc(sizeof(CMNWork));
 
   c->cweight = weight;
-  c->mfcc_dim = para->mfcc_dim + (para->c0 ? 1 : 0);
+  c->mfcc_dim = para->mfcc_dim; // + (para->c0 ? 1 : 0);
   c->veclen = para->veclen;
   c->mean = para->cmn ? TRUE : FALSE;
   c->var = para->cvn ? TRUE : FALSE;



Julius-cvs メーリングリストの案内
Back to archive index