Matrix Creator ODAS Demo, Source Hops Error

I am using the matrix creator with a Raspberry Pi 3. I did the hackster demo and got the following:

pi@raspberrypi:~/odas/bin ./matrix-odas & [1] 18976 pi@raspberrypi:~/odas/bin ./odaslive -vc …/config/matrix-demo/matrix_creator.cfgINFO: [/dev/matrixio_regmap] was opened
Binding socket… [OK]
Listening socket… [OK]
Waiting for connection in port 9001 …
±-------------------------------------------+
| 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… Source hops: Cannot set channel count: Invalid argument
[1]+ Done ./matrix-odas

Cannot set channel count: invalid argument.
Someone please help

@cclarke,

Welcome to the community!

Can you send me the output of the following command in your terminal?

arecord -l

My guess is that your MATRIX device card and device number is different than the general 2,0 that is specified in our ODAS example and that this may be causing your “channel count invalid argument” issue.

If this is the case, you would have to change the corresponding numbers in the config on your device here to match your ALSA MATRIX card and device number.

Best,
Samreen

hi @Samreen I have the same error

pi@raspberrypi:~ $ cd ~/odas/bin
pi@raspberrypi:~/odas/bin $ ./matrix-odas &
[1] 1939
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/matrix_voice.cfg
±-------------------------------------------+
| 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… Source hops: Cannot set channel count: Invalid argument

I tried to input arecord -l and here is the output:
pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 2: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 3: MATRIXIOSOUND [MATRIXIO-SOUND], device 0: matrixio.mic.0 snd-soc-dummy-dai-0
Subdevices: 1/1
Subdevice #0: subdevice #0

Can you help me? what should I do?

I am having the same issue as @cclarke can you please guide me what I am doing wrong