Closed ibov closed 2 years ago
check your soundcard
The ReSpeaker USB 4 mic array (https://respeaker.io/usb_4_mic_array/) has 4 mics but 6 channels. Set nChannels to 6 and set the mapping to use channels 2-5
mapping:
{
map: (2, 3, 4, 5);
}
nBits should be 16.
You can check the sound card informations using arecord --dump-hw-params -D hw:1,0
, assuming the card is card 1 device 0.
thanks
I got some errors when configure for ReSpeaker USB mic array. This device has 4 mics.
If I set the nBits = 32, I got the error: "Source hops: Cannot set sample format: Invalid argument".
If I set the nChannels = 4, I got the error: "Source hops: Cannot set channel count: Invalid argument".
It's still working with this default config anyway: raw: { fS = 16000; hopSize = 128; nBits = 16; nChannels = 6; ...
Is there a ref configuration for the ReSpeaker USB mic array? Quan