When your phone speaks to you, what voice is it using?
The quality of digital voices has improved to the point where using text-to-speech (TTS) can provide significant benefits within many contexts.
I’m excited to use TTS in my apps and iOS offers a number of quality voices by default. Getting iOS to talk only requires a few simple steps.
To give you an idea of the voices that are available, I’ve extracted the array of available voices from an iPhone running iOS 9.2.
iOS has a nice method for setting the voice but there is only support for a single identifier, the Alex voice.
To use another voice, the array of voices can be searched for a matching name. The
identifier in the previous call does not match the name of a voice as you might imagine it to.
To use voice, assign the voice using the
voice property on an utterance and then speak the utterance.