Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

読み上げの途中で発話を止める

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

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

enhancement

やりたいこと

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 の戻りの扱いを調べる必要がある。
  • ポモドーロの応答待ちの頭のタッチ(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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from kan/stackchan-cli

All issues in kan/stackchan-cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.