Home
Speech module

SpeechEvent

SpeechEvent

#include <icy/speech/event.h>

Public Attributes

ReturnNameDescription
std::stringtype
std::stringsource
std::stringdetector
int64_temittedAtUsec
AudioRefaudio
boolactive
floatlevel
floatpeak
json::Valuedata

type

std::string type = "speech:update"

source

std::string source

detector

std::string detector

emittedAtUsec

int64_t emittedAtUsec = 0

audio

AudioRef audio

active

bool active = false

level

float level = 0.0f

peak

float peak = 0.0f

data

json::Value data = json::Value::object()