Skip to content

[server] change sr #2121

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 2 commits into from
Jul 7, 2022
Merged

[server] change sr #2121

merged 2 commits into from
Jul 7, 2022

Conversation

lym0302
Copy link
Contributor

@lym0302 lym0302 commented Jul 7, 2022

PR types
change sr

PR changes

Describe
change streaming tts server samplerate from 24000 to model samplerate.
remove samplerate, speed, volume parameter.

fix #2101

text_bese64 = message["text"]
sentence = connection_handler.preprocess(
text_bese64=text_bese64)
text = message["text"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原本传递的是 base64 的文本,现在直接变成原始文本了嘛?这么改的目的是?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一方面更直观,另一方面和 http 协议的流式tts 统一字段

@yt605155624 yt605155624 merged commit 4d5ef0c into PaddlePaddle:develop Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

流式 TTS 服务支持更改采样率
2 participants