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

Error: Cannot find path "general.mics.[0].mu.[0]" when running odaslive #303

Open
Nikhat-ux opened this issue Nov 27, 2024 · 0 comments
Open

Comments

@Nikhat-ux
Copy link

Description:
When running odaslive with a ReSpeaker 4-Mic Array, I encounter the following error:
Cannot find path "general.mics.[0].mu.[0]" in config file "/home/nikhat/odas/config/odas.cfg

Steps to Reproduce:

  1. Built ODAS using the latest master branch.
  2. Configured odas.cfg as per the ReSpeaker 4-Mic Array setup.
  3. Ran the following command: ./odaslive -c /home/nikhat/odas/config/odas.cfg

Expected Behavior:
ODAS should start without errors and process audio input.

Actual Behavior:
It fails with the above error.

Environment:

  • OS: Output of uname -a:
    Linux nikhat-Inspiron-15-3520 5.15.0-126-generic Stretching of audio files #136~20.04.1-Ubuntu SMP Thu Nov 14 16:38:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

  • Audio Card: Output of arecord -l:
    nikhat@nikhat-Inspiron-15-3520:~/odas$ arecord -l
    **** List of CAPTURE Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: CS8409/CS42L42 Analog [CS8409/CS42L42 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: ArrayUAC10 [ReSpeaker 4 Mic Array (UAC1.0)], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

  • ODAS Version:
    Commit hash: commit bcb8454 (HEAD -> master, origin/master, origin/HEAD)

  • Configuration File:
    Attached below.

general: {
samplerate: {
mu = 0.005;
};
size: {
hopSize = 512;
frameSize = 1024;
};
mics: {
positions = (
[ 0.0425, 0.0425, 0.0 ],
[ 0.0425, -0.0425, 0.0 ],
[-0.0425, -0.0425, 0.0 ],
[-0.0425, 0.0425, 0.0 ]
);

};
};

input: {
type = "alsa";
card = 1;
device = 0;
sample_rate = 16000;
channels = 6;
format = "S16_LE";
};

raw: {
fS = 16000;
hopSize = 512;
nBits = 16;
nChannels = 6;

interface: {
type = "soundcard";
card = 1;
device = 0;
};
};

mapping: {
map = (
[0, 2],
[1, 3],
[2, 4],
[3, 5]
);
};

ssl: {
format = "json";

interface: {
type = "socket";
ip = "127.0.0.1";
port = 9001;
};
};

sst: {
format = "json";

interface: {
type = "socket";
ip = "127.0.0.1";
port = 9000;
};
};

sss: {
fS = 16000;
hopSize = 512;
nBits = 16;

interface: {
type = "socket";
ip = "127.0.0.1";
port = 10000;
};
};

postfiltered: {
fS = 16000;
hopSize = 512;
nBits = 16;

interface: {
type = "socket";
ip = "127.0.0.1";
port = 10010;
};
};

sne: {
b = 0.1;
minEnergy = 0.0001;
alphaS = 0.5;
L = 10;
delta = 0.2;
alphaD = 0.3;
};

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

No branches or pull requests

1 participant