我想使用 AVSpeechSynthesizer 仅在多通道环绕声设置的一个音频通道上输出声音。例如,在 5.1 系统中,我希望它仅在右环绕声道上输出。
现在我有:
let synthesizer = AVSpeechSynthesizer()
let utterance = AVSpeechUtterance(string: "This is the right channel")
synthesizer.speakUtterance(utterance)
...但是它在左右声道上输出。