(Sponsored) Audio Compressor Software Implementation (STM32 DSP) - Phil's lab #157
Jun 8, 2025•Channel
AI Analysis
Data from YouTube Data API v3•Updated Just now
Video Overview
Video Details
PublishedJun 8, 2025
Duration32:37
Video IDfHcRKKvXxpo
Languageen
CategoryScience & Technology
PrivacyPublic
Made for KidsNo
Video TypeRegular Video
Performance Metrics
Views10.7K
Likes514
Comments48
Engagement Rate5.26%
Likes per 100 views4.81
Comments per 1K views4.49
Description
Discover Easy, Affordable, and Reliable PCB manufacturing with JLCPCB! Register to get $70 New customer coupons: https://jlcpcb.com/?from=PhilsLab (AD: This video includes a paid promotion for JLCPCB and Altium.)
Basics of audio dynamic range compressors, covering their individual functional blocks (envelope detector, gain computer, attack and release) and DSP theory, and implementation in software on an STM32H7 microcontroller. Audio examples using an electric guitar.
[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon: https://www.patreon.com/phils94
[GIT]
https://github.com/pms67
[SOCIAL]
Instagram: https://instagram.com/philslabyt
[LINKS]
Recursive Moving RMS Video: https://www.youtube.com/watch?v=miUXBXUDJDI
DSP Playlist: https://www.youtube.com/playlist?list=PLXSyc11qLa1ZCn0JCnaaXOWN6Z46rK9jd
MATLAB Compressor: https://de.mathworks.com/help/audio/ref/compressor-system-object.html
Gain Computer Static Non-Linearity Interactive Graph: https://www.desmos.com/calculator/wkmkrmn9le
[TIMESTAMPS]
00:00 Intro
00:57 JLCPCB (Ad)
02:02 Altium 365 (Ad)
03:08 Basics
05:34 Block Diagram
08:26 Envelope Detector
10:50 Gain Computer
13:20 Interactive Graph
15:06 Attack & Release (Gain Smoothing)
18:41 Make-Up Gain & Gain Adjustment
19:58 Firmware
21:27 Firmware Parameters
22:24 Firmware Init()
22:54 Firmware Update()
26:41 main.c
27:41 Control Test
31:25 Guitar Playthrough
32:11 Outro