|
|
|
|
|
SpeechSynthesisListVoices( Función) Devuelve la lista de voces disponibles en el dispositivo para el motor de síntesis de voz. BestVoice is SpeechSynthesisVoice // List the voices arrVoices is array of SpeechSynthesisVoice arrVoices = SpeechSynthesisListVoices() FOR EACH Voice OF arrVoices // Displays the language of the voice in the trace Trace(LanguageToName(Voice.Language, Voice.SubLanguage)) // Select the English voice with the best quality IF BestVoice.Quality < Voice.Quality AND Voice.Language = languageEnglish THEN BestVoice = Voice END SpeechSynthesisInitialize(BestVoice)
Sintaxis
<Result> = SpeechSynthesisListVoices()
Componente: wd300android.aar
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|