AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones específicas para móviles / Funciones de síntesis de voz
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Returns the list of voices available on the device for the speech synthesis engine.
Ejemplo
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()
<Result>: Array
Array of SpeechSynthesisVoice variables.
If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo.
Componente: wd300android.aar
Versión mínima requerida
  • Versión 26
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local