This is a question about ReSpeaker 4-Mic Linear Array.
I just try to play wav file through 4mic linear array, but it just comes out with noise sound.
Here is what i do to play wav file.
- using paplay (wav file is 48K/2ch/S16LE, it will be resampled in pulseaudio)
pactl list sinks
Sink #2
State: SUSPENDED
Name: alsa_output.platform-soc_sound.multichannel-output
Description: Built-in Audio Multichannel
Driver: module-alsa-card.c
Sample Specification: s32le 8ch 48000Hz
pi@raspberrypi:~$ paplay 48000Hz_2CH_16Bit.wav --device=2 -v
Opening a playback stream with sample specification ‘s16le 2ch 48000Hz’ and channel map ‘front-left,front-right’.
Connection established.
Stream successfully created.
Buffer metrics: maxlength=4194304, tlength=384000, prebuf=380164, minreq=3840
Using sample spec ‘s16le 2ch 48000Hz’, channel map ‘front-left,front-right’.
Connected to device alsa_output.platform-soc_sound.multichannel-output (index: 2, suspended: no).
Stream started.
- aplay using ac101.
a.wav is 8ch , 16K, S32LE and all channels contain same pcm data. It is played well on my desktop through Audacity. But noise comes out on respeaker.
pi@raspberrypi:~$ file a.wav
a.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, 8 channels 16000 Hz
pi@raspberrypi:~$ aplay -D ac101 a.wav
Playing WAVE ‘a.wav’ : Signed 32 bit Little Endian, Rate 16000 Hz, Channels 8
Please let me know how to play wav sound file properly through linear 4mic playback.
Or, please attach sample wav file that can be played well on the board
Thank you.