|
miniDSP
A small C library for audio DSP
|
Internal state for the VAD detector. More...
#include <minidsp.h>
Data Fields | |
| MD_vad_params | params |
| Copy of caller params. | |
| double | feat_min [MD_VAD_NUM_FEATURES] |
| EMA-tracked feature minimums. | |
| double | feat_max [MD_VAD_NUM_FEATURES] |
| EMA-tracked feature maximums. | |
| unsigned | onset_counter |
| Consecutive above-threshold count. | |
| unsigned | hangover_counter |
| Remaining hangover frames. | |
| int | current_decision |
| Current speech decision (0 or 1). | |
| unsigned | frames_processed |
| Total frames seen. | |
Internal state for the VAD detector.
Caller-owned, stack-allocatable. No heap allocations. Initialize with MD_vad_init() before use.
| int MD_vad_state::current_decision |
| double MD_vad_state::feat_max[MD_VAD_NUM_FEATURES] |
| double MD_vad_state::feat_min[MD_VAD_NUM_FEATURES] |
| unsigned MD_vad_state::frames_processed |
| unsigned MD_vad_state::hangover_counter |
| unsigned MD_vad_state::onset_counter |
| MD_vad_params MD_vad_state::params |