TEN-framework / TEN-framework/ten-framework

[BUG] TTS bug@voice_assistant@default

Open
#502 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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.

TTS bug

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

  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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.