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

请问如何在文字中插入停顿呢? #1906

Open
tuoerye opened this issue Dec 27, 2024 · 3 comments
Open

请问如何在文字中插入停顿呢? #1906

tuoerye opened this issue Dec 27, 2024 · 3 comments

Comments

@tuoerye
Copy link

tuoerye commented Dec 27, 2024

比如:”今天天气真好啊,你想吃什么?“ 你字后面停一下

@jiekemt
Copy link

jiekemt commented Dec 29, 2024

加这个“...”或/

@itlabers
Copy link

       if '##'  in text:
          print("加入1s停顿")
          stop_wav = np.zeros(
          int(hps.data.sampling_rate * 1.0),
          dtype=np.float16 if is_half == True else np.float32,
          )
          audio_opt.append(stop_wav)

这是我的方案,## 句子末尾停顿1s

谢谢大家。##
新年快乐!##
万事如意!##

@tuoerye
Copy link
Author

tuoerye commented Jan 22, 2025

       if '##'  in text:
          print("加入1s停顿")
          stop_wav = np.zeros(
          int(hps.data.sampling_rate * 1.0),
          dtype=np.float16 if is_half == True else np.float32,
          )
          audio_opt.append(stop_wav)

这是我的方案,## 句子末尾停顿1s

谢谢大家。## 新年快乐!## 万事如意!##

感谢,我试试

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

No branches or pull requests

3 participants