stt_result_sound

Determines when a result sound is played for speech-to-text.

Possible Values

2 Two sounds are used: one for successful recognitions, one for unsuccessful recognitions
1 A sound is played for each successful recognition
0 No result sounds are used

Example

Script( Speech_To_Text_Result_Sound )

Activate( From_Menu )

If( Ask_Yes_No( "Do you want to hear a beep on a good recognition?", "Beep", FALSE ) )

If( Ask_Yes_No( "Do you want to hear a beep on a bad recognition?", "Beep", FALSE ) )

Speech_Change_Setting( "stt_result_sound", 2 )

Message( "Result sounds enabled.", 5 )

Else

Speech_Change_Setting( "stt_result_sound", 1 )

Message("Result sounds only played for good recognitions.", 5)

End_If

Else

Speech_Change_Setting( "stt_result_sound", 0 )

Message( "Result sounds disabled.", 5 )

End_If

Return

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal