~/talk

Is .NET any good for Audio?

Talkat NDC London 2024 · 2024-01-29..02-02· [creative-coding]
links:none on file
slides:none on file

An open source .NET audio library NAudio targets every Windows API and ships a 32-bit floating point mixing engine, a fully managed MP3 decoder and a resampler ported from Cockos so playback and mixing actually sound correct. Real problems addressed: garbage collection pauses causing dropouts and pointer movement, pinned buffers and AML-free buffer pools, winmm latency around 50 ms versus desired ~10 ms, and WASAPI recommended now for low-latency work. The mixing engine and midi synth demo work in real time.

AI-written summary · about

  1. 0:00Introduction to .NET audio
  2. 1:05C++ to .NET and NAudio
  3. 12:08Audio programming challenges
  4. 16:04Garbage collection in audio
  5. 21:26Porting vs P/Invoke wrappers
  6. 26:03Windows audio APIs overview
  7. 34:31Designing flexible audio APIs
  8. 40:53Cross-platform with .NET Core
  9. 43:20NAudio status and future
  10. 44:44Live NAudio demo
~/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.