sumom****@users*****
sumom****@users*****
2012年 10月 10日 (水) 11:47:10 JST
Index: julius4/libjulius/include/julius/jconf.h diff -u julius4/libjulius/include/julius/jconf.h:1.14 julius4/libjulius/include/julius/jconf.h:1.15 --- julius4/libjulius/include/julius/jconf.h:1.14 Sun Aug 5 10:26:54 2012 +++ julius4/libjulius/include/julius/jconf.h Wed Oct 10 11:47:10 2012 @@ -23,7 +23,7 @@ * @author Akinobu Lee * @date Fri Feb 16 13:42:28 2007 * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * */ /* @@ -955,6 +955,11 @@ */ boolean use_zmean; + /** + * Input level scaling factor (-lvscale) + */ + float level_coef; + } preprocess; /** Index: julius4/libjulius/include/julius/jfunc.h diff -u julius4/libjulius/include/julius/jfunc.h:1.10 julius4/libjulius/include/julius/jfunc.h:1.11 --- julius4/libjulius/include/julius/jfunc.h:1.10 Fri Jul 27 17:44:49 2012 +++ julius4/libjulius/include/julius/jfunc.h Wed Oct 10 11:47:10 2012 @@ -12,7 +12,7 @@ * @author Akinobu Lee * @date Tue Nov 6 22:41:00 2007 * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * */ /* @@ -89,6 +89,9 @@ void vtln_alpha(Recog *recog, RecogProcess *r); #endif +void j_adin_change_input_scaling_factor(Recog *recog, float factor); + + /* instance.c */ MFCCCalc *j_mfcccalc_new(JCONF_AM *amconf); void j_mfcccalc_free(MFCCCalc *mfcc); Index: julius4/libjulius/include/julius/recog.h diff -u julius4/libjulius/include/julius/recog.h:1.16 julius4/libjulius/include/julius/recog.h:1.17 --- julius4/libjulius/include/julius/recog.h:1.16 Fri Jul 27 17:44:49 2012 +++ julius4/libjulius/include/julius/recog.h Wed Oct 10 11:47:10 2012 @@ -70,7 +70,7 @@ * @author Akinobu Lee * @date Fri Feb 16 13:42:28 2007 * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * */ /* @@ -368,6 +368,7 @@ boolean strip_flag; ///< TRUE if skip invalid zero samples boolean enable_thread; ///< TRUE if input device needs threading boolean need_zmean; ///< TRUE if perform zmeansource + float level_coef; ///< Input level scaling factor /* work area */ int c_length; ///< Computed length of cycle buffer for zero-cross, actually equals to head margin length