Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haven‘t odascore and odas.cfg #43

Open
AlenYing opened this issue Jan 8, 2020 · 12 comments
Open

Haven‘t odascore and odas.cfg #43

AlenYing opened this issue Jan 8, 2020 · 12 comments
Assignees

Comments

@AlenYing
Copy link

AlenYing commented Jan 8, 2020

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
Copy link
Author

AlenYing commented Jan 8, 2020

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

@AlenYing
Copy link
Author

AlenYing commented Jan 8, 2020

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
Copy link
Author

AlenYing commented Jan 8, 2020

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
Copy link
Collaborator

GodCed commented Jan 8, 2020

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
Copy link
Collaborator

GodCed commented Jan 8, 2020

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
Copy link
Collaborator

GodCed commented Jan 8, 2020

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.

@GodCed GodCed self-assigned this Jan 8, 2020
@AlenYing
Copy link
Author

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

@GodCed
Copy link
Collaborator

GodCed commented Jan 10, 2020

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
Copy link
Author

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
Copy link
Collaborator

GodCed commented Jan 15, 2020

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
Copy link

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

@kehinde-elelu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants