Displaying 4 results from an estimated 4 matches for "noise_shift".
2008 Feb 12
0
Second part of data export patch
...case SPEEX_PREPROCESS_GET_PSD:
+ for(i=0;i<st->ps_size;i++)
+ ((spx_int32_t *)ptr)[i] = (spx_int32_t) st->ps[i];
+ break;
+ case SPEEX_PREPROCESS_GET_NOISE_PSD:
+ for(i=0;i<st->ps_size;i++)
+ ((spx_int32_t *)ptr)[i] = (spx_int32_t) PSHR32(st->noise[i], NOISE_SHIFT);
+ break;
default:
speex_warning_int("Unknown speex_preprocess_ctl request: ", request);
return -1;
-------------- next part --------------
diff -ubBwr get_psd/include/speex/speex_preprocess.h get_prob/include/speex/speex_preprocess.h
--- get_psd/include/speex/spee...
2009 Jun 24
2
Speech switching in speakerphone?
>> I think the residual echo estimation is fairly reliable but I do not know
>> how to use this to improve Pframe and in that way solve our main problem
>> with the gain during near end talk.
>
> How can you tell that the residual echo estimation is reliable? in any
> case, I suspect that the whole Pframe idea might have to be revised
> (i.e. computing it completely
2008 Feb 02
0
Patch to make analysis data available.
...OCESS_GET_POWER_SPECTRUM:
+ for(i=0;i<st->ps_size;i++)
+ ((spx_int32_t *)ptr)[i] = (spx_int32_t) st->ps[i];
+ break;
+ case SPEEX_PREPROCESS_GET_NOISE_ESTIMATE:
+ for(i=0;i<st->ps_size;i++)
+ ((spx_int32_t *)ptr)[i] = (spx_int32_t) PSHR32(st->noise[i], NOISE_SHIFT);
+ break;
+ case SPEEX_PREPROCESS_GET_SNR:
+ {
+ spx_int32_t fstart = (spx_int32_t) DIV32(MULT16_16(300 * 2, st->ps_size), st->sampling_rate);
+ spx_int32_t fend = (spx_int32_t) DIV32(MULT16_16(2000 * 2, st->ps_size), st->sampling_rate);
+ spx_word32_t Z = 0;
+ for(i = fs...
2008 Feb 19
4
Patch for Analog Devices compiler & fixed-point AGC
...t;echo_noise, st->echo_noise+N);
+ filterbank_compute_bank32(st->bnk, st->echo_noise, st->echo_noise+N);
} else {
for (i=0;i<N+M;i++)
st->echo_noise[i] = 0;
@@ -784,7 +784,7 @@
if (!st->update_prob[i] || st->ps[i] < PSHR32(st->noise[i], NOISE_SHIFT))
st->noise[i] = MAX32(EXTEND32(0),MULT16_32_Q15(beta_1,st->noise[i]) + MULT16_32_Q15(beta,SHL32(st->ps[i],NOISE_SHIFT)));
}
- filterbank_compute_bank32(st->bank, st->noise, st->noise+N);
+ filterbank_compute_bank32(st->bnk, st->noise, st->noise+N);...