我正在尝试使用 sapi 通过 vbs 重新创建雏菊铃,但是这首歌的一部分令人不舒服:
yellow.Rate = 6
yellow.Speak "<pitch middle = '-10'/> Give."
yellow.Speak "<pitch middle = '-8'/> Me."
yellow.Speak "<pitch middle = '-5'/> Your."
有没有办法可以调整句子中的音高,而不是按音高分开歌词,这样唱起来会更流畅?
这些是我所做的尝试,虽然歌词说得更流畅,但这样做可以摆脱任何音调调整:
yellow.Speak "<pitch middle = '-10'> Give
<pitch middle = '-8'> Me
<pitch middle = '-5'> Your
</pitch>
</pitch>
</pitch>."
和
yellow.Speak "<pitch middle = '-10'/> Give, <pitch middle = '-8'/> Me, <pitch middle = '-5'/> Your."
用“absmiddle”尝试一下。在下面的示例中,音调变化很容易听到:
Set oSapi = CreateObject("sapi.spvoice")
oSapi.Rate = 6
oSapi.Speak "<pitch absmiddle = '-10'/> Give, <pitch absmiddle = '+10'/> Me, <pitch absmiddle = '-10'/> Your."