ReSpeaker 4-Mic Linear Array Kit Channel Position Problem.

info about ReSpeaker series products

Moderators: violet, seth.welday

Post Reply
jsyoo
Pre-kindergarten
Pre-kindergarten
Posts: 6
Joined: Tue Aug 14, 2018 9:30 am

ReSpeaker 4-Mic Linear Array Kit Channel Position Problem.

Post by jsyoo » Wed Sep 05, 2018 5:15 pm

Hi,

I am using raspberry pi3 b & b+ and 2018-04-18-raspbian-stretch.
I bought ReSpeaker 4-Mic Linear Array Kit for Raspberry Pi.

#Doing capture && playback the same time
arecord -D hw:1,0 -f S32_LE -r 16000 -c 8 to_be_record.wav &
#mono_to_play.wav is a mono channel wave file to play
aplay -D plughw:1,0 -r 16000 mono_to_play.wav

The position of each channel changes(to_be_record.wav).
I think it appears every time an overrun occurs.

I need your help.

thanks.

seeed techsupport team
Staff
Staff
Posts: 31
Joined: Mon Mar 19, 2018 11:40 am

Re: ReSpeaker 4-Mic Linear Array Kit Channel Position Problem.

Post by seeed techsupport team » Fri Sep 07, 2018 10:17 am

Hi there,

We see this issue/bug before. thanks.

**Note: Limit for developer using 6-Mics Circular Array Kit(or 4-Mics Linear Array Kit) doing capture & playback the same time:

capture must be start first, or else the capture channels will possibly be disorder.
playback output channels must fill with 8 same channels data or 4 same stereo channels data, or else the speaker or headphone will output nothing possibly.**

best rgds
Bill

jsyoo
Pre-kindergarten
Pre-kindergarten
Posts: 6
Joined: Tue Aug 14, 2018 9:30 am

Re: ReSpeaker 4-Mic Linear Array Kit Channel Position Problem.

Post by jsyoo » Fri Sep 07, 2018 4:22 pm

Hi, Bill

3. If you want to play and record at the same time, the aplay music file must be mono, or you can not use this command to play.

I obviously started the capture first, and played the mono file...

thanks.

seeed techsupport team
Staff
Staff
Posts: 31
Joined: Mon Mar 19, 2018 11:40 am

Re: ReSpeaker 4-Mic Linear Array Kit Channel Position Problem.

Post by seeed techsupport team » Tue Sep 11, 2018 10:01 am

Hi there,

I checked with software engineer, we suspect the SD card speed related issue. it shall run on class10 or higher speed sd card. What is your sd card speed? thanks.

best rgds
Bill

jsyoo
Pre-kindergarten
Pre-kindergarten
Posts: 6
Joined: Tue Aug 14, 2018 9:30 am

Re: ReSpeaker 4-Mic Linear Array Kit Channel Position Problem.

Post by jsyoo » Tue Sep 11, 2018 11:34 am

Hi Bill

I am using a class 10 speed of 48MB/s.
(https://www.ebay.com/itm/SanDisk-Ultra- ... SwvApaJQM0)

Do you have a sd card to recommend?

thanks.

bill.yu
Elementary-2
Elementary-2
Posts: 296
Joined: Mon Apr 02, 2018 11:05 am

Re: ReSpeaker 4-Mic Linear Array Kit Channel Position Problem.

Post by bill.yu » Wed Sep 12, 2018 3:06 pm

Hi there,

The SD shall be OK. do you mind providing the screen logs includes all commands and outputs? we can simulate it. thanks.

best rgds
Bill

jsyoo
Pre-kindergarten
Pre-kindergarten
Posts: 6
Joined: Tue Aug 14, 2018 9:30 am

Re: ReSpeaker 4-Mic Linear Array Kit Channel Position Problem.

Post by jsyoo » Fri Sep 14, 2018 11:27 am

Hi Bill

Is this what you want?

I just proceeded as follows.
#Doing capture && playback the same time
arecord -D hw:1,0 -f S32_LE -r 16000 -c 8 to_be_record.wav &
#mono_to_play.wav is a mono channel wave file to play
aplay -D plughw:1,0 -r 16000 mono_to_play.wav

thanks,
Attachments
command.png
command.png (78.72 KiB) Viewed 516 times

jsyoo
Pre-kindergarten
Pre-kindergarten
Posts: 6
Joined: Tue Aug 14, 2018 9:30 am

Re: ReSpeaker 4-Mic Linear Array Kit Channel Position Problem.

Post by jsyoo » Tue Sep 18, 2018 5:07 pm

Hi, Bill

I have additional questions.

Should I use the s32_le format?
could I use s16_le format?

thanks,

bill.yu
Elementary-2
Elementary-2
Posts: 296
Joined: Mon Apr 02, 2018 11:05 am

Re: ReSpeaker 4-Mic Linear Array Kit Channel Position Problem.

Post by bill.yu » Tue Sep 18, 2018 7:54 pm

Hi there

we use s32_le in test. thanks.

Bill

jsyoo
Pre-kindergarten
Pre-kindergarten
Posts: 6
Joined: Tue Aug 14, 2018 9:30 am

Re: ReSpeaker 4-Mic Linear Array Kit Channel Position Problem.

Post by jsyoo » Wed Sep 19, 2018 9:58 am

Hi

Is there a special reason to use it?

thanks

Post Reply