introlab / odas

ODAS: Open embeddeD Audition System
MIT License
800 stars 254 forks source link

Respeaker.cfg segmentation fault #12

Closed taospartan closed 6 years ago

taospartan commented 6 years ago

Is this config for the respeaker mic array? The config throws asegmentation fault when used

FrancoisGrondin commented 6 years ago

Hi,

This has been tested and should work. However, from what I remember, the respeaker may have a different firmware by default, which prevents us from using it as a 7 inputs usb sound card. Have you updated the firmware on the Respeaker to use it as a sound card?

Thanks,

Frank

taospartan commented 6 years ago

Thanks for the quick reply, yes it’s got the 8 channel raw firmware. I’ll run some more tests tomorrow on the mic array tomorrow to check if the card itself is faulty.

FrancoisGrondin commented 6 years ago

Ok, I suppose you have tested the sound card with a software such as Audacity? If so, you could record the raw signals from your sound card (8 channels, 16-bit signed, pcm, little endians, 16kSamples/sec), and send it to me along with the exact .cfg you are using. If I can to reproduce the bug on my side, I should be able to find what's wrong.

taospartan commented 6 years ago

Unfortunately the problem wasnt solved, still a segmentation error. Here is the arecord -l

List of CAPTURE Hardware Devices card 1: Array [ReSpeaker Microphone Array], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0

Here is the error:

+--------------------------------------------+ | 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............. Segmentation fault

reSpeakerArray copy.cfg.txt

FrancoisGrondin commented 6 years ago

It seems the configuration files were not fully updated to match the latest version of ODAS. It did update them, it is now in the master branch. Please update your respeaker.cfg according to the new version, and let me know if this fixes the issue.

taospartan commented 6 years ago

Yes success! it works now many thanks!