Wave Arts VQE  1.00
Voice Quality Enhancement
Public Attributes
AecLatCal Struct Reference

AecLatCal object measures I/O latency. More...

#include <AecLatCal.h>

List of all members.

Public Attributes

AecLatCalParam param
 parameters, copied
int blockIndex
 count blocks
int numBlocks
 number of calibration blocks
float * buf
 buffer to hold calibration recording
float * sig
 cal beep signal, one block in length
int latency
 detected latency in samples = current delay in far delay buffer
int isComplete
 T/F cal has completed.

Detailed Description

AecLatCal object measures I/O latency.

AecLatCal measures the I/O latency by playing a short tone (typically 1 kHz for 20 msec duration) followed by several hundred milliseconds of silence, recording the result, and then analyzing the recording to detect the tone. The tone detection is very simplistic; peak detection after filtering with a second order bandpass filter. Much better would be a matched filter, which works well even if the recording sampling rate differs slightly. This is on the TO DO list.

Only supports monophonic input. If multiple output channels are specified, the tone is played on the left channel.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines