SPRAAK
|
Calculation of noise mean and variance. More...
Functions | |
int | spr_n_mean_setup (SprSspInfo *Info, const char **descript, void *aux_info) |
int | spr_n_mean_process (SprSspInfo *Info, const void *frame_in, void *frame_out) |
void | spr_n_mean_reset (SprSspInfo *Info, SprSspStatus *action) |
void | spr_n_mean_free (SprSspInfo *Info) |
Calculation of noise mean and variance.
This program calculates the noise means and variances. Initialisation over init_nfr. Speech detection information should be given as input. The means and variances are calculated recursively from the initvalue.
[n_mean] | |
---|---|
nfr <number> | |
Number of frames used for initial mean/variance-values calculation. Set it to -1 if all frames should be used. Default 100. | |
spdet_in <copy/move> <buf_name> | |
Name of the second input stream. Speech detection information (1 or 0) | |
alpha_m <number> | |
Updating factor for mean, default 0.02. | |
alpha_v <number> | |
Updating factor for variance, default 0.02. |