~/talk

Working with Audio in Python (feat. Pedalboard)

Talkat PyCon US 2025 · 2025-05-16..05-18· [creative-coding, python]
links:none on file
slides:none on file

Library shows how to decode, edit, and encode audio in Python using Pedalboard and its io/resampling stack; pure Python sample-by-sample loops take ~8 seconds per minute while NumPy drops that to ~23 ms per minute, and chunked processing (read/write in 500k-sample blocks) prevents OOMs seen when a 3.9 MB .ogg expands to ~14.2 GB. Demos include a browser Pyodide/WebAssembly proof of concept and the ability to resample on the fly and load VSTs for real-time effects.

AI-written summary · about

  1. 0:00Introduction
  2. 1:44Digital audio basics
  3. 8:48Reading and editing audio
  4. 13:22Simple audio effects
  5. 16:13Pitfalls with audio files
  6. 19:25Streaming audio safely
  7. 20:49Python loops for audio
  8. 21:30What is Pedalboard and its inspiration
  9. 22:13Applying effects with Pedalboard
  10. 24:18Third-party plugins in Pedalboard
  11. 25:43MIDI synthesis with Pedalboard
  12. 26:44Resampling and time stretching
  13. 27:48Streaming and recording audio
  14. 28:29Resources and closing
  15. 28:51Q&A
~/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.