Struct Tryll::VoiceInputConfig¶
ClassList > Tryll > VoiceInputConfig
Parameters for creating a VoiceInput handle.
#include <VoiceInput.h>
Public Attributes¶
| Type | Name |
|---|---|
| float | hotwordsScore = 1.5f |
| std::string | hotwordsStorageName |
| AudioFormat | inputFormat Format of samples passed to SendAudioBuffer. |
| std::string | modelName Catalog name, e.g. "Whisper Tiny EN (int8)". |
| std::uint32_t | vadMinSilenceMs = 500Silence duration (ms) that closes a segment. |
| std::uint32_t | vadSpeechPadMs = 250 |
| float | vadThreshold = 0.5fSilero VAD speech-probability threshold. |
Public Attributes Documentation¶
variable hotwordsScore¶
Bonus score added to each matched hotword token during decoding. Typical range 1.0–2.5. Ignored when hotwordsStorageName is empty.
variable hotwordsStorageName¶
Name of a session-scoped StringStorage (kind=List) whose entries are hotword phrases that the recognizer should be biased toward. Empty = no hotword biasing. Caller must register the storage via CreateStringStorage(...) before referencing it here.
variable inputFormat¶
Format of samples passed to SendAudioBuffer.
variable modelName¶
Catalog name, e.g. "Whisper Tiny EN (int8)".
variable vadMinSilenceMs¶
Silence duration (ms) that closes a segment.
variable vadSpeechPadMs¶
Padding (ms) added around detected speech.
variable vadThreshold¶
Silero VAD speech-probability threshold.
The documentation for this class was generated from the following file C:/_tryll/_monorepo2/server/client-cpp/include/tryll/VoiceInput.h