Comb Filters & Delay Lines in Software (STM32) - Phil's Lab

  Рет қаралды 8,612

Phil’s Lab

Phil’s Lab

Күн бұрын

Design your own delay-based audio algorithms with FIR comb filters and delay lines! Theory, measurements, and real-world implementation with STM32 MCUs in C. PCBs by PCBWay www.pcbway.com
[SUPPORT]
Hardware design courses: phils-lab-shop.fedevel.education
Course content: www.phils-lab.net/courses
Fedevel courses: www.fedevel.com
Free trial of Altium Designer: www.altium.com/yt/philslab
Tag-Connect: www.tag-connect.com/solutions...
Patreon: / phils94
[GIT]
github.com/pms67
[SOCIAL]
Instagram: / philslabyt
[LINKS]
DSP Playlist: • Real-Time Software Imp...
Time-Domain Plot: www.desmos.com/calculator/pef...
Frequency-Domain Plot: www.desmos.com/calculator/2de...
[TIMESTAMPS]
00:00 Intro
01:52 PCBWay
02:11 DSP Videos
02:28 Delay Lines
04:19 DSP Hardware
05:15 Delay Line Implementation
09:32 Delay Line Demo
12:01 Delay Line Guitar
12:22 Comb Filter
14:11 Comb Filter Time-Domain
17:19 Comb Filter Frequency-Domain
22:56 Comb Filter Implementation
24:00 Comb Filter Demo
26:10 Comb Filter Varying Gains
27:12 Comb Filter Guitar
28:42 Outro

