#include <speex_preprocess.h>
Public Attributes | |
int | frame_size |
int | ps_size |
int | sampling_rate |
float * | frame |
float * | ps |
float * | gain2 |
float * | window |
float * | noise |
float * | reverb_estimate |
float * | old_ps |
float * | gain |
float * | prior |
float * | post |
float * | S |
float * | Smin |
float * | Stmp |
float * | update_prob |
float * | zeta |
float * | loudness_weight |
float * | inbuf |
float * | outbuf |
float | loudness |
float | loudness2 |
int | nb_adapt |
int | nb_loudness_adapt |
int | consec_noise |
int | nb_preprocess |
drft_lookup * | fft_lookup |
Number of samples processed each time
Number of points in the power spectrum
Sampling rate of the input/output
float* SpeexPreprocessState::frame |
Processing frame (2*ps_size)
float* SpeexPreprocessState::ps |
Current power spectrum
float* SpeexPreprocessState::gain2 |
Adjusted gains
float* SpeexPreprocessState::window |
Analysis/Synthesis window
float* SpeexPreprocessState::noise |
Noise estimate
Estimate of reverb energy
float* SpeexPreprocessState::old_ps |
Power spectrum for last frame
float* SpeexPreprocessState::gain |
Ephraim Malah gain
float* SpeexPreprocessState::prior |
A-priori SNR
float* SpeexPreprocessState::post |
A-posteriori SNR
float* SpeexPreprocessState::S |
Smoothed power spectrum
float* SpeexPreprocessState::Smin |
See Cohen paper
float* SpeexPreprocessState::Stmp |
See Cohen paper
Propability of speech presence for noise update
float* SpeexPreprocessState::zeta |
Smoothed a priori SNR
Perceptual loudness curve
float* SpeexPreprocessState::inbuf |
Input buffer (overlapped analysis)
float* SpeexPreprocessState::outbuf |
Output buffer (for overlap and add)
loudness estimate
loudness estimate
Number of frames used for adaptation so far
Number of frames used for loudness adaptation so far
Number of consecutive noise frames
Number of frames processed so far
Lookup table for the FFT