You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Assets/HoloToolkit/Input/Scripts/Microphone/DictationManager.cs
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,17 @@ public class DictationManager : Singleton<DictationManager>
21
21
publicstringDictationResult{get;privateset;}
22
22
23
23
/// <summary>
24
-
/// Initial value for InitialSilenceTimeout. Only used to initialize the DictationRecognizer's InitialSilenceTimeout value during Start.
24
+
/// Initial value for InitialSilenceTimeout.
25
+
/// <remarks>Only used to initialize the DictationRecognizer's InitialSilenceTimeout value during Start.</remarks>
25
26
/// </summary>
26
27
[SerializeField]
27
28
[Tooltip("The default timeout with initial silence is 5 seconds.")]
28
29
[Range(0.1f,30f)]
29
30
privatefloatinitialSilenceTimeout=5f;
31
+
32
+
/// <summary>
33
+
/// The time length in seconds before dictation recognizer session ends due to lack of audio input in case there was no audio heard in the current session.
34
+
/// </summary>
30
35
publicfloatInitialSilenceTimeout
31
36
{
32
37
get
@@ -47,12 +52,17 @@ public float InitialSilenceTimeout
47
52
}
48
53
49
54
/// <summary>
50
-
/// Initial value for AutoSilenceTimeout. Only used to initalize the DictationRecognizer's AutoSilenceTimeout value during Start.
55
+
/// Initial value for AutoSilenceTimeout.
56
+
/// <remarks>Only used to initalize the DictationRecognizer's AutoSilenceTimeout value during Start.</remarks>
51
57
/// </summary>
52
58
[SerializeField]
53
59
[Tooltip("The default timeout after a recognition is 20 seconds.")]
54
60
[Range(5f,60f)]
55
61
privatefloatautoSilenceTimeout=20f;
62
+
63
+
/// <summary>
64
+
/// The time length in seconds before dictation recognizer session ends due to lack of audio input.
0 commit comments