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

合成的音频在哪里下载? #839

Open
surjayc opened this issue Dec 11, 2024 · 1 comment
Open

合成的音频在哪里下载? #839

surjayc opened this issue Dec 11, 2024 · 1 comment

Comments

@surjayc
Copy link

surjayc commented Dec 11, 2024

如题,请问在哪里下载?

@di-osc
Copy link

di-osc commented Dec 11, 2024

如题,请问在哪里下载?

可以通过soundfile保存生成的音频数据
`python
waveform = chat.infer(”你好啊“)

import soundfile as sf

sf.write("demo.wav", data=waveform[0], samplerate=24000, format="wav")
`

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