|
|
|
@ -286,10 +286,178 @@ |
|
|
|
"type": "struct", |
|
|
|
"default": |
|
|
|
{ |
|
|
|
"bUsePTT": true, |
|
|
|
"bCanInterrupt": true, |
|
|
|
"bSTTDebugAudioSave": false, |
|
|
|
"bSTTDebugLoopback": false, |
|
|
|
"VADSettings": |
|
|
|
{ |
|
|
|
"VAD_Mode": 2, |
|
|
|
"VAD_SilenceThreshold": 300, |
|
|
|
"VAD_SpeechWhileBlocked": 0.5 |
|
|
|
}, |
|
|
|
"SpeexDSPSettings": |
|
|
|
{ |
|
|
|
"StateNames": [], |
|
|
|
"SettingEntries": [ |
|
|
|
{ |
|
|
|
"TypeName": "preprocessor Automatic Gain Control state", |
|
|
|
"Value": 0 |
|
|
|
}, |
|
|
|
{ |
|
|
|
"TypeName": "preprocessor dereverb state", |
|
|
|
"Value": 10 |
|
|
|
}, |
|
|
|
{ |
|
|
|
"TypeName": "maximum attenuation of the noise in dB (negative number)", |
|
|
|
"Value": -10 |
|
|
|
}, |
|
|
|
{ |
|
|
|
"TypeName": "attenuation of the residual echo in dB (negative number)", |
|
|
|
"Value": -40 |
|
|
|
}, |
|
|
|
{ |
|
|
|
"TypeName": "maximum attenuation of the residual echo in dB when near end is active (negative number)", |
|
|
|
"Value": -15 |
|
|
|
} |
|
|
|
], |
|
|
|
"SpeexDSP_AEC_Tail": 500, |
|
|
|
"bSpeexDSP_UseAEC": false |
|
|
|
}, |
|
|
|
"STTReplacements": [ |
|
|
|
{ |
|
|
|
"TranscribedWords": [ |
|
|
|
"spie", |
|
|
|
"schpie", |
|
|
|
"spieh", |
|
|
|
"spiel" |
|
|
|
], |
|
|
|
"ReplacementWord": "SPIE" |
|
|
|
} |
|
|
|
], |
|
|
|
"STTSpecialWords": [ |
|
|
|
"SPIE" |
|
|
|
], |
|
|
|
"PTTPostRollTime": 0.40000000596046448 |
|
|
|
}, |
|
|
|
"category": "STT Settings", |
|
|
|
"fields": |
|
|
|
{ |
|
|
|
"bUsePTT": |
|
|
|
{ |
|
|
|
"type": "boolean" |
|
|
|
}, |
|
|
|
"bCanInterrupt": |
|
|
|
{ |
|
|
|
"type": "boolean" |
|
|
|
}, |
|
|
|
"bSTTDebugAudioSave": |
|
|
|
{ |
|
|
|
"type": "boolean" |
|
|
|
}, |
|
|
|
"bSTTDebugLoopback": |
|
|
|
{ |
|
|
|
"type": "boolean" |
|
|
|
}, |
|
|
|
"VADSettings": |
|
|
|
{ |
|
|
|
"type": "struct", |
|
|
|
"fields": |
|
|
|
{ |
|
|
|
"VAD_Mode": |
|
|
|
{ |
|
|
|
"type": "integer" |
|
|
|
}, |
|
|
|
"VAD_SilenceThreshold": |
|
|
|
{ |
|
|
|
"type": "integer" |
|
|
|
}, |
|
|
|
"VAD_SpeechWhileBlocked": |
|
|
|
{ |
|
|
|
"type": "float" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"SpeexDSPSettings": |
|
|
|
{ |
|
|
|
"type": "struct", |
|
|
|
"fields": |
|
|
|
{ |
|
|
|
"StateNames": |
|
|
|
{ |
|
|
|
"type": "array", |
|
|
|
"itemsType": "enum", |
|
|
|
"itemsEnum": [ |
|
|
|
"preprocessor denoiser state", |
|
|
|
"preprocessor Automatic Gain Control state", |
|
|
|
"preprocessor Voice Activity Detection state", |
|
|
|
"preprocessor dereverb state", |
|
|
|
"preprocessor dereverb level", |
|
|
|
"preprocessor dereverb decay", |
|
|
|
"probability required for the VAD to go from silence to voice", |
|
|
|
"probability required for the VAD to stay in the voice state (integer percent)", |
|
|
|
"maximum attenuation of the noise in dB (negative number)", |
|
|
|
"attenuation of the residual echo in dB (negative number)", |
|
|
|
"maximum attenuation of the residual echo in dB when near end is active (negative number)", |
|
|
|
"the corresponding echo canceller state so that residual echo suppression can be performed (NULL for no residual echo suppression)", |
|
|
|
"maximal gain increase in dB/second (int32)", |
|
|
|
"maximal gain decrease in dB/second (int32)", |
|
|
|
"maximal gain in dB (int32)", |
|
|
|
"preprocessor Automatic Gain Control level (int32)" |
|
|
|
] |
|
|
|
}, |
|
|
|
"SettingEntries": |
|
|
|
{ |
|
|
|
"type": "array", |
|
|
|
"itemsType": "struct", |
|
|
|
"itemsFields": |
|
|
|
{ |
|
|
|
"TypeName": |
|
|
|
{ |
|
|
|
"type": "enum" |
|
|
|
}, |
|
|
|
"Value": |
|
|
|
{ |
|
|
|
"type": "integer" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"SpeexDSP_AEC_Tail": |
|
|
|
{ |
|
|
|
"type": "integer" |
|
|
|
}, |
|
|
|
"bSpeexDSP_UseAEC": |
|
|
|
{ |
|
|
|
"type": "boolean" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"STTReplacements": |
|
|
|
{ |
|
|
|
"type": "array", |
|
|
|
"itemsType": "struct", |
|
|
|
"itemsFields": |
|
|
|
{ |
|
|
|
"TranscribedWords": |
|
|
|
{ |
|
|
|
"type": "array", |
|
|
|
"itemsType": "string" |
|
|
|
}, |
|
|
|
"ReplacementWord": |
|
|
|
{ |
|
|
|
"type": "string" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"STTSpecialWords": |
|
|
|
{ |
|
|
|
"type": "array", |
|
|
|
"itemsType": "string" |
|
|
|
}, |
|
|
|
"PTTPostRollTime": |
|
|
|
{ |
|
|
|
"type": "float" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|