Hi, I spoke to someone during the audio lab today in relation to audio output of Chinese dialects. So I can now get cantonese and mandarin outputted. But now I'm trying to read the same line of text in both dialects, and the audio overlaps each other. What do I need to change in my code to create a pause between the two utterances rather than reading both at the same time?
Code Block let cantoUtterance = AVSpeechUtterance(string: chinese) //utterance.voice = AVSpeechSynthesisVoice(language: "zh-HK") cantoUtterance.voice = AVSpeechSynthesisVoice(identifier: "com.apple.ttsbundle.Sin-Ji-compact") // utterance.rate = 0.1 let cantoSynthesizer = AVSpeechSynthesizer() cantoSynthesizer.speak(cantoUtterance) let mandoUtterance = AVSpeechUtterance(string: chinese) mandoUtterance.voice = AVSpeechSynthesisVoice(language: "zh-CN") let mandoSynthesizer = AVSpeechSynthesizer() mandoSynthesizer.speak(mandoUtterance)