For conference terminals and sound source localization, channel order, sampling rate and gain will affect subsequent algorithms. When porting a Raspberry Pi project, you should preserve the original multi-channel samples before enabling noise reduction or automatic gain.
Fixed sampling conditions
Use arecord -l to find the acquisition device and record short samples according to the format, number of channels and sampling rate actually supported by the sound card. Prefer clear device names and record hardware-supported parameters. Automatic format conversion may cause the apparent configuration to differ from the actual format on the hardware side.
Microphone-by-microphone calibration
Number the microphones according to the printing position, and read the numbers softly in sequence at the same distance, leaving a short pause in between. View multi-channel waveforms side by side and record which channel has the largest amplitude in each time period. It is normal for the array to have crosstalk. The key lies in whether the position of the main response is consistent.
Leave the mapping to the algorithm
Write the physical location, ALSA channel index, gain and board version to the configuration. When mirroring results appear after changing boards with the same set of direction estimation algorithms, first use this calibration audio to check the channel mapping, and then retrain or adjust the algorithm.
List recording hardware and available PCM names
arecord -l
arecord -L
Board documentation and references

- ArmSoM Sige7 · hardware and interface manual · Sige7 · product page
- ALSA Project Command Line Audio Tool
- Raspberry Pi hardware and system configuration
