MENU

Fun & Interesting

Coding Adventure: Sound (and the Fourier Transform)

Sebastian Lague 563,924 9 months ago
Video Not Working? Fix It Now

Some small experiments with sound, and learning how to break signals down into their component frequencies by implementing the Discrete Fourier Transform. Links: ● Project files: https://github.com/SebLague/Fourier-Transform ● Support my work on: -- Patreon: https://www.patreon.com/SebastianLague -- Ko-Fi: https://ko-fi.com/sebastianlague ● Coding Adventures Playlist: https://youtube.com/playlist? list=PLFt_AvWsXl0ehjAfLFsp1PGaatzAwo0uK&si=LQBQOcF_F0Cxnzj_ ● Fluid Sim video: https://youtu.be/rSKMYc1CQHE?si=FtYVPLtOF85iOkMl ● @3blue1brown video: https://youtu.be/spUNpyF58BY?si=U5pu40UUNk-7mda0 ● Music Credits: https://github.com/SebLague/Misc-Project-Info/blob/main/Coding-Adventures/FourierTransform 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

Comment