Engage Engine API
1.246.9086
|
Description of an audio gate. More...
#include <ConfigurationObjects.h>
Inherits AppConfigurationObjects::ConfigurationObjectBase.
Public Member Functions | |
void | clear () |
Public Member Functions inherited from AppConfigurationObjects::ConfigurationObjectBase | |
virtual void | initForDocumenting () |
virtual std::string | toString () |
virtual bool | isDocumenting () const |
Public Attributes | |
bool | enabled |
[Optional. Default: false] Enables the audio gate if true | |
bool | useVad |
[Optional. Default: false] Use voice activity detection rather than audio energy | |
uint32_t | hangMs |
[Optional. Default: 1500] Hang timer in milliseconds | |
uint32_t | windowMin |
[Optional. Default: 25] Number of 10ms history samples to gather before calculating the noise floor - ignored if useVad is true | |
uint32_t | windowMax |
[Optional. Default: 125] Maximum number of 10ms history samples - ignored if useVad is true | |
double | coefficient |
[Optional. Default: 1.75] Coefficient by which to multiply the current history average to determine the floor - ignored if useVad is true | |
Public Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase | |
nlohmann::json | _attached |
Additional Inherited Members | |
Protected Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase | |
bool | _documenting |
Description of an audio gate.
Helper C++ class to serialize and de-serialize AudioGate JSON.
Example:
Definition at line 3067 of file ConfigurationObjects.h.
|
inline |
Definition at line 3092 of file ConfigurationObjects.h.
|
inline |
Definition at line 3097 of file ConfigurationObjects.h.
double AppConfigurationObjects::AudioGate::coefficient |
[Optional. Default: 1.75] Coefficient by which to multiply the current history average to determine the floor - ignored if useVad is true
Definition at line 3089 of file ConfigurationObjects.h.
bool AppConfigurationObjects::AudioGate::enabled |
[Optional. Default: false] Enables the audio gate if true
Definition at line 3074 of file ConfigurationObjects.h.
uint32_t AppConfigurationObjects::AudioGate::hangMs |
[Optional. Default: 1500] Hang timer in milliseconds
Definition at line 3080 of file ConfigurationObjects.h.
bool AppConfigurationObjects::AudioGate::useVad |
[Optional. Default: false] Use voice activity detection rather than audio energy
Definition at line 3077 of file ConfigurationObjects.h.
uint32_t AppConfigurationObjects::AudioGate::windowMax |
[Optional. Default: 125] Maximum number of 10ms history samples - ignored if useVad is true
Definition at line 3086 of file ConfigurationObjects.h.
uint32_t AppConfigurationObjects::AudioGate::windowMin |
[Optional. Default: 25] Number of 10ms history samples to gather before calculating the noise floor - ignored if useVad is true
Definition at line 3083 of file ConfigurationObjects.h.