Voice Clarity Causality Test

Test description

For Voice Clarity echo control to operate properly, the system needs to be causal. In other words, after timestamp alignment, each microphone signal must have positive delay with respect to each speaker loopback signal. This test is to verify the causality of the system, i.e., that the QPC (Query Performance Counter) timestamps and buffers are consistent with the speaker signals being produced before the corresponding measurement at the microphones.

Warning

This test requirement must be satisfied for all speaker-microphone pairs.

Test details

   
Specifications
  • Device.Audio.APO.VoiceClarity.Supported
  • System.Fundamentals.SystemAudio.VoiceClarity.Supported
Platforms
  • Windows 11, client editions (x64)
  • Windows 11, client editions (Arm64)
Supported Releases
  • Windows 11, version 22631
  • Next update to Windows 11
Expected run time (in minutes) 1
Category Development
Timeout (in minutes) 5
Requires reboot false
Requires special configuration false
Type automatic

Test steps

  1. Generate a stimulus containing a logarithmic sine sweep in one loudspeaker channel and silence in the remaining channels.
  2. Render (default mode) the stimulus with a fixed speaker gain and record (raw mode) with a fixed microphone gain.
  3. Align the speaker and the microphone signals using the QPC timestamps.
  4. Calculate the delay of each microphone signal with respect to the speaker signal in the loopback channel. The delay is computed via cross-correlation.
  5. Repeat steps above for each loudspeaker channel.

Pass/Fail criteria

Each microphone signal must have positive delay with respect to each speaker loopback signal.

Troubleshooting

  • Verify that capture and render processing do not introduce excessive latency.
  • Verify that capture and render timestamps are accurate and share a common time base.

If your failure mode is not included on this list, search the error code in MSDN.

For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures and Troubleshooting System Fundamentals Testing.

More Information

Parameters

Parameter Name Parameter Description

Additional Documentation

Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s): - Device.Audio additional documentation and System.Fundamentals additional documentation.