BF (Beamforming)
Supported ICs
Overview
Beamforming (BF) is a key module in AFE. When the system has two or more microphones, they can form an array to enhance speech signals using multi-channel information.
Algorithm Description
In AIVoice, BF currently supports only speech recognition mode. In this mode, BF is automatically enabled when using the following AFE resources:
2mic_30mm
2mic_50mm
2mic_70mm
3mic_50mm
To disable the BF module, switch to a 1mic resource instead.
Configurations
The complete AFE configuration file is located at ${aivoice_lib_dir}/include/aivoice_afe_config.h
. The BF-related configurations include:
afe_mic_geometry_e mic_array; // microphone array. Make sure to choose the matched resource library
afe_mode_e afe_mode; // AFE mode, for ASR or voice communication.