Bare Metal Audio Programming With Rust - Antoine van Gelder - ADC20
Вставка
- Опубліковано 5 сер 2024
- Bare Metal Audio Programming With Rust - Antoine van Gelder - ADC20
Slides: flowdsp.io/talks/talk-adc20/
audio.dev/ -- @audiodevcon
Organized and produced by JUCE: juce.com/
With production & streaming by Digital Medium: events.digital-medium.co.uk
Bare Metal Audio Programming With Rust - Antoine van Gelder - ADC20
---
Rust is starting to develop a reputation as a practical alternative to C or C++ for systems programming and other performance sensitive tasks.
At the same time new families of dirt cheap microcontrollers featuring unparalleled levels of processing power are becoming more accessible to professional and hobbyist alike.
Rust's emphasis on memory safety, performance and high-level abstraction make it uniquely suited to the the task of writing glitch-free realtime audio systems to power a new generation of embedded musical hardware.
In this talk I'll share my experience using Rust for bare metal audio programming on the STM32 family of microcontrollers.
Along the way I'll lift the lid a little on the ins and outs of audio on embedded systems.
We'll look at an audio codec chip.
I'll explain how to interface it with a microcontroller using I2C & I2S protocols.
Finally, we'll program a DMA controller and I'll share the joy of using type-level programming to interface directly with hardware registers without crashing your code.
This talk is written for an intermediate audience but does not assume prior knowledge of Rust, embedded programming or digital electronics.
---
Antoine van Gelder (flowdsp.io)
South African software/hardware developer researching improved analog/digital workflows in musical performance and recording environments.
Recovering C++ programmer, beginner Rust programmer, designer of simple mixed-signal circuits and student of the functional programming arts.
---
Special thanks to the ADC20 Team:
Céline Dedaj
Timur Doumler
Derek Heimlich
Josh Hodge
Andrew Kirk
Bobby Lombardi
Tom Poole
Ralph Richbourg
Jim Roper - Наука та технологія
I've been excited to rewatch this. Thanks!
Great talk, very inspired to give embedded audio Rust a whirl now, thank you!
All that embedded code boils down to 46:50
amazing content! thanks!
awesome!!! really inspiring!!!.... thanks for braking it down to such a easy to understand talk... i’m going to have to check out the daisy- nice to hear a fellow south african accent, btw...
I think I need to get myself a Daisy as well!:) One question: have you tried Rust bare metal programming on the Raspberry Pi as well? Is there something akin to Circle but in Rust?
github.com/rust-embedded/rust-raspberrypi-OS-tutorials
Share these slides?