CMUSphinx-go PortAudio错误:设备不可用

时间:2018-06-22 07:05:09

标签: ubuntu go cmusphinx portaudio

我已经按照回购中的说明安装了pocketsphinx-go。但是当我运行示例gortana时,我看到错误:

Loading CMU PhocketSphinx.
This may take a while depending on the size of your model.
PortAudio error: Device unavailable
exit status 1

该怎么办?还有其他离线状态吗?
PS:系统:Ubuntu 16.04

1 个答案:

答案 0 :(得分:0)

正确配置alsa,以便portaudio可以检测到设备。