4Mic-Array - DoA not working
Moderators: lily.li, violet, salmanfarisvp, seth.welday
4Mic-Array - DoA not working
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
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
Re: 4Mic-Array - DoA not working
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!
Not only to my request, but almost all requests in the past weeks/months!
Shame on you seed studio!
Re: 4Mic-Array - DoA not working
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
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
Re: 4Mic-Array - DoA not working
Still not working.
Still ain't got an answer why.
Still unsatisfied.
Still ain't got an answer why.
Still unsatisfied.
Re: 4Mic-Array - DoA not working
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
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
Re: 4Mic-Array - DoA not working
Thanks bill.yu for the late answer,
I updated my system with the following commands:
After that, I followed your instructions as you described it, with the following results:
sudo: pip: command not found (I double-checked the input; it was correct, but the result was the same)
portaudio19-dev was installed
python-numpy was installed
sudo: pip: command not found (I double-checked the input; it was correct, but the result was the same)
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
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
Code: Select all
sudo apt-get install portaudio19-dev
Code: Select all
sudo apt-get install python-numpy
Code: Select all
sudo pip install pyaudio
Code: Select all
sudo pip install pyusb
Please explain why your commands are not existing.
Nice regards,
Chris
Re: 4Mic-Array - DoA not working
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
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
Re: 4Mic-Array - DoA not working
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
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
Re: 4Mic-Array - DoA not working
Which LED Is the direction 0 base on 4-Mic array
Re: 4Mic-Array - DoA not working
Here is the DOA degree 0. thanks.

