Speech module
SpeechEvent
A speech:start, speech:update or speech:end event, with the source, detector, audio and signal levels that produced it.
#include <icy/speech/event.h>
struct SpeechEventDefined in src/speech/include/icy/speech/event.h:44
Public Attributes
| Return | Name | Description |
|---|---|---|
std::string | type | |
std::string | source | |
std::string | detector | |
int64_t | emittedAtUsec | |
AudioRef | audio | |
bool | active | |
float | level | |
float | peak | |
json::Value | data |
type
std::string type = "speech:update"Defined in src/speech/include/icy/speech/event.h:46
source
std::string sourceDefined in src/speech/include/icy/speech/event.h:47
detector
std::string detectorDefined in src/speech/include/icy/speech/event.h:48
emittedAtUsec
int64_t emittedAtUsec = 0Defined in src/speech/include/icy/speech/event.h:49
audio
AudioRef audioType: AudioRef
Defined in src/speech/include/icy/speech/event.h:50
active
bool active = falseDefined in src/speech/include/icy/speech/event.h:51
level
float level = 0.0fDefined in src/speech/include/icy/speech/event.h:52
peak
float peak = 0.0fDefined in src/speech/include/icy/speech/event.h:53
data
json::Value data = json::Value::object()Type: json::Value
