pocketsphinx-python
pocketsphinx-python copied to clipboard
RuntimeError: new_Ad returned -1
Error opening audio device (null) for capture: Connection refused
Traceback (most recent call last):
File "1test.py", line 3, in
my code is from pocketsphinx import LiveSpeech for phrase in LiveSpeech(): print(phrase)
Same issue,i don't get why. Anyone solved this please ?
Same issue here. Reason was pulseaudio not running. Checked with "ps -C pulseaudio" Started with "pulseaudio -D" and LiveSpeech demo is now running without Problems.