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

语音不中断支持 #365

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

语音不中断支持 #365

wants to merge 2 commits into from

Conversation

bobbywyx
Copy link

自己使用的过程中发现语音播放到一半被打断的情况经常发生,尤其是当你使用tab键补全的时候,于是添加了一个检测机制,如果短时间内(目前设置的是1000ms)触发了另一个语音,就会直接取消后触发语音的播放,如果2000ms内相同语音触发,就会取消相同的语音再次触发。
虽然逻辑看起来有点绕,这是为了方便后期扩展更多功能,比如延时播放之类的。
具体可以看一下这个issue : bobbywyx/Kizuna_AI_rainbow_fart#1
#98

@vercel
Copy link

vercel bot commented Apr 22, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/saekiraku/vscode-rainbow-fart/69Z7kjUgW3zDeqV8VSbwiCBhxLnq
✅ Preview: https://vscode-rainbow-fart-git-fork-bobbywyx-master-saekiraku.vercel.app

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.

1 participant