D | denoise.c | 311 … float *Ex, float *Ep, float *Exp, float *features, const float *in) { in compute_frame_features() argument 341 compute_band_energy(Ep, P); in compute_frame_features() 343 for (i=0;i<NB_BANDS;i++) Exp[i] = Exp[i]/sqrt(.001+Ex[i]*Ep[i]); in compute_frame_features() 422 void pitch_filter(kiss_fft_cpx *X, const kiss_fft_cpx *P, const float *Ex, const float *Ep, in pitch_filter() argument 437 r[i] *= sqrt(Ex[i]/(1e-8+Ep[i])); in pitch_filter() 463 float Ex[NB_BANDS], Ep[NB_BANDS]; in rnnoise_process_frame() local 473 silence = compute_frame_features(st, X, P, Ex, Ep, Exp, features, x); in rnnoise_process_frame() 477 pitch_filter(X, P, Ex, Ep, Exp, g); in rnnoise_process_frame() 549 float Ex[NB_BANDS], Ey[NB_BANDS], En[NB_BANDS], Ep[NB_BANDS]; in main() local 622 int silence = compute_frame_features(noisy, X, P, Ex, Ep, Exp, features, xn); in main() [all …]
|