Displaying 2 results from an estimated 2 matches for "ref_pow".
Did you mean:
ref_pos
2008 May 29
2
FFT Resampler
...zeroes as there are samples.
Convert to long double.
Use one long double FFT for the entire thing.
Then, for both reference and resampled, let power[i] = sqrt(real[i]^2 +
imag[i]^2). We only care about the lower half of this power (remember we
padded with zeroes).
Then, let SNR = sum[all i] abs(ref_power[i] / resamp_power[i] - 1.0)
IE; SNR = 0 is a perfect signal. Everything else means the signal deviates.
There are 3 SNR values posted below. The first value is the 0->4khz
range (which for 48khz output means the lower 1/6th of the power
spectrum). The second is the 0->8khz range (full or...
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