Audio Compressor Software Implementation (STM32 DSP) - Phils lab #157 @PhilsLab
Audio Compressor Software Implementation (STM32 DSP) - Phils lab #157  @PhilsLab
Uploaded June 2025 | Updated November 2026, 3 hours ago
Discover Easy, Affordable, and Reliable PCB manufacturing with JLCPCB! Register to get $70 New customer coupons: 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: phils-lab.net/courses

Patreon: patreon.com/phils94

[GIT]
github.com/pms67

[SOCIAL]
Instagram: instagram.com/philslabyt

[LINKS]
Recursive Moving RMS Video: youtube.com/watch?v=miUXBXUDJDI
DSP Playlist: youtube.com/playlist?list=PLXSyc11qLa1ZCn0JCnaaXOWN6Z46rK9jd
MATLAB Compressor: de.mathworks.com/help/audio/ref/compressor-system-object.html
Gain Computer Static Non-Linearity Interactive Graph: 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
Audio Compressor Software Implementation (STM32 DSP) - Phils lab #157PCB Via Fencing & Edge Plating Basics - Phils Lab #175Self-Balancing Bicycle - Lego PrototypeMixed-Signal PCB Design Course Preview & JLCPCB 6-Layer Assembly - Phils Lab #16PCB Design Final Touches (Tips & Checklist) - Phils Lab #131(Sponsored) Guitar Boost Pedal Design - Phils Lab #74(Sponsored) SDRAM Hardware & Firmware Tutorial (STM32) - Phils Lab #80QFN PCB Design Tips & Tricks - Phils Lab #144(Sponsored) Extended Kalman Filter - Sensor Fusion #3 - Phils Lab #37(Sponsored) USB Hub Design Walkthrough - Phils Lab #86Udemy Course - KiCad V6 and STM32 Hardware Design - Phils Lab #47KiCad 9 Hardware Design Tutorial (TI MSPM0) (2/2 PCB) - Phils Lab #166
Phil’s Lab |

Audio Compressor Software Implementation (STM32 DSP) - Phil's lab #157

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER