Question About the Result of vad_doa.py

Dear techsupport







I run the program “vad_doa.py” with the 6 Mic Circular Array Kit for

Raspberry



Pi (Pi3 Model B+). And the attached file is the log file with the result.

The VAD portion



of this seems to work but the value returned by mic.get_direction() has no

consistency,



and it seems to cause the program to hang quite often.







I also run the mic_array_dfu, and the result is in the file

“dfu_log”. It shows



“Could not find/open device”. Is there something wrong?







Can you provide your professional advice for me ? Thanks for your kindly

support.

Hi

Damon,


1. For VAD, the accuracy is 30 degree. you can test it by a record audio and play through cellphone at specific direction.

2. For

mic_array_dfu, it is used for respeaker mic array v1.0, it can not used for the 6 Mic Circular Array Kit for Raspberry.



Thanks

best rgds
Bill

Dear Techsupport







Thanks for your kindly support.



The file ‘vad_doa_log.txt’ is record without any speaking, and the VAD always print ’1’,



Is the function ‘vad.is_speech’ work normally?

Hi Damon,


For the DOA, please use this example to read the DOA.

http://wiki.seeedstudio.com/ReSpeaker_6-Mic_Circular_Array_kit_for_Raspberry_Pi/#librespeaker-aduio-process

For DOA without keyword example, I tested it and it will stuck after running a while. But VAD is 0 when there is no noise and 1 when there is noise. I remove from wiki and check with software team.


---------------------------------------------------------------------
(0, ‘bcm2835 ALSA: - (hw:0,0)’, 0L, 2L)
(1, ‘bcm2835 ALSA: IEC958/HDMI (hw:0,1)’, 0L, 2L)
(2, ‘seeed-8mic-voicecard: - (hw:1,0)’, 8L, 8L)
Use seeed-8mic-voicecard: - (hw:1,0)
11111110011111111111
0
11111111111111111111
100
11111111111111111111
220
11111111111111111111
257
11111111111111111111
319
11111111111000000000
240
000000000000000000000000000000000011111111111111111111111111
280
111100000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000000000000000000000000000000000000000000000011111111111111
100
11111111111111111111
257
111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111
257
111111111000000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000111111111111111
199
11111111111111111111
240
11111111111111111111

---------------------------------------------------------------------
Thanks

best rgds
Bill