【发布时间】:2020-01-11 04:05:03
【问题描述】:
我正在使用后置插孔麦克风,它与录音机或谷歌搜索一样完美。 但是当我将它与 Python 语音识别一起使用时,我不知道发生了什么。
import speech_recognition as sr
s = sr.Microphone()
当我运行它时,它显示:
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
【问题讨论】:
-
这个错误是什么类型的?
标签: python speech-recognition speech-to-text