tts_voice

Indicates the name of the voice that is currently selected.

Example

Script(Jill_Voice)
Number(nVoice)
Activate(From_Menu)
If_Not(Speech_From_Text_Available)
Message("Speech From Text Not Available", 3)
Return
End_If
nVoice = Speech_Find_Setting_Value("tts_voice", "Jill", FALSE)
If(Number_Greater_Than_Or_Equal(nVoice, 0))
Speech_Change_Setting("tts_voice", nVoice)
Speech_From_Text("Jill’s voice is available.", TRUE)
Else
Speech_From_Text("Jill’s voice is not available.", TRUE)
End_If
Return

See Also

Speech_Get_Setting, Speech_Get_Setting_Value_Desc, Speech_Get_Setting_Max, Speech_Find_Setting_Value, Speech_To_Text, Speech_From_Text, Speech_Setting_Available, Speech_Change_Setting

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal