Displaying 2 results from an estimated 2 matches for "input_length".
2008 May 29
2
FFT Resampler
...sions (which is
how both resamplers work internally anyway).
What I did was this:
Load speex_wb.wav as one large chunk of data.
Pad data with as many zeroes as there are samples.
Convert to long double.
Use one long double FFT for the entire thing.
Insert or chop off zeroes so the new length is
(input_length)*(sample_target)/(sample_source)
Use one long double iFFT for the entire thing.
We'll call the FFT and iFFT of this our reference.
Then, for each resampler below, I've reported the maximum numerical
difference in the time domain(comparing ref[i] with sig[i]) as well as
SNR. Since my know...
2008 May 29
2
FFT Resampler
>> Yes, I plan to use it in a VoIP environment if I can get latency reduced to
>> an acceptable level :)
>> The latency depends directly on the overlap parameter, which also controls
>> the quality. Higher quality => higher latency. You could set the overlap to
>> 0, but that would give you some nasty artifacts.
>> You can also resample with smaller block