←back to thread

What Is the Fourier Transform?

(www.quantamagazine.org)
474 points rbanffy | 6 comments | | HN request time: 0.453s | source | bottom
1. eric-burel ◴[] No.45137452[source]
What always bothered me when trying to "feel" Fourier transforms is that to compute the oscillations, you need to wait some time. Mathematically, the transformation includes computing integrals. So it's tricky to understand how you compute the Fourier decomposition for a stream. Illustrations always show the whole signal over time but in real life you get the signal progressively. I'd be eager to read more on this.
replies(5): >>45137577 #>>45137594 #>>45137601 #>>45137735 #>>45137768 #
2. yobbo ◴[] No.45137577[source]
As I remember intuitively, it's a convolution over a time window. The size of the time window limits the frequencies that can be detected.
3. thyristan ◴[] No.45137594[source]
For a stream, you use a sliding window to compute the FFT. The size of the window of course limits the lowest frequency range that you can 'see', same for the highest frequency through the time quantization that digital data usually has. So there will be an upper and lower frequency limit, beyond those limits the results are meaningless.

And the window of course creates a latency, which is sometimes relevant for realtime audio filtering by FFT.

4. dsego ◴[] No.45137601[source]
You do it in short windows, so you get eg. 512 samples and then run a short FFT. Or you can do longer windows that overlap, so e.g. hop by 512 but take 1024, more samples gives you more accurate results.
5. jeremyscanvic ◴[] No.45137735[source]
The keyword you're looking for is time-frequency analysis and the main associated tool is the short-time Fourier transform(s). This is the theory underlying spectrograms and all those niceties!
6. acjohnson55 ◴[] No.45137768[source]
Check out https://en.m.wikipedia.org/wiki/Short-time_Fourier_transform

This is the "Fourier transform" that is most often used, in practice in computing.

A longer window length gives lower frequency resolution, but longer latency.