Coding Adventure: Sound (and the Fourier Transform)

Опубликовано: 25 Апрель 2026
на канале: Sebastian Lague
684,759
32k

Some small experiments with sound, and learning how to break signals down into their component frequencies by implementing the Discrete Fourier Transform.

Support my work (and get early access to new videos and source code) on Patreon:   / sebastianlague  

Source Code:
https://github.com/SebLague/Audio-Exp...

Credits and References:
● ‪@3blue1brown‬ video:    • But what is the Fourier Transform?  A visu...  
● Music: https://github.com/SebLague/Misc-Proj...

Chapters:
00:00 Intro
00:48 Dot Wav
03:05 Waveform
04:24 Playing a Sound
05:03 Wave Simulation
10:31 Speed Change
12:38 Signal Generation
17:14 Fourier Vis (single frequency)
23:31 Fourier Vis (multiple frequencies)
28:01 First Attempt at DFT
31:39 The Nyquist Rate
35:14 Frequency Resolution
37:25 DFT Implementation
39:31 Testing the DFT Function
42:41 Outro