introlab / odas

ODAS: Open embeddeD Audition System
MIT License
780 stars 248 forks source link

Odas on matrix creator #146

Closed superraylin closed 5 years ago

superraylin commented 5 years ago

I tried to run the ODAS demo on this website: https://www.hackster.io/matrix-labs/direction-of-arrival-for-matrix-voice-creator-using-odas-b7a15b

Everything seems fine in terms of compiling and running code, but the matrix creator is not responsive to sound and the whole system will halt after 5~10 seconds after run the code. (I believe the ODAS demo is terminated)

Are there any debug method I can do?

Following are the snippet output from my raspberry pi zero W:

    pi@raspberrypi:~/odas/bin $ ./matrix-odas &
    [1] 908
    pi@raspberrypi:~/odas/bin $ INFO: [/dev/matrixio_regmap] was opened
    Binding socket........... [OK]
    Listening socket......... [OK]
    Waiting for connection in port 9001 ... ./odaslive -vc ../config/matrix-demo/matcfg_creator.c
    +--------------------------------------------+
    |    ODAS (Open embeddeD Audition System)    |
    +--------------------------------------------+
    | Author:  Francois Grondin                  |
    | Email:   francois.grondin2@usherbrooke.ca  |
    | Website: introlab.3it.usherbrooke.ca       |
    | Version: 1.0                               |
    +--------------------------------------------+
    | + Initializing configurations...... [Done] |
    | + Initializing objects............. [Done] |
    | + Launch threads................... [OK]
    Receiving data...........

    [Done] |
    | + Threads running.................. [Done] |
    | + Free memory...................... [Done] |
    +--------------------------------------------+
    [1]+  Done                    ./matrix-odas
superraylin commented 5 years ago

Since I am using raspberry pi zero W with Matrix creator. I suspect that pi zero is not powerful enough. I found out that LED is responsive to the sound happened few seconds ago, instead of instantaneous response like what the demo show.