modelscope icon indicating copy to clipboard operation
modelscope copied to clipboard

sambert_hifigan_tts 除了 "text" 和 "voice" 参数,还支持其他的参数吗?如:rate, pitch, volume,这些~

Open erigo opened this issue 1 year ago • 1 comments

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 详细的文档?

erigo avatar Jan 15 '24 08:01 erigo

https://github.com/alibaba-damo-academy/KAN-TTS

slin000111 avatar Feb 05 '24 01:02 slin000111

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.

github-actions[bot] avatar May 30 '24 01:05 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Jun 04 '24 01:06 github-actions[bot]

请问,这些解决了吗 语速,音高,音量

wukongbuku avatar Jun 20 '24 04:06 wukongbuku