FFT — From Time to Frequency
We've been looking at spectrum analysers for ages. Now we open the box. We already know how to collect a block of samples. The next question is simple: what frequencies are inside it?
1 · Same sound. Two views.
2 · Hear it → see it
TIME DOMAIN · waveform
FREQUENCY DOMAIN · spectrum
Try one sine, then two. The waveform rapidly becomes harder to “read”; the frequency view makes the components obvious.
3 · So what is the FFT actually giving us?
The FFT takes a finite block and describes it using a set of discrete frequency components. Each position in that frequency representation is commonly called a bin.
| Time-domain block | FFT result |
|---|---|
| 1024 amplitude samples | A finite set of frequency bins |
| Where the waveform moves through time | Where energy/components occur across frequency |
| Easy to see transients and shape | Easy to see tones, harmonics and spectral balance |
4 · The FFT knows more than the analyser usually shows
A frequency component needs more than “how much?” The FFT also carries phase information.
how much of this component?
where is its cycle / angular relationship?
A familiar spectrum analyser mostly foregrounds magnitude. Later, when we transform the spectrum back into audio, phase becomes crucial.
5 · One awkward problem: we chopped out a block
The FFT analyses a finite section. But the original audio did not politely begin and end exactly where our block boundaries appeared.
If the block boundary creates a discontinuity, the FFT has to describe that discontinuity too. Energy spreads into additional bins. We call this spectral leakage.
6 · So we shape the block before the FFT
A window gently weights the samples in the block, commonly reducing the edges. And yes — it's our old friend again:
MULTIPLY. We don't need to learn all the window types yet. First understand why the stage exists. Later we'll deliberately create leakage and watch a Hann window change it.
FFT Size, Bins & Resolution
How wide is each frequency bucket? Why does a bigger FFT separate nearby frequencies more clearly — and what does that cost us in time?