stt_priority

Determines how aggressively the microphone input is collected and speech analysis is performed.

You can increase the priority if the results are taking a long time to process, and decrease the priority if you experience issues such as the device locking up or network connections being dropped during speech-to-text processing.

Possible Values

0 low
1 medium
2 high
3 critical

The default value is 1 (medium).

Example

Script(Speech_To_Text_Setting_Priority)
String(strSetting)
String(strDescription)
String(strMessage)
Number(nSettingValue)
Activate(From_Menu)
strSetting = "stt_priority"
nSettingValue = Speech_Get_Setting(strSetting)
strDescription = Speech_Get_Setting_Value_Desc(strSetting, nSettingValue)
strMessage = String_Combine(strDescription, "; setting value:")
strMessage = String_Combine(strMessage, Number_To_String_Decimal(nSettingValue))
Ask_OK(strMessage, strSetting)
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