On Mar 21, 4:42*am, "hq9000" <
[email protected]> wrote:
> Hello all,
>
> I want to see a spectrum of the audio signal but there are not
> requirements for it to be extremely precise. I mean no backward conversion
> to time domain is supposed to be performed. The fourier transform is for
> visual picture of frequency distribution only.
>
> So I can easily tolerate quite a huge error in frequency coefficients. In
> this situation is there any way to achieve any performance gain in FFT?
>
> So we sacrifice on the precision but gain in performance...
>
> Do you think it's feasible?
>
> Thanks!
Along the lines of the suggestion from Jerry Avins, you might be able
to apply a coarse quantization to the input signal. By doing so, an
approximate FFT can be computed from selective addition and
subtraction of pre-computed numbers, without using any multiplications
at all (other than a final scale factor). Depending on the coarseness
of the quantization, there have been reports of a 10x increase in
computational speed, with large (but perhaps acceptable -- only you
will know) losses in accuracy.
For example, the authors in the following paper suggest a three-level
coarse quantization, where numbers in the input amplitude range of -2A
to +2A are quantized to one of only three values: -2A/3, 0, +2A/3.
They rescale this to -1, 0, +1. Then, all multiplications by the sin/
cos basis functions can be pre-computed and stored in a table, for
selective addition and subtraction, on an as-needed basis, in
dependence on the coarse quantization of the actual signal:
"Efficient STFT approximation using a quantization and differencing
method", by S. Hamid Nawab, Erkan Dorken, Proc. IEEE Int. Conf.
Acoustics, Speech, and Signal (1993)
at http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.52.1149
(Unfortunately, the third page of this article is not readable)
Naturally, with such a coarse quantization, the technique introduces
significant error. The authors report a resulting SNR in the
quantized version of approx 9 dB. The trade-off is speed: They also
report an approximate 10X increase in speed over "standard" STFT
In addition, they later reported a technique for incremental
refinement to improve precision:
"Incremental refinement of DFT and STFT approximations", by Joseph M.
Winograd, S. Hamid Nawab, IEEE Sig. Proc. Letters (1995)
at http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.55.1499