Hi @TheMichael,
Check this
class TTS {
let synth = AVSpeechSynthesizer()
func speak() {
let utterance = AVSpeechUtterance(string: "Hello World")
utterance.voice = AVSpeechSynthesisVoice(language: "en-US")
synth.speak(utterance)
}
}
Topic:
Machine Learning & AI
SubTopic:
General
Tags: