Skip to content
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

可否对系统TTS加入预缓存功能? #36

Closed
pxladmin opened this issue Jan 15, 2023 · 12 comments
Closed

可否对系统TTS加入预缓存功能? #36

pxladmin opened this issue Jan 15, 2023 · 12 comments

Comments

@pxladmin
Copy link

pxladmin commented Jan 15, 2023

建议可以效仿阅读app请求,不然一延迟高就一段段的,体验很不好。
Screenshot_2023-01-16-02-32-27-26_c8b102ac7b9ff985df9185de5fad84e4

@jing332
Copy link
Owner

jing332 commented Jan 15, 2023

由于Android系统TTS服务限制,无法做到预缓存功能。🙃
技术细节见:
#20 (comment)

@jing332 jing332 changed the title 大佬可以优化下系统tts请求数量吗? 可否对系统TTS加入预缓存功能? Jan 16, 2023
@jing332 jing332 pinned this issue Jan 16, 2023
@XY50
Copy link

XY50 commented Jan 21, 2023

哪怕不能暂停也行,总比每读一句停零点几秒要好

@XY50
Copy link

XY50 commented Jan 21, 2023

长句分割,就是预先缓存,同样是多段音频拼接,朗读却无比流畅

@jing332
Copy link
Owner

jing332 commented Jan 21, 2023 via email

@jing332
Copy link
Owner

jing332 commented Jan 21, 2023 via email

@limne
Copy link

limne commented Jan 31, 2023

主要是网络延迟,用百度的就不可能有停顿,现在能用就不错了。

@XY50
Copy link

XY50 commented Jan 31, 2023

百度的声音没微软好听,太机械了

@jing332
Copy link
Owner

jing332 commented Feb 1, 2023 via email

@XY50
Copy link

XY50 commented Feb 1, 2023

阅读中的网络朗读,就和使用内置播放器播放一样每段句子要停顿几百毫秒
Screenshot_2023-02-02-00-33-42-312_com github jing332 tts_server_android-edit

@eromoe
Copy link

eromoe commented Jun 12, 2023

@jing332 有教程吗?

@DaveScream
Copy link

最新提交我加了系统TTS转发器,可以以HTTP网络请求方式获取安卓系统TTS的音频,配合阅读网络朗读,可解决大部分停顿。

How? Example please

@jing332 jing332 closed this as completed Jul 15, 2023
@nhan000
Copy link

nhan000 commented Oct 2, 2023

Could someone show me how to reduce the pause after each sentence please? I'm using the T2S app and the pauses make it unusable for me :( Or is it because of the T2S app? What app should I use instead? Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants