respeaker / respeakerd

respeakerd is the server application for the microphone array solutions of SEEED, based on librespeaker which combines the audio front-end processing algorithms.
MIT License
54 stars 24 forks source link

socket connection refused #1

Open hexxter opened 6 years ago

hexxter commented 6 years ago

If i run ./respeakerd -mode=pulse -source="alsa_input.platform-sound_0.seeed-8ch" -debug -snowboy_model_path="./resources/snowboy.umdl" -snowboy_res_path="./resources/common.res" -snowboy_sensitivity="0.4" i can see n the log the trigger of the hotword. But i can not connect via Python client:

python respeakerd_client.py
INFO:__main__:Start to connect to the socket: /tmp/respeakerd.sock ...
ERROR:__main__:Error when connect to the socket: [Errno 111] Connection refused

When i start respeakerd without -mode=pulse i see no reaction by the hotword and when i connect the python client i always get "None".

KillingJacky commented 6 years ago

mode pulse will not create /tmp/respeakerd.sock file. To run respeakerd_client.py, please start respeakerd with the default mode (without the mode parameter).

hexxter commented 6 years ago

see on my issue: When i start respeakerd without -mode=pulse i see no reaction by the hotword and when i connect the python client i always get "None".

In the default mode: In the respeakerd log i see no reaction on the hotword and the python client only shows None

hexxter commented 6 years ago

there is a solution here? how can i debug this problem? If i user the default mode and get only None via the python client?

Franklin62120 commented 4 years ago

@hexxter Did you find any solution ? I also get this problem, only get None result via the python client ...

Padamaya commented 3 years ago

Any new updates? I have the same issues, although I have followed the instructions in the wiki.