Speech module
VoiceActivityDetectorConfig
Settings for a VoiceActivityDetector: the source it reports for,
#include <icy/speech/voiceactivitydetector.h>
struct VoiceActivityDetectorConfigDefined in src/speech/include/icy/speech/voiceactivitydetector.h:31
Settings for a VoiceActivityDetector: the source it reports for, the levels that start and stop speech, how long silence lasts before speech ends, and how often it reports while speech continues.
Public Attributes
| Return | Name | Description |
|---|---|---|
std::string | source | |
std::string | detectorName | |
int | sampleRateHint | |
float | startThreshold | |
float | stopThreshold | |
int64_t | minSilenceUsec | |
int64_t | updateIntervalUsec |
source
std::string sourceDefined in src/speech/include/icy/speech/voiceactivitydetector.h:33
detectorName
std::string detectorName = "energy_vad"Defined in src/speech/include/icy/speech/voiceactivitydetector.h:34
sampleRateHint
int sampleRateHint = 0Defined in src/speech/include/icy/speech/voiceactivitydetector.h:35
startThreshold
float startThreshold = 0.045fDefined in src/speech/include/icy/speech/voiceactivitydetector.h:36
stopThreshold
float stopThreshold = 0.020fDefined in src/speech/include/icy/speech/voiceactivitydetector.h:37
minSilenceUsec
int64_t minSilenceUsec = 250000Defined in src/speech/include/icy/speech/voiceactivitydetector.h:38
updateIntervalUsec
int64_t updateIntervalUsec = 250000Defined in src/speech/include/icy/speech/voiceactivitydetector.h:39
