mic_array icon indicating copy to clipboard operation
mic_array copied to clipboard

Reference angle in DOA algorithm

Open xaviliz opened this issue 7 years ago • 4 comments

Hi mate,

I am testing DOA algorithm with Respeaker Core v2 with test_8mic(), can you tell me which would be the reference angle (0 degrees)? Thanks in advance,

XL

xaviliz avatar Jan 08 '19 09:01 xaviliz

For the respeaker core v2, you can use https://github.com/voice-engine/voice-engine/blob/master/examples/kws_doa_alexa_respeaker_v2.py

The test_8mic() is for respeaker usb 6+1 mic array.

xiongyihui avatar Jan 09 '19 01:01 xiongyihui

Hi @xiongyihui,

alright, I was testing that script but I have not installed Alexa and some errors appeared. I will revise it again later. But can you tell me where the reference of DOA algorithm is located? Between MIC1-MIC2, MIC1 or MIC5?

Thanks for your time, XL

xaviliz avatar Jan 09 '19 08:01 xaviliz

MIC2 is the reference angle. The green LED (default pattern) indicates the direction.

It seems the DOA is not accurate, will check it.

xiongyihui avatar Jan 09 '19 09:01 xiongyihui

ok, thanks for your prompt response. Yes, I am agreed DOA is randomly detecting angles. I have realized it is detecting the angle of a source and suddenly it provides its complementary angle. I suspect that's because sound is passing through the array and it is detecting when it arrives to the other side, could it be possible? another think that I have detected is that Respeaker GCC implementation is using only some pair of microphones not all possible pairs (MIC1-MIC2, MIC1-MIC3, MIC1-MIC4, etc...).

xaviliz avatar Jan 09 '19 09:01 xaviliz