Public Attributes | |
int | frame_size |
int | ps_size |
int | sampling_rate |
spx_word16_t * | frame |
spx_word16_t * | ft |
spx_word32_t * | ps |
spx_word16_t * | gain2 |
spx_word16_t * | gain_floor |
spx_word16_t * | window |
spx_word32_t * | noise |
spx_word32_t * | reverb_estimate |
spx_word32_t * | old_ps |
spx_word16_t * | gain |
spx_word16_t * | prior |
spx_word16_t * | post |
spx_word32_t * | S |
spx_word32_t * | Smin |
spx_word32_t * | Stmp |
int * | update_prob |
spx_word16_t * | zeta |
spx_word16_t * | inbuf |
spx_word16_t * | outbuf |
float * | loudness_weight |
float | loudness |
float | agc_gain |
int | nb_loudness_adapt |
float | max_gain |
float | max_increase_step |
float | max_decrease_step |
float | prev_loudness |
float | init_max |
int | nb_adapt |
int | min_count |
void * | fft_lookup |
Number of samples processed each time
Number of points in the power spectrum
Sampling rate of the input/output
spx_word16_t* SpeexPreprocessState_::frame |
Processing frame (2*ps_size)
spx_word16_t* SpeexPreprocessState_::ft |
Processing frame in freq domain (2*ps_size)
spx_word32_t* SpeexPreprocessState_::ps |
Current power spectrum
spx_word16_t* SpeexPreprocessState_::gain2 |
Adjusted gains
spx_word16_t* SpeexPreprocessState_::gain_floor |
Minimum gain allowed
spx_word16_t* SpeexPreprocessState_::window |
Analysis/Synthesis window
spx_word32_t* SpeexPreprocessState_::noise |
Noise estimate
spx_word32_t* SpeexPreprocessState_::reverb_estimate |
Estimate of reverb energy
spx_word32_t* SpeexPreprocessState_::old_ps |
Power spectrum for last frame
spx_word16_t* SpeexPreprocessState_::gain |
Ephraim Malah gain
spx_word16_t* SpeexPreprocessState_::prior |
A-priori SNR
spx_word16_t* SpeexPreprocessState_::post |
A-posteriori SNR
spx_word32_t* SpeexPreprocessState_::S |
Smoothed power spectrum
spx_word32_t* SpeexPreprocessState_::Smin |
See Cohen paper
spx_word32_t* SpeexPreprocessState_::Stmp |
See Cohen paper
Probability of speech presence for noise update
spx_word16_t* SpeexPreprocessState_::zeta |
Smoothed a priori SNR
spx_word16_t* SpeexPreprocessState_::inbuf |
Input buffer (overlapped analysis)
spx_word16_t* SpeexPreprocessState_::outbuf |
Output buffer (for overlap and add)
Perceptual loudness curve
Loudness estimate
Current AGC gain
Number of frames used for loudness adaptation so far
Maximum gain allowed
Maximum increase in gain from one frame to another
Maximum decrease in gain from one frame to another
Loudness of previous frame
Current gain limit during initialisation
Number of frames used for adaptation so far
Number of frames processed so far
Lookup table for the FFT