Skip to main content
AmigoFish

Coding Adventure: Sound (and the Fourier Transform)

From Sebastian Lague · · 43 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.

If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.

Watch on YouTube

Not rated yet

Description

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: https://www.patreon.com/SebastianLague

Source Code: https://github.com/SebLague/Audio-Experiments/tree/Episode-01

Credits and References: ● @3blue1brown video: https://youtu.be/spUNpyF58BY?si=U5pu40UUNk-7mda0 ● Music: 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

Back to Sebastian Lague · Report a problem