Cannot set sample format: Invalid argument
InnovationCET opened this issue · 4 comments
InnovationCET commented
after successfully installed ODAS on ubuntu 20.04, with freshly installed latest 6-ch firmware for ReSpeaker Mic Array V2,
with suggested modifications:
- SSL
potential: {
format = "json";
interface: {
type = "socket";
ip = "127.0.01";
port = 9001;
};
};
- SST
tracked: {
format = "json";
interface: {
type = "socket";
ip = "127.0.01";
port = 9000;
};
};
- SSS
separated: {
fS = 16000;
hopSize = 512;
nBits = 16;
interface: {
type = "socket";
ip = "127.0.01";
port = 10000;
}
};
postfiltered: {
fS = 16000;
hopSize = 512;
nBits = 16;
interface: {
type = "socket";
ip = "127.0.01";
port = 10010;
}
};
I failed to start odaslive. Launch it using the ODAS studio also not seems to work :/
odas git:(master) ✗ bin/odaslive -c config/odaslive/respeaker_usb_4_mic_array.cfg -v
+--------------------------------------------+
| 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................... [Done] |
| + Threads running.................. Source hops: Cannot set sample format: Invalid argument
on the Studio side:
new client connection from ::ffff:127.0.0.1:51658
new client connection from ::ffff:127.0.0.1:37308
new client connection from ::ffff:127.0.0.1:52374
new client connection from ::ffff:127.0.0.1:51216
connection from ::ffff:127.0.0.1:51658 closed
connection from ::ffff:127.0.0.1:52374 closed
connection from ::ffff:127.0.0.1:51216 closed
connection from ::ffff:127.0.0.1:37308 closed
InnovationCET commented
update:
I've managed to solve the issue, and of course - thanks a lot it is a great project!
it was in parsing of the configuration file. is it a conventional configuration file?
Chen-jia621 commented
Could you tell me how to solve this problem? thanks!
kehinde-elelu commented
Check your sound card type
deeprobo-dev commented
sudo aplay -l run this in terminal to know what is your card no and put it in odas.cfg file