stt_fx_min_duration

Indicates the minimum duration (in milliseconds) of speech before speech detection is activated. The speech must also have the amount of energy required by the stt_fx_threshold setting.

Possible Values

10 ms - 400 ms

The default value is 60 (ms).

Example

Script(Speech_To_Text_Setting_Fx_Min_Duration)
String(strSetting)
String(strDescription)
String(strMessage)
Number(nSettingValue)
Activate(From_Menu)
strSetting = "stt_fx_min_duration"
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

stt_fx_threshold, 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