miniDSP
A small C library for audio DSP
Loading...
Searching...
No Matches
MD_vad_params Struct Reference

Parameters for the VAD detector. More...

#include <minidsp.h>

Data Fields

double weights [MD_VAD_NUM_FEATURES]
 Per-feature weights for scoring.
double threshold
 Decision threshold (0.0–1.0).
unsigned onset_frames
 Consecutive above-threshold frames before speech.
unsigned hangover_frames
 Extra speech frames after score drops.
double adaptation_rate
 EMA rate for min/max tracking (0.0–1.0).
double band_low_hz
 Lower bound of speech band (Hz).
double band_high_hz
 Upper bound of speech band (Hz).

Detailed Description

Parameters for the VAD detector.

All fields are caller-tunable. Use MD_vad_default_params() to populate with sensible defaults before adjusting individual fields.

Definition at line 1803 of file minidsp.h.

Field Documentation

◆ adaptation_rate

double MD_vad_params::adaptation_rate

EMA rate for min/max tracking (0.0–1.0).

Definition at line 1808 of file minidsp.h.

◆ band_high_hz

double MD_vad_params::band_high_hz

Upper bound of speech band (Hz).

Definition at line 1810 of file minidsp.h.

◆ band_low_hz

double MD_vad_params::band_low_hz

Lower bound of speech band (Hz).

Definition at line 1809 of file minidsp.h.

◆ hangover_frames

unsigned MD_vad_params::hangover_frames

Extra speech frames after score drops.

Definition at line 1807 of file minidsp.h.

◆ onset_frames

unsigned MD_vad_params::onset_frames

Consecutive above-threshold frames before speech.

Definition at line 1806 of file minidsp.h.

◆ threshold

double MD_vad_params::threshold

Decision threshold (0.0–1.0).

Definition at line 1805 of file minidsp.h.

◆ weights

double MD_vad_params::weights[MD_VAD_NUM_FEATURES]

Per-feature weights for scoring.

Definition at line 1804 of file minidsp.h.


The documentation for this struct was generated from the following file: