Spectral Analysis

Decomposing audio with algorithms
Spring 2019 - Audio Tech Talk Series
February 5, 2019
audio_wave

Frequency

Time Domain -> Frequency domain

audio_wave

Fourier Transform

But first we have to talk about correlation...

440 Hz sine wave

audio_wave

Corrleation between 440 Hz and 200 Hz

audio_wave

Corrleation between 440 Hz and 440 Hz

audio_wave

start

start

start

This is (almost) the Fourier Transform

How about a piano note?


start

One more question?

How can we use this?

Frequency Analysis & Correction

Pitch Shifting

Pitch shifting our piano example...

Original

Shifted

Time Stretching

Fast Fourier Transform

SamplesLengthN^2N/2*log2(N)ratio
640.0014,09619221.3
2560.00665,5361,02464.0
1,0240.0231,048,5765,120204.8
4,0960.09316,777,21624,576682.7
16,3840.372268,435,456114,6882,340.6
65,5361.4864,294,967,296524,2888,192.0
131,0722.97217,179,869,1841,114,11215,420.2

* Assuming 44.1 kHz sampling rate
Next Talk - February 19

Audio Myths

Dispelling common misconceptions and misleading truths