Linked Questions

63
votes
8answers
99k views

How do I implement cross-correlation to prove two audio files are similar?

I have to do cross correlation of two audio file to prove they are similar. I have taken the FFT of the two audio files and have their power spectrum values in separate arrays. How should I proceed ...
5
votes
3answers
8k views

Advantages/disadvantage of zero padding

I would like to know what are the advantages/disadvantage of zero padding with respect to frequency measurement and amplitude measurement
5
votes
3answers
4k views

Zero Padding in FFT

whats is the effect of pading zeroes to a sequence in FFT? for eg: x[n]=[2 3 4 5] corresponds to X[K]=[14 -2+2i -2 -2-2i] while x[n]=[2 3 4 5 0 0 0 0] corresponds to X[K]=[14 0.58-9.65i -2+2i -3.414+...
3
votes
3answers
3k views

disadvantages of FFT, it can not extract enough frequencies without enough samples

Let's say sampling rate is $Fs = 44\mathtt{kHz}$, now I have $N = 2048$ samples, then I can get $N/2 + 1 = 1025$ frequencies. I'm confused by Matlab's FFT documentation that says the frequencies are ...
3
votes
3answers
5k views

Zero-pad before or after windowing for FFT

What's the correct way. Should I zero-pad a signal before or after applying a windowing function?

15 30 50 per page
1
2