introlab / odas_web

A desktop visualization GUI for the ODAS library
MIT License
137 stars 53 forks source link

Haven‘t odascore and odas.cfg #43

Open AlenYing opened 4 years ago

AlenYing commented 4 years ago

I did sudo apt-get install libfftw3-dev libconfig-dev libasound2-dev libgconf-2-4 sudo apt-get install cmake git clone https://github.com/introlab/odas.git mkdir odas/build cd odas/build cmake .. make

But I haven't found odascore and odas.cfg in the /odas/bin. There just two files, odaslive and odasserver.

AlenYing commented 4 years ago

I just did what the previous issue did. The error is: Sink pots: Invalid interface and/or format.

AlenYing commented 4 years ago

I read some issues. My arecord -l shows: card 1: ArrayUAC10 [ReSpeaker 4 Mic Array (UAC1.0)], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 I change the nBits = 32. But it still shows Source hops: Cannot set sample format: Invalid argument

AlenYing commented 4 years ago

This is my respeaker_4_mic_array.cfg 新建文本文档 (2).txt My local ip is 10.0.2.15. I am using Respeaker Mic Array v2.0

GodCed commented 4 years ago

I did sudo apt-get install libfftw3-dev libconfig-dev libasound2-dev libgconf-2-4 sudo apt-get install cmake git clone https://github.com/introlab/odas.git mkdir odas/build cd odas/build cmake .. make

But I haven't found odascore and odas.cfg in the /odas/bin. There just two files, odaslive and odasserver.

You need to use odaslive.

GodCed commented 4 years ago

I just did what the previous issue did. The error is: Sink pots: Invalid interface and/or format.

That means that the sink part of your potential sources interface is wrong. Please configure according to ODAS Studio documentation.

GodCed commented 4 years ago

I read some issues. My arecord -l shows: card 1: ArrayUAC10 [ReSpeaker 4 Mic Array (UAC1.0)], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 I change the nBits = 32. But it still shows Source hops: Cannot set sample format: Invalid argument

This means the specified raw format is not supported by your soundcard. Please seek ODAS repository for help. I think a sample configuration file for this sound card is provided.

AlenYing commented 4 years ago

Where to configure IP as I want to run this studio in local. I mean whether sst, ssl or sss, blackhole or socket?

GodCed commented 4 years ago

As stated in the Configure ODAS section of ODAS Studio Documentation, you need to set the IP in each subsection of your config file: SSP, SST, SSL and SSS.

The sink type should be socket and the format JSON.

AlenYing commented 4 years ago

new client connection from ::ffff:127.0.0.1:43356 new client connection from ::ffff:127.0.0.1:34180 new client connection from ::ffff:127.0.0.1:56838 new client connection from ::ffff:127.0.0.1:52042 connection from ::ffff:127.0.0.1:34180 closed connection from ::ffff:127.0.0.1:43356 closed connection from ::ffff:127.0.0.1:52042 closed connection from ::ffff:127.0.0.1:56838 closed I tried both 127.0.0.1 and my local ip 10.0.2.15. But it always showed that, the connection closed immdiately. If I don't use this application. How can I get the speaker's location by programming?

GodCed commented 4 years ago

You can run /path/to/odascore/odaslive -c /path/to/your/config/config.cfg in another terminal to get the output from ODAS and retrieve the error that causes it to close unexpectedly.

There are many way to use ODAS as a standalone software. I invite you to refer to the ODAS repo.

7IIIIIIIE commented 2 years ago

Did you find odascore and ODAS.cfg?I‘m didn't find it either,plz reply quickly,thx

kehinde-elelu commented 2 years ago

@7IIIIIIIE are you later able to solve it, I am currently getting "cannot open audio device hw:1,0