SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
sspmod_vqmask.c File Reference

Impute a spectrum given a decomposed spectrum. More...

Functions

int spr_vqmask_process (SprSspInfo *Info, const void *frame_in, void *frame_out)
 
void spr_vqmask_free (SprSspInfo *Info)
 
int spr_vqmask_setup (SprSspInfo *Info, const char **descript, void *aux_info)
 

Detailed Description

Impute a spectrum given a decomposed spectrum.

Impute a MEL-spectrum given

Right now all variances (sigma) are pooled and set to

Also, the speech Gaussians are assumed to have uniform prior probabilities.

The imputation estimates the underlying noise $ \hat{n}^{(v)},\hat{n}^{(r)} $ for each spectral component and clean speech codebook entry $ {\cal N}_i(\cdot) $ independently, given the decomposed noisy speech spectrum $ y^{(v)} $, $ y^{(r)} $ and the estimate of the noise mean $ \mu^{(r)}_n $ using the following equation:

\[ \hat{n}^{(v)},\hat{n}^{(r)} = \mbox{arg}\max_{n{^(v)},n^{(r)}} (y^{(v)}-\max(\mu^{(v)}_x,n^{(v)}))^2 + (y^{(r)}-\max(\mu^{(r)}_x,n^{(r)}))^2 + \gamma (n^{(r)}-\mu^{(r)}_n)^2 + \lambda (n^{(v)}-n^{(r)} - \mu^{(v-r)}_n)^2 \]

The imputed noise and speech spectrum are $ \max(\hat{n}^{(r)},\hat{n}^{(v)}) $ and $ \max(\mu^{(v)}_x,\mu^{(r)}_x) $ respectively.


[vqmask]
codebook <filename>
Codebook filename (a .mvg file).
Nsil <Nsil>(0) [SpchExclSil/SpchInclSil](SpchInclSil)
Use the first <Nsil> entries for silence frames and the remaining entries for speech frames. Use either all the codebook entries (SpchInclSil; advised when the VAD has 'hangover', i.e. bridges short silence gaps) or only the non-silence ones (SpchExclSil; may work better if the VAD is excellent) for non-silence frames.
gamma <val>(1.0)
Weight of the noise mean Gaussian (1/sqrt(var)).
lambda <val>(1.0)
Weight of the noise linking Gaussian (1/sqrt(var)).
mu_noise [val](0.0) ...
The means mu^(v-r)_n for the Gaussian linking n^(v) with n^(r).

See Also
ssp_master.c
Date
09/02/2011
Author
Kris Demuynck, Maarten Van Segbroeck