// file: $SPEECH_HOMEWORK4/hw4/util/calculate_snr/v1.0/calculate_snr_constants.h // // make sure the definitions are made only once // #ifndef __ISIP_CALCULATE_SNR_CONSTANTS #define __ISIP_CALCULATE_SNR_CONSTANTS // isip include files // #ifndef __ISIP_INTEGRAL_CONSTANTS #include #endif #ifndef __ISIP_SIGNAL_CONSTANTS #include #endif // define the help file // #define CSNR_HELP_FILE (char_1*)"$SPEECH_HOMEWORK4/util/calculate_snr/v1.0/calculate_snr.help" // define command line identifiers // #define CSNR_PARAM_OPT (char_1*)"-param" #define CSNR_INPUT_OPT (char_1*)"-input" #define CSNR_OUTPUT_OPT (char_1*)"-output" #define CSNR_DEBUG_OPT (char_1*)"-debug" #define CSNR_HELP_OPT (char_1*)"-help" #define CSNR_NUM_CHAN_OPT (char_1*)"-c" #define CSNR_FRAME_OPT (char_1*)"-f" #define CSNR_WINDOW_OPT (char_1*)"-w" #define CSNR_STHRESHOLD_OPT (char_1*)"-s" #define CSNR_NTHRESHOLD_OPT (char_1*)"-n" #define CSNR_FREQ_OPT (char_1*)"-sf" // define bytes per sample // #define CSNR_BYTES_PER_SAMPLE (int_4)2 // define number of msec in a sec // #define CSNR_NUMBER_MSEC_PER_SEC (int_4)1000 // end of file // #endif