|
Wave Arts VQE
1.00
Voice Quality Enhancement
|
Aes (acoustic echo suppression) runtime structure. More...
#include <aes.h>
Public Attributes | |
| AesParam | param |
| parameters | |
| float | blockTime |
| block time, sec | |
| int | nearTalk |
| T = pass near, F = pass far. | |
| int | nearTalkHoldBlocks |
| number blocks to hold | |
| int | nearTalkHold |
| count of blocks since last activity | |
| float | refEnvGain |
| reference (far) envelope gain | |
| float | refEnv |
| reference envelope value, ms | |
| float | echoGain |
| current avg estimate of echo gain (gms_avg), linear | |
| float * | xin |
| x input buffer after delaying to compensate | |
| float * | xDelay |
| delay buffer for far signal for latency compensation | |
| int | xIndex |
| circular index into delay buffer, 0...latency-1 | |
| int | maxLatency |
| max latency in samples = allocated length of far delay buffer | |
| Dre * | nearDre |
| near side dynamic range estimator | |
| Dre * | farDre |
| far side dynamic range estimator | |
| Avg * | nearAvg |
| near energy avg for echo gain est | |
| Avg * | farAvg |
| far energy avg for echo gain est | |
| int | latency |
| detected latency in samples = current delay in far delay buffer | |
| int | trainNearOnEcho |
| T = train near DRE on echo, F = just detected neartalk. | |
| int | blockIndex |
| counts blocks for log messages | |
| EqState | hpfZ [2] |
| AC-coupling filter state. | |
| Eq2Coeff | hpfCoeff |
| AC-coupling filter coefficients. | |
| int | dumpMatlabData |
| T/F dump matlab data. | |
| FILE * | matFp |
| matlab data dump file, or NULL | |
Aes (acoustic echo suppression) runtime structure.
The Acoustic Echo Suppressor is a relatively simple algorithm that allows only single duplex communication, muting the microphone signal when the far side is talking, and muting the far side when the near side is talking. The AES estimates the echo gain and the dynamic range of the far and near signals, and from these estimates and the current signal levels of the far and near side, determines which sides are actively speaking, and which to pass.
1.7.5.1