search for: zhouyuchen

Displaying 2 results from an estimated 2 matches for "zhouyuchen".

2019 Nov 06
0
【SPEEX】 use speex resample make noise
Look, how about you start from the testresample.c file? Oh, and you seem to be reading 320 samples at a time and processing 640, so that can't be good (and even beyond that your code is wrong for other reasons). Jean-Marc On 11/6/19 1:56 AM, zhouyuchen at iauto.com wrote: > Hello, > I printed the log, in/out len is not truncated, which means that the > input and output are not truncated, > but the sound quality is very bad, what would be the cause? > I tried to call speex_resampler_reset_mem before each sample, but the > effec...
2019 Nov 05
0
【SPEEX】 use speex resample make noise
Be aware that inlen is an in/out parameter. It tells you how many samples the resampler read. That number can be smaller than what you passed -- in which case it means you need to buffer them and give them to the resampler again in the next call. Jean-Marc On 11/5/19 8:27 AM, zhouyuchen at iauto.com wrote: > Hello, > I have encountered some problems. I want to use speex to convert the > sampling rate (16000->48000). > When I read 640bytes each time, I found that the sound after the sound > conversion is very noisy, > but if I read 6400bytes each time. The co...