SPRAAK
|
Normalisation of autocorrelation parameters. More...
Functions | |
int | spr_norm_aut_setup (SprSspInfo *Info, const char **descript, void *aux_info) |
int | spr_norm_aut_process (SprSspInfo *Info, const void *frame_in, void *frame_out) |
void | spr_norm_aut_reset (SprSspInfo *Info, SprSspStatus *action) |
void | spr_norm_aut_free (SprSspInfo *Info) |
Normalisation of autocorrelation parameters.
This routine normalises the input autocorrelation parameters. First, a peak level, the maximum first autocorrelation coefficient, is needed. This maximum can be given, or the maximum of the first X frames in the file is taken (if X is -1, the maximum in the whole file is taken). If MASKING is asked for, a constant is calculated as the peak_level minus the given SNR. This constant is added to the first autocorrelation coefficient in all frames. If NORMALISATION is asked for, a constant gain is calculated as the given target level minus the peak level. All autocorrelation coefficients in all frames are multiplied with this gain.
[norm_aut] | |
---|---|
nfr <number> | |
Number of frames used for searching the maximum. Set it to -1 (default) if all frames will be used. Overruled if a peak level is given. | |
peak_level <peak> | |
Peak energy (first autocorrelation coefficient), not in dB. If not given, the largest number in the first X frames (see nfr option) is used. | |
normalise [target] | |
Perform normalisation with given target peak level after normalisation (in dB, default 60.0 dB). | |
mask [SNR] | |
Perform masking with given remaining SNR after masking (in dB, default 30.0 dB). |