Indicates the sampling frequency.
Possible Values
8KHz
11KHz
16KHz
22KHz
Example
Script( Speech_From_Text_Frequency )
String( strDescription )
String( strSetting )
String( strMessage )
Number( nFrequency )
Activate( From_Menu )
If_Not( Speech_From_Text_Available )
Message( "Speech From Text Not Available", 3 )
Return
End_If
strSetting = "tts_frequency"
nFrequency = Speech_Get_Setting( strSetting )
strDescription = Speech_Get_Setting_Value_Desc( strSetting, nFrequency )
strMessage = String_Combine( "Sampling Frequency:", strDescription )
strMessage = String_Combine( strMessage, "kilohertz; setting value:" )
strMessage = String_Combine( strMessage, Number_To_String_Decimal( nFrequency ) )
Speech_From_Text( strMessage, FALSE )
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