Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Raspberry Pi Pico Lecture 4 (2025): Direct Digital Synthesis

3.6K views on YouTube

0:00 – Administrivia
3:00 – Context, and plan for this lecture
4:10 – Introduction to Direct Digital Synthesis
5:20 – The central abstraction of Direct Digital Synthesis
9:00 – Steps of the Direct Digital Synthesis algorithm
13:10 – Deriving the equation for increment as function of desired frequency
18:50 – A quick example
20:30 – Determining the resolution of the synthesizer
22:50 – How big does our sine table need to be?
28:40 – How do we index into the sine table?
31:15 – Answering some common questions
33:30 – Looking back at the code which implements this algorithm
40:20 – Producing modulated frequencies with DDS
43:45 – Why must we ramp sound on and off?
46:50 – Some applications of Direct Digital Synthesis in projects

Spring, 2025 lectures from ECE 4760 (Digital Systems Design Using Microcontroller) at Cornell University.

Course site: https://ece4760.github.io
Hunter’s site: https://vanhunteradams.com