streaming_speech_enhancement_dpdfnet

Run streaming speech enhancement with any of the supported 8, 16, or 48 kHz DPDFNet models listed in DPDFNet.

The shared DPDFNet model configuration now contains attenuation_limit_db, so this streaming example uses ..Default::default() when constructing it. The attenuation limit is offline-only and is not applied by OnlineSpeechDenoiser.

Source file

rust-api-examples/examples/streaming_speech_enhancement_dpdfnet.rs

How to run

The recommended way is to use the helper script(s) provided in rust-api-examples because they download or point to the required models and test files automatically when needed.

Helper script(s)

run-streaming-speech-enhancement-dpdfnet.sh

./run-streaming-speech-enhancement-dpdfnet.sh

Run it directly with Cargo

cargo run --example streaming_speech_enhancement_dpdfnet -- --help