#define FORMANT_SHARPENING_NOISE_THRESHOLD 21.0f /* lp_noise level above which formant sharpening is deactivated */
#define E_MIN_FX 1 /* QSCALE (Q7)*/
#define E_MIN_IVAS_FX 1835 /* (Q19) (E12) */
#define STEP_DELTA_FX 11
#define FORMANT_SHARPENING_NOISE_THRESHOLD_FX 5376 /* 21 (!8)lp_noise level above which formant sharpening is deactivated - at this level most of 20 dB SNR office noisy speech still uses sharpening */
@@ -1010,6 +1012,7 @@ typedef enum
#define BWD_COUNT_MAX 100 /* maximum value of BWD counter */
#define BWD_N_BINS_MAX 13 /* maximum number of BWD bins */
#define BWS_TRAN_PERIOD 5 /* BWS - number of frames for transition period */
#define ONE_BY_BWS_TRAN_PERIOD_Q15 6554
#define PREEMPH_FAC_FLT 0.68f /* preemphasis factor at 12.8kHz */
#define PREEMPH_FAC_16k_FLT 0.72f
@@ -1953,10 +1956,14 @@ typedef enum _DCTTYPE
#define ATT_NSEG 32 /* strong attack detection - number of time blocks */
#define TOD_NSPEC 80 /* number of spectral bins of the tonal detector */
#define TOD_NSPEC_INV_Q31 26843546 /* inverse of number of spectral bins of the tonal detector */
#define TOD_THR_MASS 0.86f /* initial value for the adaptive threshold of the tonal detector */
#define P2A_FACT 0.9f /* long-term averaging factor for peak-to-average ratio */
#define P2A_FACT_FX_Q15 29491 /* long-term averaging factor for peak-to-average ratio */
#define THR_P2A_HIGH 95.0f /* higher threshold to detect strongly peaky signals at low bitrates*/
#define THR_P2A 80.0f /* lower threshold to detect strongly peaky signals at higher bitrates */
#define THR_P2A_HIGH_FX 95 /* Q0, higher threshold to detect strongly peaky signals at low bitrates*/
#define THR_P2A_FX 80 /* Q0, lower threshold to detect strongly peaky signals at higher bitrates */