1
1
Fork
You've already forked zop
0

Speed up TTS #28

Closed
opened 2026年03月19日 20:11:05 +01:00 by peterwwillis · 0 comments
peterwwillis commented 2026年03月19日 20:11:05 +01:00 (Migrated from github.com)
Copy link

Attempt the following to speed up TTS:

  • For long texts, when submitting to TTS, break them down into chunks (e.g., ~100 tokens) to avoid decoder crashes and improve speed. Do not break up sentences (you can go over 100 tokens if needed).
  • Experiment with TinyTTS, Piper, Kokoro and KittenTTS using sherpa-onnx to see if either is particularly faster than existing solution. TinyTTS is so small we may be able to embed it in-app as a default rather than downloading larger models (easier distribution, use offline).
  • Potentially try to use GPU to speed up TTS decoding (and/or voice input!)
  • When sending AI text to the text-to-speech mode, remove markdown formatting. Currently the tts will speak "asterisk asterisk hello asterisk asterisk" for the text **hello**, which is quite annoying
Attempt the following to speed up TTS: - For long texts, when submitting to TTS, break them down into chunks (e.g., ~100 tokens) to avoid decoder crashes and improve speed. Do not break up sentences (you can go over 100 tokens if needed). - Experiment with TinyTTS, Piper, Kokoro and KittenTTS using sherpa-onnx to see if either is particularly faster than existing solution. TinyTTS is so small we may be able to embed it in-app as a default rather than downloading larger models (easier distribution, use offline). - Potentially try to use GPU to speed up TTS decoding (and/or voice input!) - When sending AI text to the text-to-speech mode, remove markdown formatting. Currently the tts will speak "asterisk asterisk hello asterisk asterisk" for the text `**hello**`, which is quite annoying
Sign in to join this conversation.
No Branch/Tag specified
main
ui-screenshots
dependabot/go_modules/golang.org/x/image-0.38.0
feature/add-prompt-templates
feature/voice-output
feature/add-features-1
feature/add-new-ai-providers
feature/add-makefile-build
copilot/add-macos-arm64-build-target
copilot/fix-whisper-audio-capture-linux
copilot/add-tag-v0-3-1
copilot/fix-android-build-error
copilot/add-hardware-acceleration-android-build
copilot/fix-linux-amd64-and-android-builds
copilot/modify-release-workflow-manual-trigger
copilot/fix-linux-github-action-release
copilot/fix-build-error-github-action
copilot/port-go-whisper-android-app
copilot/build-android-app
copilot/add-copilot-instructions-file
copilot/fix-zop-command-input-errors
copilot/make-whisper-default-build
copilot/rename-project-to-zop
copilot/add-go-ai-cli-tool-pgpt
v0.4.1
v0.4.0
v0.3.1
v0.3.0
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mutablecc/zop#28
Reference in a new issue
mutablecc/zop
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?