4Mic-Array - DoA not working

info about ReSpeaker series products

Moderators: lily.li, violet, seth.welday

Post Reply
alchemist
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Sun Dec 16, 2018 5:47 pm

4Mic-Array - DoA not working

Post by alchemist » Sun Dec 16, 2018 6:09 pm

Hi there,
I installed the 4Mic-Array by following your instructions on http://wiki.seeedstudio.com/ReSpeaker_4 ... pberry_Pi/
I want to install DoA without a keyword, so I skipped that step and went on with "DoA without Keywords". After I installed "mic_array.git" and wanna run "python vad_doa.py" it says "ImportError: No module named webrtcvad". It took me some time to find out that I have to install "sudo pip install webrtcvad" which you you never mentioned anywhere, so I had to figure it out by myself --> please change that!!
Now I tried to run "python vad_doa.py" again and now it says "ImportError: No module named usb.core"! I can't find it and "sudo pip install usb.core" is also not working.

So I have 2 questions:
1.) how to get "usb.core"?
2.) why are your instructions missing so many information?? (one problem is following the other, in almost every step! nothing works at first try!)

Thanks in advance,
Chris

alchemist
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Sun Dec 16, 2018 5:47 pm

Re: 4Mic-Array - DoA not working

Post by alchemist » Thu Jan 17, 2019 1:44 am

I am very disappointed that seed studio doesn't give a shi* about their customers and don't even bother to give any reply at all !!!
Not only to my request, but almost all requests in the past weeks/months!

Shame on you seed studio!

User avatar
violet
Staff
Staff
Posts: 92
Joined: Thu Nov 15, 2012 11:49 am

Re: 4Mic-Array - DoA not working

Post by violet » Thu Jan 17, 2019 4:30 pm

Dear Chris,
I am super sorry for all the disappointments and inconveniences brought to you. I am deeply sorry and ashamed that you had such a bad experience with us because of the slack communication from our side. We'd like to extend our sincere apologies!
We've expected the forum to be an interface for us to communicate with you, with our customers and the whole community, a place that you feel comfortable to communicate and get support and services whenever you need it. However, we did not manage to do it well, no matter in the efficiency or the contents of the replies. There are no excuses for the mistakes and we will need to learn from this and improve our services!
I really appreciate it when you come to talk to us. And I am sorry that the past interactions did not bring you good impressions. We will try our best to make it better and provide better services to our customers and community from all channels no matter on the forum or via emails. I know the current answer is not a satisfactory one, but I hope it conveys our sincerity to you. Sorry again. <3
Hope to be able to see you come back when you feel comfortable to give it another try.

Enjoy a happy day!

Sincerely Yours,
Violet Su
Community Manager
Years may wrinkle the skin, but to give up enthusiasm wrinkles the soul.---Youth

alchemist
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Sun Dec 16, 2018 5:47 pm

Re: 4Mic-Array - DoA not working

Post by alchemist » Thu Jan 24, 2019 6:17 am

Still not working.
Still ain't got an answer why.
Still unsatisfied.

bill.yu
Junior-6
Junior-6
Posts: 653
Joined: Mon Apr 02, 2018 11:05 am

Re: 4Mic-Array - DoA not working

Post by bill.yu » Thu Jan 24, 2019 12:54 pm

Hi Chris,

please follow below instructions. I will update the wiki tomorrow. thanks.

sudo pip install webrtcvad
sudo apt-get install portaudio19-dev
sudo apt-get install python-numpy
sudo pip install pyaudio
sudo pip install pyusb

cd ~
git clone https://github.com/respeaker/mic_array.git
cd mic_array
python vad_doa.py

alchemist
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Sun Dec 16, 2018 5:47 pm

Re: 4Mic-Array - DoA not working

Post by alchemist » Thu Jan 31, 2019 6:06 am

Thanks bill.yu for the late answer,

I updated my system with the following commands:

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get upgrade

After that, I followed your instructions as you described it, with the following results:

Code: Select all

sudo pip install webrtcvad
sudo: pip: command not found (I double-checked the input; it was correct, but the result was the same)

Code: Select all

sudo apt-get install portaudio19-dev
portaudio19-dev was installed

Code: Select all

sudo apt-get install python-numpy
python-numpy was installed

Code: Select all

sudo pip install pyaudio
sudo: pip: command not found (I double-checked the input; it was correct, but the result was the same)

Code: Select all

sudo pip install pyusb
sudo: pip: command not found (I double-checked the input; it was correct, but the result was the same)


Please explain why your commands are not existing.


Nice regards,
Chris

bill.yu
Junior-6
Junior-6
Posts: 653
Joined: Mon Apr 02, 2018 11:05 am

Re: 4Mic-Array - DoA not working

Post by bill.yu » Fri Feb 01, 2019 5:58 pm

Hi Chris,

because you do not install the pip. please follow below commands to install the pip. please let us know if any issue. thanks.

sudo apt-get install python-pip
sudo pip install webrtcvad
sudo pip install pyaudiostall
sudo pip install pyusb

bill.yu
Junior-6
Junior-6
Posts: 653
Joined: Mon Apr 02, 2018 11:05 am

Re: 4Mic-Array - DoA not working

Post by bill.yu » Fri Mar 15, 2019 6:01 pm

Hi there,

here is my test result, i play music through cellphone and put it at specific location. thanks.

(0, 'bcm2835 ALSA: - (hw:0,0)', 0L, 2L)
(1, 'bcm2835 ALSA: IEC958/HDMI (hw:0,1)', 0L, 2L)
(2, 'seeed-4mic-voicecard: - (hw:1,0)', 4L, 0L)
Use seeed-4mic-voicecard: - (hw:1,0)
11111111111111111111
151
00000111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111100000111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111100
151
0000000000011111111111111111111111000000
151
011111110000000000000000000000000000000000000000111111111111
151
111100000000000000000000000000000000000000000001111111111111
151
11111111111111111111
151
11110111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
1000000111111100000011111111111111000000
151
0000000000000000000000111111100000011111
151
1100000000000000000000001111111111111111
151
11111110000001111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111
151
11111111111111111111

jtt083
Pre-kindergarten
Pre-kindergarten
Posts: 3
Joined: Mon Mar 11, 2019 9:31 am

Re: 4Mic-Array - DoA not working

Post by jtt083 » Thu Mar 28, 2019 9:44 am

Which LED Is the direction 0 base on 4-Mic array

bill.yu
Junior-6
Junior-6
Posts: 653
Joined: Mon Apr 02, 2018 11:05 am

Re: 4Mic-Array - DoA not working

Post by bill.yu » Thu Mar 28, 2019 11:39 am

Here is the DOA degree 0. thanks.

Image

Post Reply