ODAS on matrix creator not working


#1

I am a beginner on Matrix Creator. I basically followed these three website to set up my Matrix creator, Raspberry Pi Zero W and ODAS.

  1. Set up Raspberry Pi Zero W with ssh:
    https://www.losant.com/blog/getting-started-with-the-raspberry-pi-zero-w-without-a-monitor
  2. Set up Matrix creator (installing HelloWorld not working)
    https://www.youtube.com/watch?v=Wqyt8hM3sHs
  3. Set up ODAS
    https://www.hackster.io/matrix-labs/direction-of-arrival-for-matrix-voice-creator-using-odas-b7a15b

Everything seems fine, but executing ODAS with these comments didn’t yield the same result as the videos on ODAS website.

    cd ~/odas/bin
    ./matrix-odas &
    ./odaslive -vc ../config/matrix-demo/matrix_creator.cfg

Following are the output text for last two commands:

    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

Some LEDs just randomly flash 2~3 times and stop. Are there any additional debug methods that I can try? or simply raspberry pi zero is not sufficient for ODAS?


#2

I found out that raspberry pi zero is probably not powerful enough to run ODAS. It is only responsive to the sound that occurred 4~5 seconds ago.


#3

Hi @superaylean, thanks for following up! You are exactly right, the Pi Zero is likely not powerful enough to run ODAS. It is also very processing intensive on the Raspberry Pi 3B, likely around 80% CPU usage.