All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
VAD Parameter Defaults

Macros

#define VAD_INIT_FRAMES   (5)
 
#define VAD_DELAY_FRAMES   (13)
 
#define VAD_ALPHA_Q15   (31128)
 
#define VAD_FAST_COEF_Q15   (26214)
 
#define VAD_SLOW_COEF_Q15   (31129 )
 
#define VAD_MIN_SIG_Q30   (603809)
 
#define VAD_MIN_NOISE_Q30   (603809)
 
#define VAD_SNR_THRESHOLD_Q10   (1532)
 
#define VAD_SNR_LIMIT_Q10   (4077)
 
#define VAD_NOISE_RATE_Q14   (16498)
 
#define VAD_API
 

Detailed Description

Default parameter settings for the VAD API.

Macro Definition Documentation

#define VAD_INIT_FRAMES   (5)

Default initial smoothing filter stabilization duration in frames.

#define VAD_DELAY_FRAMES   (13)

Default sequential frames above noise to declare activity

#define VAD_ALPHA_Q15   (31128)

Default smoothed signal energy filter coefficient alpha (Q15). The signal energy smoothing filter is

  y(n) = ALPHA*y(n-1) + (1-ALPHA)*x(n)

0 < VAD_ALPHA < 32767. Default VAD_ALPHA is (0.95)

#define VAD_FAST_COEF_Q15   (26214)

Default RMS fast activity estimator filter coefficient (Q15).

#define VAD_SLOW_COEF_Q15   (31129 )

Default RMS slow activity estimator filter coefficient (Q15).

#define VAD_MIN_SIG_Q30   (603809)

Default signal RMS energy floor in (Q30). Signal RMS energy floor as 10^(dB/20), with a default floor value of -65 dB.

#define VAD_MIN_NOISE_Q30   (603809)

Default noise RMS energy floor (Q30). Noise RMS energy floor as 10^(dB/20), with a default floor value of -65 dB.

#define VAD_SNR_THRESHOLD_Q10   (1532)

Default threshold of signal above noise to assume a voice signal. The signal above noise threshold multiplier given by 10^(dB/20) in Q10. to assume active signal. The default threshold is equivalent to 3.5 dB.

#define VAD_SNR_LIMIT_Q10   (4077)

Default ceiling above noise to limit signal. This setting avoids long hang times. It is a multiplier set to 10^(dB/20) in Q10. The default threshold is equivalent to 12 dB.

#define VAD_NOISE_RATE_Q14   (16498)

Default noise floor maximum upward adaptation rate multiplier. The noise floor maximum upward adaptation rate multiplier is set to 10^((dB/frame)/20) in Q14. The default threshold is equivalent to an increase of 3 dB/second.

#define VAD_API
Copyright 2017, Texas Instruments Incorporated