~/talk

Rhythm 'n Rust: Building a Synthesizer from A to Z in Rust

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [rust, creative-coding]
links:none on file
slides:none on file

Shows how to implement a complete audio synthesizer in Rust using the nih-plug framework to produce VST and CLAP plugins (Linux .so and Windows .dll) that generate 44,100 Hz audio and default to A440. Starts from a white-noise generator, adds a per-sample sine oscillator with phase increment, exposes gain and frequency parameters, compiles to a stereo plugin that runs in Ardour, and adds MIDI note-on/note-off and velocity handling to set frequency and amplitude while demonstrating realtime performance comparable to C++ with safer memory.

AI-written summary · about

  1. 0:00Introduction
  2. 2:06Sound physics basics
  3. 8:03Computer music
  4. 10:34Why Rust
  5. 11:38Rust project setup
  6. 13:20First synth: white noise
  7. 20:20White noise demo
  8. 22:05Sine wave generator
  9. 25:35Sine wave demo
  10. 26:39MIDI protocol intro
  11. 31:29MIDI keyboard synth
  12. 32:38MIDI keyboard demo
  13. 33:22Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.