読み上げの途中で発話を止める
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- go
- Domain
- embedded-iot
Research direction
The issue names answerByTouch, restFace, audioMu, say, and stackchan-cli stop, but does not identify their files or tests. Start by locating those entry points and tracing the existing touch and audio flows; compare the sentence-by-sentence and firmware-interruption approaches. Done means interruption restores the standard face and LED, releases audioMu, and allows the next say or voice command.
Written by the indexing model from the issue text.
Description
やりたいこと
ask の答えなど、読み上げの途中で発話を止めたい。答えが長いときや、聞きたいことと違う答えが返ってきたとき、最後まで聞かずに済ませたい。
今の動き
- 答えは
sayで一度に話す。gateway のsayは文全体を合成し、実時間のペースで本体へ送り終えてから返る。 - gateway の MCP には、実行中のツール呼び出しを取り消す手段が無い(
notifications/cancelledを扱っていない)。 - firmware は、話している最中に聞き取りが始まると発話を打ち切る(gateway 0.18.0 の
esp32_client.pyのコメント)。ただし gateway は残りの音声を送り続ける。
案
- 止める合図: 頭のタッチ、
stackchan-cli stop(IPC)。声は話している間マイクが使えないので合図にならない。 - 止め方:
- (A) 答えを文ごとに分けて
sayを繰り返し、文の切れ目で止める合図を確かめる。gateway を改造せずに済むが、言いかけの文は最後まで話す。文ごとに合成するので、2 文目以降の始まりが遅れないか測る。 - (B) 本体に聞き取りを始めさせて発話を打ち切る。すぐ止まるが、gateway が送り続ける音声と
sayの戻りの扱いを調べる必要がある。
- (A) 答えを文ごとに分けて
- ポモドーロの応答待ちの頭のタッチ(
answerByTouch)と、どちらを優先するか決める。
確かめること
- 止めたあとの表情と LED が標準(
restFace)に戻る。 - 止めたあとすぐに次の
sayや音声コマンドが使える(audioMuが解放される)。
- Dominant language
- Go
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from kan/stackchan-cli
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
kan/stackchan-cli#13 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 30/100
kan/stackchan-cli#9 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
kan/stackchan-cli#2 · 1 comment ·
All issues in kan/stackchan-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
area/docs theme/deployer
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
area/orchestration area/website kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
vllm-project/aibrix#3317 · 1 comment ·
Maintainers usually reply within 1 day
-
documentation ready
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Needs Triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100