VCP回声调试参数说明
1. VCP介绍
Alango VCP可能大家知道的比较少,鉴于网站上公开资料较少,又不同于webrtc和speech,我就把我理解过的一些内容写出来了。不过,个人建议您去看webrtc!
本文参数是基于VCP工具翻译并整理。大家随意参考了。
2. AF模块
AF即自适应滤波(adaptive filter)
。以下都以AF代替。
AF模块是回声消除的主要模块,主要用来消除线性回声。
AF和ES对应,而ES就是后面要介绍的残留回声消除了。
2.1 General AF setting
2.1.1 TX_AF_BFF
AF(自适应滤波频率)下限,即小于这个频率,都不会经过AF处理。
2.1.2 TX_AF_UDF
Upper duplex (filtering) frequency
全双工滤波频率上限。高于这个设定的频率,通通都是半双工处理(不会经过AF处理)。
以下为英文说明,可以不看:
Defines Upper Duplex Frequency (UDF). In frequency bands above the UDF frequency, VCP ES operates in half-duplex mode: any echo is closed above UDF). No adaptive filtering is performed in TF is the transfer function estimated based on AF coefficients in frequencies within the frequency rage: [UDF/2, UDF].
2.1.3 TX_AF_AFUF
1st adaptive filter upper frequency
第一级 AF自适应滤波上限频率
,也就是第二级滤波频率下限了。
结合2.1和2.2,即
第一级AF频率范围:TX_AF_BFF -> TX_AF_AFUF
第二级AF频率范围:TX_AF_AFUF -> TX_AF_UDF
举例如下图:第一级为0-3000HZ
,第二级为3000-4000HZ
.
2.1.4 TX_AF_AFATHR
Minimal signal level for AF adaptation
AF自适应的最小信号强度
- Adaptation of AF is not performed if AEC Reference
full-band
signal level islower
thanthis threshold
. - Adaptation is not performed in the
sub-band
if AEC Reference sub-band signal level islower
than:AFTHR - 20*log10(sqrt(bands))
, where bands = {128 @ Fs=8 KHz | 256 @ Fs = 16 KHz}. Allows saving processing power and improve AF performance.