1FeaturesAdd DPDFNet as an alternative noise suppression model (#5055) Feature Open: Under consideration voice15h agoby Kiko ThreadView full discussion Comment by KikoKiko OP1 vote 14h ago 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. Permalink
Comment by KikoKiko OP1 vote 14h ago 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. Permalink
Thread
Comment by Kiko