这是indexloc提供的服务,不要输入任何密码
Skip to content

TTS improvements & tests #2152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 46 commits into from
May 27, 2025
Merged

TTS improvements & tests #2152

merged 46 commits into from
May 27, 2025

Conversation

theomonnom
Copy link
Member

@theomonnom theomonnom commented Apr 28, 2025

  • This fixes all synthesize tests
  • Reduced TTS chunked stream LOC
    • improved the SynthesizedOutputEmitter
  • use resp.raise_for_status() ....
  • make sure to raise an exception when the TTS succeeded but no frame has been pushed
  • print metrics on the tests
  • add retry tests & EventCollector
  • the tests now make sure the returned frame size are appropriate
  • always copy the TTSOptions inside the ChunkedStream
  • Fixed the timeout for all TTS (Azure on rewrite Azure TTS #2151, as it required a complete rewrite)
  • LK_DUMP_TTS will save tts output to cwd/lk_dump/
  • rewrite HumeTTS, PlayAI TTS & Neuphonic TTS
  • removed ws streaming from PlayAI & Neuphonic (temporary while we fix the tests)

And a lot of bad code & inconsistencies (NOT_GIVEN..., different parameters from baseclass, ...)

@theomonnom theomonnom requested a review from a team April 29, 2025 13:59
Copy link
Contributor

github-actions bot commented May 23, 2025

❌ Invalid Changeset Format Detected

One or more changeset files in this PR have an invalid format. Please ensure they adhere to:

  • Start with --- and include a closing --- on its own line.
  • Each package line must be in the format:
    "package-name": patch|minor|major
  • No duplicate package entries allowed.
  • A non-empty change description must follow the front matter.

Error details:
.github/next-release/changeset-cb05b697.md: Failed to read file from git branch 'pr_head'.
.github/next-release/changeset-d7965afc.md: Failed to read file from git branch 'pr_head'.

@theomonnom theomonnom merged commit 64db393 into main May 27, 2025
17 of 23 checks passed
@theomonnom theomonnom deleted the theo/tts-tests-impr branch May 27, 2025 10:45
jayesh-mivi pushed a commit to mivi-dev-org/custom-livekit-agents that referenced this pull request Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants