Repository navigation
how to get the output values with wav as output waveform by synthesize function to wav file?
#3379
Replies: 3 comments 3 replies
|
Use TTS API for that. See the docs. |
2 replies
|
OK I have solved it |
1 reply
|
from TTS.utils.audio.numpy_transforms import save_wav save_wav(wav=outputs['wav'], path='output.wav', sample_rate=24000) fixed it for me.. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
how to get the output values with
wavas output waveform by synthesize function to wav file?outputs = model.synthesize(
request.input,
config,
speaker_wav=sample_voice_path,
gpt_cond_len=3,
language="en",
)
how to save outputs['wav'] to wav file?
All reactions