Coding Adventure: Sound (and the Fourier Transform)

Sebastian Lague August 10, 2024
Video Thumbnail

About

No channel description available.

Video 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 or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague Source Code: * GitHub: https://github.com/SebLague/Fourier-Transform 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

Unleash Your Sound: Essential Tools

AI-recommended products based on this video

Loading...
10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

(1)
$99.99
FREE delivery Mon, Aug 11
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
Wireless Lavalier Microphone for iPhone/iPad/Android Phone, Utsund LED Display Mini Mic for Video Recording, USB C Microphone Clip on Lapel Mics for Podcast Interview Tiktok Vlog

Wireless Lavalier Microphone for iPhone/iPad/Android Phone, Utsund LED Display Mini Mic for Video Recording, USB C Microphone Clip on Lapel Mics for Podcast Interview Tiktok Vlog

(66)
$19.99
FREE delivery Sat, Jun 14 on your first order
200+ bought in past month
Loading...
Wireless Lavailer Microphone for iPhone, Android, Camera, iPad, USB C, 4 in 1 Professional Mini Microphone with Noise Reduction, Wireless Mic for Video Recording, Vlog, YouTube, TikTok

Wireless Lavailer Microphone for iPhone, Android, Camera, iPad, USB C, 4 in 1 Professional Mini Microphone with Noise Reduction, Wireless Mic for Video Recording, Vlog, YouTube, TikTok

(329)
$22.99
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month
Loading...
ZealSound USB Microphone,Condenser Phone Computer PC Mic kit,Plug&Play Gaming Microphones for PS 4&5.Mic Gain&Volume Control,Echo &Mute Button for Vocal,Record,Streaming,Discord YouTube Podcast on Mac
Best Seller

ZealSound USB Microphone,Condenser Phone Computer PC Mic kit,Plug&Play Gaming Microphones for PS 4&5.Mic Gain&Volume Control,Echo &Mute Button for Vocal,Record,Streaming,Discord YouTube Podcast on Mac

(7,039)
$48.99
PrimeFREE delivery Sat, Jun 14
1K+ bought in past month
Loading...
USB C Headphones for iPhone 17/16/16e/15 Pro Max/Plus, Type C Earbuds Wired Earphones (Microphone & Remote Control) Noise Cancelling for lPad Pro, Galaxy S23/S22/S21/S20

USB C Headphones for iPhone 17/16/16e/15 Pro Max/Plus, Type C Earbuds Wired Earphones (Microphone & Remote Control) Noise Cancelling for lPad Pro, Galaxy S23/S22/S21/S20

(30)
$12.59
FREE delivery Tue, Mar 24 on your first order
500+ bought in past month
Loading...
OYIB Wireless Earbuds, 2025 Mini Bluetooth 5.3 Headphones HD Stereo Audio, ENC Noise Cancelling Mic Wireless Earphones 25H Playtime, IPX7 Waterproof, Touch Control in Ear Wireless Headphone White

OYIB Wireless Earbuds, 2025 Mini Bluetooth 5.3 Headphones HD Stereo Audio, ENC Noise Cancelling Mic Wireless Earphones 25H Playtime, IPX7 Waterproof, Touch Control in Ear Wireless Headphone White

(1,932)
$19.79
FREE delivery Sat, Jun 14 on your first order
100+ bought in past month
Loading...
Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 4 HD Mic, 50H Playtime Bluetooth Earbuds with LED Display, IPX7 Waterproof Wireless Earphones, Touch Control Ear Buds,USB-C White

Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 4 HD Mic, 50H Playtime Bluetooth Earbuds with LED Display, IPX7 Waterproof Wireless Earphones, Touch Control Ear Buds,USB-C White

(316)
$29.99
Prime
1K+ bought in past month
Loading...
Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 6 HD Mics, 2025 Active Noise Cancelling Earbuds, 36H Playtime and LED Display in Ear Earphones, IP7 Waterproof Wireless Headphones, Black

Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 6 HD Mics, 2025 Active Noise Cancelling Earbuds, 36H Playtime and LED Display in Ear Earphones, IP7 Waterproof Wireless Headphones, Black

(159)
$29.99$26.99
FREE delivery Fri, Jan 2 on your first order
Loading...
Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 4 HD Mic, 50H Playtime Bluetooth Earbuds with LED Display, IPX7 Waterproof Wireless Earphones, Touch Control Ear Buds,USB-C White

Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 4 HD Mic, 50H Playtime Bluetooth Earbuds with LED Display, IPX7 Waterproof Wireless Earphones, Touch Control Ear Buds,USB-C White

(228)
$26.99
Prime