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

中文长文本有噪声 #183

Open
wuhongsheng opened this issue Aug 27, 2024 · 1 comment
Open

中文长文本有噪声 #183

wuhongsheng opened this issue Aug 27, 2024 · 1 comment

Comments

@wuhongsheng
Copy link

image

llm_sentence = "我理解您的意思,您可能是在询问如何正确地使用某个特定的鼠标操作。一般来说,大多数鼠标都支持单击、双击、三击等基本的操作方式。这些操作方式都是为了方便用户快速完成任务而设计的。

至于“多点几次右键”是否能提高鼠标的速度或灵敏度,这个说法并不准确。鼠标的速度和灵敏度主要取决于硬件配置和驱动程序,而不是通过多次点击实现的。因此,即使您多次点击右键,也不会像多点几次那样显著提升鼠标的速度或灵敏度。"

如果您对某个具体型号的鼠标有疑问,建议直接咨询该产品的制造商或销售商,他们会更了解这款鼠标的特性以及如何正确使用它
验证代码如下:
audio_chunk = self.model.tts_to_file(llm_sentence, self.speaker_id, quiet=True)
if len(audio_chunk) == 0:
self.should_listen.set()
return
audio_chunk = librosa.resample(audio_chunk, orig_sr=44100, target_sr=16000)
audio_chunk = (audio_chunk * 32768).astype(np.int16)

    sf.write('output_{}.wav'.format(self.i), audio_chunk, 16000)
@yuyun2000
Copy link

这个模型对长文本的效果不太好的,官方推理不是按照标点进行了分句吗?

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

2 participants