Add DPDFNet as an alternative noise suppression model

(#5055) Feature Open: Under consideration voice

Current problem

The existing noise suppression models (RNNoise, GTCRN and DeepFilterNet) struggle to suppress sudden background noises such as keyboard typing, mouse clicks, desk impacts and chair squeaks. I have personally tested several alternative noise suppression models, including FastEnhancer, GigaEdge Enhance, Inworld Voice Isolator and DPDFNet. DPDFNet delivered the best overall balance between noise suppression, voice quality and CPU usage in my personal testing.

Proposed change

Please consider adding DPDFNet as an additional built-in noise suppression option in Fluxer. The project provides two full-band 48 kHz models:
  • DPDFNet2 - a lighter model for lower CPU usage.
  • DPDFNet8 - a more powerful model for higher-quality noise suppression.
Both support real-time streaming and CPU inference through ONNX. The project is licensed under Apache 2.0. In my local Windows test, DPDFNet8 showed approximately 2–3% CPU usage on a Ryzen 7 5700X3D, while providing noticeably better noise suppression in my environment than the existing Fluxer options. I would love to see these models available alongside the existing ones, rather than replacing them.

Platform

macOS, Windows, Linux, Web

Additional information

My CPU usage observations are preliminary and were measured using native ONNX inference, not a browser implementation.

2 comments

Sign in with Fluxer to comment and vote.
Comment by Kiko
Kiko OP1 vote
I've also deployed an experimental browser-based implementation of DPDFNet2 and DPDFNet8 on my self-hosted instance. The implementation is based on the existing DPDFNet integration in Caper and uses: ONNX Runtime Web with WASM SIMD and CPU inference. AudioWorklet for real-time microphone processing. A dedicated Web Worker for neural network inference. Stateful streaming with 480-sample frames at 48 kHz. Bounded audio buffering and performance diagnostics. All audio processing happens locally in the browser. The server only serves static assets. No GPU, Python backend, or external inference service is required. Relevant source code: Streaming DSP: https://github.com/joswayski/caper/blob/main/apps/web/public/audio/dpdfnet8-v2/dsp.js Inference worker: https://github.com/joswayski/caper/blob/main/apps/web/public/audio/dpdfnet8-v2/worker.js AudioWorklet: https://github.com/joswayski/caper/blob/main/apps/web/public/audio/dpdfnet8-v2/worklet.js Microphone integration: https://github.com/joswayski/caper/blob/main/apps/web/src/media/microphone.ts The model successfully initializes in Chromium. Real-time performance and buffering are still being tested, but this provides an existing implementation that could potentially be adapted to Fluxer's current noise suppression architecture for both desktop and web clients.
Comment by Kiko
Kiko OP1 vote
Update: I successfully integrated DPDFNet2 into Fluxer Desktop! I've tested it directly within Fluxer's existing audio processing pipeline using ONNX Runtime Web (WASM), with inference running locally on the CPU. On my Ryzen 7 5700X3D, the results are:
  • Average processing time: approximately 3.1–3.5 ms per 10 ms audio frame.
  • No processing backlog or buffer underruns during testing.
  • Excellent voice clarity, including whispering.
  • Very effective suppression of keyboard noise, desk tapping, chair squeaking, and even scratching the microphone grille.
In my subjective testing, DPDFNet2 performs better than Krisp in several scenarios, particularly when removing transient noises while preserving quiet speech. I also managed to distribute the integration through Fluxer's existing desktop module update system, without modifying the official Electron executable or the self-hosted backend. This is still an experimental integration rather than a production-ready implementation, but it demonstrates that DPDFNet2 is a viable real-time noise suppression option for Fluxer. I'd be happy to contribute a proper native integration if the maintainers approve this feature request.