GetVoices For $Voices In $VoiceGroup $sVoices &= $Voices. ![]() : Yes = Func _GetVoices ( ByRef $Object, $bReturn = True ) Local $sVoices, $VoiceGroup = $Object. : Success - Returns an array or string containing installed voice identitys. |If $bReturn = False then a string seperated by delimiter "|" is returned. |If $bReturn = True then a 0-based array is returned. $bReturn - String of text you want spoken. : $Object - Object returned from _StartTTS(). Syntax.: _GetVoices(ByRef $Object) Parameters. : Retrives the currently installed voice identitys. Voice = $VoiceNames Return EndIf Next Return SetError ( 1 ) EndFunc =>_SetVoice #FUNCTION# = Name.: _GetVoices Description. GetDescription ( ) = $sVoiceName Then $Object. GetVoices For $VoiceNames In $VoiceGroup If $VoiceNames. : Yes = Func _SetVoice ( ByRef $Object, $sVoiceName ) Local $VoiceNames, $VoiceGroup = $Object. $sVoiceName - String matching one of the voices installed. Syntax.: _SetVoice(ByRef $Object, $sVoiceName) Parameters. : Sets the identity of the voice used for text synthesis. Volume = $iVolume EndFunc =>_SetVolume #FUNCTION# = Name.: _SetVoice Description. : Yes = Func _SetVolume ( ByRef $Object, $iVolume ) Volume $Object. $iVolume - Value specifying the volume of the voice. ![]() Syntax.: _SetVolume(ByRef $Object, $iVolume) Parameters. Rate = $iRate EndFunc =>_SetRate #FUNCTION# = Name.: _SetVolume Description. : Yes = Func _SetRate ( ByRef $Object, $iRate ) Rates can be from -10 to 10 $Object. Supported values range from -10 to 10 Return values. $iRate - Value specifying the speaking rate of the voice. (How fast the voice talks.) Syntax.: _SetRate(ByRef $Object, $iRate) Parameters. : Yes = Func _StartTTS ( ) Return ObjCreate ( "SAPI.SpVoice" ) EndFunc =>_StartTTS #FUNCTION# = Name.: _SetRate Description. : Creates a object to be used with Text-to-Speak Functions. Expand collapse popup #FUNCTION# = Name.: _StartTTS Description.
0 Comments
Leave a Reply. |