Struct Tryll::Client::VoiceInputConfig¶
ClassList > Tryll > Client > VoiceInputConfig
Parameters for creating a VoiceInput handle.
#include <VoiceInput.h>
Public Attributes¶
| Type | Name |
|---|---|
| float | hotwordsScore = 1.5f |
| std::string | hotwordsStoragePath |
| AudioFormat | inputFormat Format of samples passed to SendAudioBuffer. |
| std::string | modelName Catalog name, e.g. "Whisper Tiny EN (int8)". |
| std::uint32_t | vadMinSilenceMs = 1000Silence 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. Weights phrases against one another during beam search. Measured on Parakeet TDT 0.6B v3: 1.8 recovered 5 of 8 target terms, 2.5 recovered 6 of 8. A lexicon line may override this for itself by ending with :<number>. Ignored when hotwordsStoragePath is empty.
variable hotwordsStoragePath¶
Relative path (resolved against the session storage folder) to a List StringStorage (.txt) whose entries are hotword phrases that the recognizer should be biased toward. Empty = no hotword biasing. The file loads on demand server-side — no prior CreateStringStorage needed.
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/_monorepo3/tryll/clients/cpp/include/tryll/VoiceInput.h