.NET any good for Audio?
summary
.NET proves usable for real‑time audio but requires careful low‑level work: a 20‑year open source library NAudio provides playback, recording, mixing, resampling (including a ported Cockos resampler), a fully managed MP3 decoder and was used in commercial telephony and forensic work on the Hudson landing. Major hurdles are GC pauses cause audio glitches and pointer pinning or native buffers to avoid compaction; platform interop (P/Invoke), WASAPI exclusive mode, ASIO and Span<T> optimizations make it work.
AI-written summary · about
chapters (9)
- 0:00Introduction and origin story
- 13:49Interfacing with native APIs
- 16:49Memory management challenges
- 21:49Porting vs. native interop
- 26:09Windows audio API landscape
- 32:29Designing audio APIs
- 35:37Advanced performance techniques
- 40:01Current state and future of NAudio
- 43:23Live demo and Q&A
related talks
27mThe Importance of Audio Live Panel
22mWhat Happens When the Music Starts? The Architecture of Browser Audio
19mReal-time audio at Meta scale
01h 01mReal-time Programming with the C++ Standard Library
42mBecoming Latency-Native
17mYour realtime AI is ngmi
46mThe 3 Best and Worst Technical Audio Systems from The Ascent.
45mOptimizing a .NET App Is Easy ! / ?
