modelscope
modelscope copied to clipboard
sambert_hifigan_tts 除了 "text" 和 "voice" 参数,还支持其他的参数吗?如:rate, pitch, volume,这些~
from modelscope.outputs import OutputKeys
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks
text = '待合成文本'
model_id = 'damo/speech_sambert-hifigan_tts_zh-cn_16k'
sambert_hifigan_tts = pipeline(task=Tasks.text_to_speech, model=model_id)
output = sambert_hifigan_tts(input=text, voice='zhitian_emo')
wav = output[OutputKeys.OUTPUT_WAV]
with open('output.wav', 'wb') as f:
f.write(wav)
这是官方示例,请问该模型支持设置语速,音高,音量这些吗?哪里有 sambert_hifigan_tts 详细的文档?
https://github.com/alibaba-damo-academy/KAN-TTS
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
请问,这些解决了吗 语速,音高,音量