Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何让 AVSpeechSynthesizer 在同一个字符串中使用两种不同的声音说多种语言?例如,我希望合成器说:“我喜欢说你好,而不是你好。”
我希望在说出完整的句子之前不要调用 didFinishSpeechUtterance。
我不认为你可以在一个单一的话语中混合语言。您必须将其分解成碎片并单独播放。