tts_flutter now supports getVoices to enumerate all voices on the iPhone.
Enumeration records include name and locale. I hope it supports identifier.
The problem is that depending on the system language settings, many of them will get different voice names.
For example:
If the system language is English, the voice profile is "Tingting": "zh_CN".
If the system language is Chinese, the voice profile is "Tingting": "zh_CN".
If the system language is Japanese, the voice profile is "Ting-Ting": "zh_CN".
The sound has a unique identifier code com.apple.ttsbundle.Ting-Ting-compact
If tts_flutter can support Identifier when getVoices and setVoice, it can avoid the problem of different names in different system languages.
tts_flutter now supports
getVoices
to enumerate all voices on the iPhone. Enumeration records includename
andlocale
. I hope it supportsidentifier
.The problem is that depending on the system language settings, many of them will get different voice names.
For example: If the system language is English, the voice profile is "Tingting": "zh_CN". If the system language is Chinese, the voice profile is "Tingting": "zh_CN". If the system language is Japanese, the voice profile is "Ting-Ting": "zh_CN". The sound has a unique
identifier
codecom.apple.ttsbundle.Ting-Ting-compact
If tts_flutter can support
Identifier
whengetVoices
andsetVoice
, it can avoid the problem of different names in different system languages.