// file: $ECE_8993/util/calculate_lpc/v1.0/calculate_lpc_constants.h // // Make sure this file is only included once // #ifndef __ISIP_CALCULATE_LPC_CONSTANTS #define __ISIP_CALCULATE_LPC_CONSTANTS // isip include files // #ifndef __ISIP_INTEGRAL_CONSTANTS #include #endif #ifndef __ISIP_SIGNAL_CONSTANTS #include #endif // define the help file // #define CLPC_HELP_FILE "$ECE_8993/util/calculate_lpc/v1.0/calculate_lpc.help" // define the command-line parameter flags // #define CLPC_OPT_HELP (char_1*)"-help" #define CLPC_OPT_FILE_IN (char_1*)"-input" #define CLPC_OPT_DEBUG_MODE (char_1*)"-debug" #define CLPC_OPT_USE_HAMMING (char_1*)"-use_hamming" #define CLPC_OPT_USE_PRE_EMPH (char_1*)"-use_pre_emph" #define CLPC_OPT_PRE_EMPH_COEFF (char_1*)"-pre_emph_coeff" #define CLPC_OPT_WINDOW_DUR (char_1*)"-window_dur" #define CLPC_OPT_MID_TIME (char_1*)"-mid_time" #define CLPC_OPT_SF (char_1*)"-sf" #define CLPC_OPT_SWAP (char_1*)"-swap_bytes" #define CLPC_OPT_LP_ORDER (char_1*)"-lp_order" // define the default parameter values // #define CLPC_DEF_USE_HAMMING ISIP_FALSE #define CLPC_DEF_PRE_EMPH ISIP_FALSE #define CLPC_DEF_PRE_EMPH_COEFF (float_4)0.95 #define CLPC_DEF_WINDOW_DUR (float_4)0.03 #define CLPC_DEF_SF (float_4)8000.0 #define CLPC_DEF_SWAP (logical_1)ISIP_FALSE #define CLPC_DEF_LP_ORDER (int_4)10 #define CLPC_DEF_MID_TIME (float_4)0.0 // define the number of bytes per sample per channel in the file // #define CLPC_NUM_BYTES (int_4)2 // define the coefficient for the hamming window // #define CLPC_HAMMING_COEFF (float_4)0.54 // end of file // #endif