[Julius-cvs 696] CVS update: julius4/libjulius/include/julius

アーカイブの一覧に戻る

sumom****@users***** sumom****@users*****
2011年 5月 13日 (金) 17:38:34 JST


Index: julius4/libjulius/include/julius/jconf.h
diff -u julius4/libjulius/include/julius/jconf.h:1.11 julius4/libjulius/include/julius/jconf.h:1.12
--- julius4/libjulius/include/julius/jconf.h:1.11	Fri Apr 29 14:09:15 2011
+++ julius4/libjulius/include/julius/jconf.h	Fri May 13 17:38:33 2011
@@ -23,7 +23,7 @@
  * @author Akinobu Lee
  * @date   Fri Feb 16 13:42:28 2007
  *
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
  * 
  */
 /*
@@ -904,6 +904,12 @@
      * (-cutsilence / -nocutsilence)
      */
     int silence_cut;
+    /**
+     * Chunk size in samples, i.e. processing unit for audio input
+     * detection.  Segmentation will be done by this unit.
+     * 
+     */
+    int chunk_size;
 #ifdef GMM_VAD
     /**
      * (GMM_VAD) Backstep margin when speech trigger is detected.
Index: julius4/libjulius/include/julius/recog.h
diff -u julius4/libjulius/include/julius/recog.h:1.14 julius4/libjulius/include/julius/recog.h:1.15
--- julius4/libjulius/include/julius/recog.h:1.14	Fri Apr 29 14:09:15 2011
+++ julius4/libjulius/include/julius/recog.h	Fri May 13 17:38:33 2011
@@ -70,7 +70,7 @@
  * @author Akinobu Lee
  * @date   Fri Feb 16 13:42:28 2007
  *
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
  * 
  */
 /*
@@ -362,6 +362,7 @@
   int thres;            ///< Input Level threshold (0-32767)
   int noise_zerocross;  ///< Computed threshold of zerocross num in the cycle buffer
   int nc_max;           ///< Computed number of fragments for tail margin
+  int chunk_size;	///< audio process unit
   boolean adin_cut_on;  ///< TRUE if do input segmentation by silence
   boolean silence_cut_default; ///< Device-dependent default value of adin_cut_on()
   boolean strip_flag;   ///< TRUE if skip invalid zero samples
@@ -432,6 +433,7 @@
 
   unsigned int total_captured_len; ///< Total number of recorded samples from start until now
   unsigned int last_trigger_sample; ///< Last speech area was triggeed at this sample
+  unsigned int last_trigger_len; // Length of last speech area 
 
   char current_input_name[MAXPATHLEN]; ///< File or device name of current input
 



Julius-cvs メーリングリストの案内
アーカイブの一覧に戻る