Пікірлер: 36
@ericmin832
@ericmin832 7 ай бұрын
I wish my professor started each lecture with a sick guitar shred
@PhilsLab
@PhilsLab 7 ай бұрын
Haha same!
@madrigo
@madrigo 7 ай бұрын
How glad I am that Phil is doing this DSP series. After building a DDS synth I wanted to dive into DSP. My main problem is that in order to do some physical modeling or filtering I would need to learn more about the models themselves (how the diagrams used for the comb filter is called, where to find more models like that, etc...) and there is not so much information about Z-transforms without involving tons of math. For someone who wants to code a model based on a diagram, that is very unnecessary. Can't wait until Phil makes a video on how to do a Reverb or another more complex model. Cheers for all your work Phil. Cannot thank you enough.
@PhilsLab
@PhilsLab 7 ай бұрын
Thank you for your kind comment! I'm very glad to hear that you're liking these audio-based DSP videos. The next in the series is on IIR comb filters and full digital delays. From that we can work towards a reverb!
@madrigo
@madrigo 7 ай бұрын
Hey @@PhilsLab, sorry to bother you but I have two quick questions if you don't mind: 1) If I wanted to refresh all the DSP basics I've learned in college and dive deeper in the audio aspects of it such as effects, synthesis and modeling, do you recommend a course has it all? I wouldn't mind going back to square one and building up from there. 2) What is your audio interface and software? I have an oscilloscope but nothing that is integrated with my PC and capable of bodeplotting. again, thank you so much !
@PhilsLab
@PhilsLab 7 ай бұрын
1) I'd suggest looking at this website www.dspguide.com/ and his book to start off with. A really great, intuitive guide to DSP. Then, for audio-based DSP, look for DAFX by Udo Zoelzer. 2) I'm using a Digilent ADP3450 (USB scope/function gen/..) and a QuantAsylum QA403 for further audio measurements (THD, SNR, ...).
@madrigo
@madrigo 7 ай бұрын
​@@PhilsLab Thank you so much!
@isaacclark9825
@isaacclark9825 7 ай бұрын
DSP content is my favorite content. Looking forward to the reverb video.
@PhilsLab
@PhilsLab 7 ай бұрын
Thank you, Isaac - glad to hear that!
@velvetsound
@velvetsound 7 ай бұрын
Me too. The Dattoro algo would be nice.
@duemilanove1844
@duemilanove1844 7 ай бұрын
Guitarist Philip 🎉
@velvetsound
@velvetsound 7 ай бұрын
Thanks Phil. This was EXACTLY the tutorial I needed to finish thinking through my guitar pedal project on real hardware. ❤ This tutorial, plus Will Pirkle’s book, + a little ML model, were the key pieces.
@PhilsLab
@PhilsLab 7 ай бұрын
Awesome, very glad to hear that! Thanks for mentioning Will Pirkle, hadn't heard of him and his books before - will definitely check them out.
@PCBWay
@PCBWay 7 ай бұрын
Here comes our ROCK'n'ROLL -Phil!
@santiall73
@santiall73 7 ай бұрын
Excellent!, I wish it was so easy to find info about actual DSP programming 30 years ago rather than just theory books...
@PhilsLab
@PhilsLab 7 ай бұрын
Thank you!
@michaelzemah1476
@michaelzemah1476 7 ай бұрын
How did you manage to make the DMA's work with H7 proccessors ?
@user-mf4di5dz6q
@user-mf4di5dz6q 7 ай бұрын
Sir please make a video tutorial on the Zynq Peta Linux boot process using both QSPI and eMMC as the boot media
@p_mouse8676
@p_mouse8676 7 ай бұрын
Thanks for refreshing my memory again, since this has been since I while for me :) Question; Why would you go through the trouble of the second option, while this is basically the same as the first option just with an additional summing block at the end with the original signal as well as the delayed signal? Which is pretty easy to implement on itself.
@PhilsLab
@PhilsLab 7 ай бұрын
Thanks for watching! The FIR comb filter is indeed very simple, but we are building up to the IIR (feedback) comb filter, where then both are incorporated as basic building blocks into delays and reverbs. Essentially, this is just the beginning/a primer and a basic tool for what's to come.
@velvetsound
@velvetsound 7 ай бұрын
Will we build up to AllPass filters etc?
@PhilsLab
@PhilsLab 7 ай бұрын
@@velvetsound Yes!
@RafaGmod
@RafaGmod 7 ай бұрын
What codec you used?It uses I2S? Got curiousto see the datasheet and what is capable of! I think it would be cool to see a video on how to integrate a CODEC or a high quality DAC on digital boards!
@isaacclark9825
@isaacclark9825 7 ай бұрын
Phil covered the design of the board he is using in a past video. Video #88.
@PhilsLab
@PhilsLab 7 ай бұрын
Yeah, as Isaac said I've gone through a (similar) design in previous videos. Codec uses I2S, is a Cirrus Logic CS4270. Not the fanciest of codecs but very easy to integrate and set-up!
@dwagner6
@dwagner6 7 ай бұрын
Gotta ask again - what do you use for your slides? LaTeX/Beamer?
@PhilsLab
@PhilsLab 7 ай бұрын
Used to go the LaTeX route, but now it's PowerPoint + drawings/equations using draw.io (with mathematical typesetting).
@tobix4374
@tobix4374 7 ай бұрын
This is so cool!
@PhilsLab
@PhilsLab 7 ай бұрын
Thanks, Tobi!
@kavtech_midi
@kavtech_midi 7 ай бұрын
please make series dsp build, espesially for guitar multi effect, this is so great...👍
@PhilsLab
@PhilsLab 7 ай бұрын
Thank you - more to come! :)
@josbouten
@josbouten 7 ай бұрын
How is the opamp U400A biased at half the supply voltage if there is only R406 to +VREF and no resistor to GND ?
@PhilsLab
@PhilsLab 7 ай бұрын
+VREF is at half the supply voltage, generated by a potential divider in this case. The op-amps are low input bias-current FET types, so there isn't a large voltage drop across the bias resistor.
@tamaseduard5145
@tamaseduard5145 7 ай бұрын
👍🙏❤
RC Low-Pass Filter Deep-Dive - Phil's Lab #118
45:40
Phil’s Lab
Рет қаралды 36 М.
🍟Best French Fries Homemade #cooking #shorts
00:42
BANKII
Рет қаралды 35 МЛН
Class D Audio Amplifier Hardware Design - Phil's Lab #125
27:21
Phil’s Lab
Рет қаралды 24 М.
451 Which Processor can kill the ESP32?
11:24
Andreas Spiess
Рет қаралды 335 М.
Octatrack: No Samples Necessary - Comb Filter Synthesis
26:52
max marco
Рет қаралды 27 М.
Parallel Termination Basics - Phil's Lab #119
22:15
Phil’s Lab
Рет қаралды 21 М.
COMB FILTERING EXPLAINED: What Does a Comb Filter Sound Like?
4:13
Audio University
Рет қаралды 50 М.
FIR Filter Design and Software Implementation - Phil's Lab #17
30:35
Everything You Need To Know About Comb Filtering [with Audio Examples]
14:14
KiCAD 7 Autorouter - Simple Fast Prototyping
10:50
Mr.T's Design Graveyard
Рет қаралды 75 М.
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 7 МЛН
Не обзор DJI Osmo Pocket 3 Creator Combo
1:00
superfirsthero
Рет қаралды 1,2 МЛН