matrix-io / matrix-creator-hal

Hardware Abstraction Layer for MATRIX Creator & MATRIX Voice
https://matrix-io.github.io/matrix-documentation/matrix-hal/overview/
GNU General Public License v3.0
70 stars 51 forks source link

demo direction_of_arrival_demo_direct not work #68

Open zhuyiif opened 6 years ago

zhuyiif commented 6 years ago

i build matrix-creator-hal in raspberry pi, and run direction_of_arrival_demo_direct with different direction, the output

std::cout << "azimutal angle = " << azimutal_angle
              << ", polar angle = " << polar_angle << ", mic = " << mic
              << std::endl;

the mic seems not correct, even I speak in direction of mic4 , the output is still mic2

shinjihun1 commented 6 years ago

Same issue to me for Matrix Voice! Anyone help me. Thanks!

shinjihun1 commented 6 years ago

int led_offset[] = {4, 0, 2, 5, 7, 10, 13, 15}; //org(Matrix Creator) {23, 27, 32, 1, 6, 10, 14, 19} Just I have changed for Matrix Voice as above.