XCORE SDK
XCORE Software Development Kit
|
Functions | |
void | vad_init (vad_state_t *state) |
Function that initialises a VAD instance. Must be called before vad_probability_voice. More... | |
uint8_t | vad_probability_voice (const int32_t input[VAD_FRAME_ADVANCE], vad_state_t *state) |
Function that classifies whether the recent set of samples contains voice. More... | |
void vad_init | ( | vad_state_t * | state | ) |
Function that initialises a VAD instance. Must be called before vad_probability_voice.
state[inout] | Pointer to a vad_state_t state structure |
uint8_t vad_probability_voice | ( | const int32_t | input[VAD_FRAME_ADVANCE], |
vad_state_t * | state | ||
) |
Function that classifies whether the recent set of samples contains voice.
input[in] | Array of samples sampled in the time domain It should contain VAD_FRAME_ADVANCE new samples since the last call |
state[inout] | Reference to the state stucture. Should be declared as vad_state_t state. Prior to calling the funciton, the state must have been initialised with vad_init(). |