Skip to content

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 = 500
Silence duration (ms) that closes a segment.
std::uint32_t vadSpeechPadMs = 250
float vadThreshold = 0.5f
Silero VAD speech-probability threshold.

Public Attributes Documentation

variable hotwordsScore

float Tryll::VoiceInputConfig::hotwordsScore;

Bonus score added to each matched hotword token during decoding. Typical range 1.0–2.5. Ignored when hotwordsStorageName is empty.


variable hotwordsStorageName

std::string Tryll::VoiceInputConfig::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.

AudioFormat Tryll::VoiceInputConfig::inputFormat;


variable modelName

Catalog name, e.g. "Whisper Tiny EN (int8)".

std::string Tryll::VoiceInputConfig::modelName;


variable vadMinSilenceMs

Silence duration (ms) that closes a segment.

std::uint32_t Tryll::VoiceInputConfig::vadMinSilenceMs;


variable vadSpeechPadMs

std::uint32_t Tryll::VoiceInputConfig::vadSpeechPadMs;

Padding (ms) added around detected speech.


variable vadThreshold

Silero VAD speech-probability threshold.

float Tryll::VoiceInputConfig::vadThreshold;



The documentation for this class was generated from the following file C:/_tryll/_monorepo2/server/client-cpp/include/tryll/VoiceInput.h