Hi there,
I installed the 4Mic-Array by following your instructions on <LINK_TEXT text=“http://wiki.seeedstudio.com/ReSpeaker_4 … pberry_Pi/”>http://wiki.seeedstudio.com/ReSpeaker_4_Mic_Array_for_Raspberry_Pi/</LINK_TEXT>
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 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!
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
Still not working.
Still ain’t got an answer why.
Still unsatisfied.
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
Thanks bill.yu for the late answer,
I updated my system with the following commands:
</s>sudo apt-get update<e>
</s>sudo apt-get upgrade<e>
After that, I followed your instructions as you described it, with the following results:
[code]
sudo pip install webrtcvad
[/code]
[code]
sudo apt-get install portaudio19-dev
[/code]
[code]
sudo apt-get install python-numpy
[/code]
[code]
sudo pip install pyaudio
[/code]
[code]
sudo pip install pyusb
[/code]
Nice regards,
Chris
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
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
Which LED Is the direction 0 base on 4-Mic array
Here is the DOA degree 0. thanks.
Hi,
if someone else still gets the same problem, i’d recommend to replace pip with pip3. Then follow the instuctions @bill.yu gave.
I cannot get tuning.py to work on a Mac. Some library is out of sync with the code. I can get it to start, see the device and start to communicate, but they it errors out. It appears it was written for an older version of pyusb or libusb. I tried to get it to work with python 2.7, but that is a lost cause as the community has discarded that old version so I cannot get a version of pyusb or even pip to work there anymore.
I did get libusb, pyusb, installed and working, but the tuning.py just doesn’t let me read or set any values. The default gain is horrible so I was trying to lower it so I could use it, but after poking at if several times I have failed.
Can anyone tell me how to get this basic functionality working.