Real-time audio noise suppression for Vietnamese software engineers: deep Fourier & audio DSP, through DeepFilterNet and Mezon product integration. Each required lesson is a full EN/VI article with a labeled figure under img/generated/, a mini-lab, and exercises with hints. The public integration target is npm deepfilternet3-noise-filter 1.3.0 (DeepFilterNoiseFilterProcessor on a LiveKit track).
Course objectives
- Build strong Fourier / DFT / FFT intuition and a full framed-audio pipeline (STFT/ISTFT, windows, OLA).
- Connect classical NS / AEC / beamforming front-ends to modern neural SE.
- Understand the DeepFilterNet family and when ultra-light streaming models fit.
- Ship constraints: RTF, AudioWorklet, on-device ORT/tract/WASM, WebRTC / LiveKit.
- Evaluate with SI-SDR, DNSMOS, listening tests, DNS Challenge-style suites.
- Capstone: techniques behind
mezonai/mezon-noise-suppression (deepfilternet3-noise-filter).
Course outline
Chapter 00 — Introduction & problem framing
Noise types, realtime vs offline, course map, Mezon context.
Continuous FT intuition → sampling, aliasing, Nyquist → DTFT / DFS / DFT → DFT as basis → FFT (radix-2, complexity) → FFT in realtime frames → engineer pitfalls checklist.
Chapter 02 — Audio processing pipeline
PCM & rates → frames / hop / OLA → windowing & leakage → STFT/ISTFT for speech (DeepFilterNet tie-in) → time vs frequency filtering → reading spectrograms → pipeline latency–quality tradeoffs.
Spectral subtraction, Wiener, Kalman intuition, WebRTC APM, GSC/IVA as front-ends.
Chapter 04 — Neural SE & DeepFilterNet family
Complex spectrograms, deep filtering; survey pointers to successors and ultra-light streaming models; RNNoise bridge.
Chapter 05 — Real-time constraints
RTF, AudioWorklet / callbacks, ring buffers, underruns, streaming state.
Chapter 06 — On-device inference
ONNX / tract / ORT, quantization, SIMD/WASM, packaging.
Chapter 07 — Product integration
WebRTC / LiveKit TrackProcessor, CDN model loading, Mezon npm surface.
Chapter 08 — Evaluation
SI-SDR, DNSMOS, listening tests, DNS Challenge-style metrics.
Chapter 09 — Capstone
Mezon NS architecture, techniques beyond the wrapper, optional Rust df-core, project brief.
Chapter 10 — References & further paths
Curated reading list and maintenance notes.
Primary references (starter)
- DeepFilterNet / DeepFilterNet2 / DeepFilterNet3 papers and official code.
- DNS Challenge (datasets, DNSMOS, baselines).
- WebRTC APM, SpeexDSP, RNNoise.
- SI-SDR literature; ONNX Runtime / tract docs.
- Standard DSP references for FT / DFT / FFT / STFT.
How to Contribute
We welcome contributions from the community! Whether you want to fix a typo, add an example, or contribute a whole new chapter, your help is appreciated.
Ways to Contribute
- Fix errors: Found a typo or mistake? Submit a fix!
- Add examples: Share practical examples or exercises
- Improve explanations: Make concepts clearer
- Translate content: Help make the course available in more languages
- Add resources: Suggest additional reading materials or tools
Getting Started
- Fork the repository on GitHub
- Clone your fork to your local machine
- Create a new branch for your changes
- Make your changes following our style guide
- Test your changes locally
- Submit a pull request with a clear description
Style Guidelines
- Use clear, concise language
- Follow the existing formatting conventions
- Include examples where appropriate
- Test all code snippets
- Use proper LaTeX formatting for mathematical expressions
Questions?
If you have questions about contributing, please:
Thank you for helping improve this course!
Welcome — Real-Time Audio Noise Suppression
This bilingual course takes you from first-principles DSP to shipping neural noise suppression in real-time call stacks. The intended audience is Vietnamese software engineers who already write code and want a rigorous, product-aware path into speech enhancement.
What you will learn
- Frame-based audio processing, STFT/ISTFT, and latency budgets.
- Classical NS ideas still used as front-ends or fallbacks.
- DeepFilterNet-style deep filtering and how it differs from magnitude masks.
- Real-time and on-device constraints (RTF, AudioWorklet, ORT/WASM).
- Integration patterns with WebRTC and LiveKit.
- Honest evaluation (SI-SDR, DNSMOS, listening).
Capstone context
Work is aligned with Mezon noise suppression: GitHub mezonai/mezon-noise-suppression, npm deepfilternet3-noise-filter. You will learn the techniques behind the product — not only how to call the package.
Prerequisites
- Comfortable with TypeScript/JavaScript or similar; willingness to read short Python/Rust snippets.
- No prior DSP course required.
- Headphones recommended for listening comparisons.
How to navigate
- Start at Chapter 00 for framing and the Mezon map.
- Follow 01 → 03 for foundations and models.
- Use 04 → 06 when you care about shipping.
- Chapter 07 before claiming quality wins; Chapter 08 for the capstone; Chapter 09 for reading paths.
Feedback
Open issues on GitHub or contact Nguyen Le Linh (nglelinh@gmail.com).
Course creators
Lead instructor
Nguyen Le Linh
- Email: nglelinh@gmail.com
- GitHub: https://github.com/nglelinh
Builds bilingual self-learning courses for Vietnamese engineers and connects them to production systems (including Mezon realtime noise suppression).
Acknowledgments
Jekyll multilingual scaffolding follows the course-self-learning template lineage. Product examples reference the public Mezon NS repository without modifying it from this course.
Nguyen Le Linh
- Email: nglelinh@gmail.com
- GitHub: https://github.com/nglelinh
For technical issues, open a GitHub issue on audio-noise-suppression-self-learning.