I would need to know which gender is used by the iOS system for speechSynthesis.
I have tried
let aVoice = AVSpeechSynthesisVoice()
print(#function, #line, aVoice.gender.rawValue)
But always get 0, for unspecified
I would need to know which gender is used by the iOS system for speechSynthesis.
I have tried
let aVoice = AVSpeechSynthesisVoice()
print(#function, #line, aVoice.gender.rawValue)
But always get 0, for unspecified
I've searched extensively but could not find how to.
So I use a workaround: I test gender for each supported language (out of app) and use this information to adapt to the app selected language.
But not sure that will be robust over time.