TEN-framework / TEN-framework/ten-framework
[BUG] TTS bug@voice_assistant@default
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1.4k
- Avg merge
- 2d 15m
- Merged PRs (30d)
- 22
Description
Description
sometimes it doesn't complete speaking all parts of the sentences of an AI answer. instead, it just speaks the first 1-2 parts.
in the attached example, it just spoke: "我没有实时天气数据". but it didn't continue to speak the following part "但你可以用手机上的天气应用查看明天的天气预报,或者在网上搜索一下当地的气象信息。这样就能知道是否需要带伞或穿得暖和一点啦!"
although it shows in the container console that all parts have been sent to the TTS service as the attachment shows.
this may not be a bug of TTS but of the playing TTS responses in the the event loops.
Environment
any
Steps to reproduce
example/default
task use
task run
open the playground
connect
ask a question
sometimes it doesn't complete speaking all parts of the answer sentences. instead, it just speaks the first 1-2 parts.
Expected behavior
it should speak all parts of the whole sentences of an AI answer.
Severity
Major
Additional Information
No response
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start with the example/default task, run it with task run, and reproduce the interruption in the playground after connecting and asking a question. Inspect the TTS service handoff and event-loop playback path mentioned in the report. Done means every part of an AI answer is spoken reliably, rather than only the first one or two parts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100