DragonflyRobotics / DragonflyRobotics/MAGIST-Algorithm

Microphone Transcriber Suddenly Hangs and Doesn't Output Anything.

未关闭
#16 0 条评论 0 个 reaction 已指派 1 人 已被 @DragonflyRobotics 认领 在 GitHub 查看
bug
主要语言
Python
星标
5
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

**Description**
Occasionally, the Microphone Transcriber freezes after printing:
```
GoogleAudioTranscriber Listening...
```

I am not really sure what causes it or what can be done.

**To Reproduce**
Not sure when and where it happens. My theory is that some process doesn't close correctly and occupies the microphone.

**Expected behavior**
Ideally, it should finish transcribing or provide a microphone-occupied error.

**Screenshots**
There isn't much to show but I do get these ALSA errors:
```
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。