Implement a real-time loop for DeepFilterNet
Hi Hendrik, Just curious as didn't see any benchmarks but could it run chunking audio as it goes or does it need the overall file to analyse? How does it compare to https://github.com/breizhn/DTLN?
Thanks Stuart
Hi Stuart,
thanks for your interest in this project. As of now, no real-time loop is available. There is a WIP version in #13, but it has a bug in the 2nd stage resulting in worse audio quality. So this is definitely planned, but I cannot give an ETA.
No probs but great to hear as been wondering how it compares to https://github.com/breizhn/DTLN so if you would if you remember add a comment so that I see it in notifications. Also just out curiosity but is there any method that is purely to extract a single KW (Keyword) from noise as voicefilter-lite is targeted speaker extraction as an example is it possible to do targeted KW extraction? For want of a better description. PS had to look up Tract is that generally more performant than rust tflite or just more interoperable?
Also just out curiosity but is there any method that is purely to extract a single KW (Keyword) from noise as voicefilter-lite is targeted speaker extraction as an example is it possible to do targeted KW extraction?
Keyword detection is a different problem and only barely related to speech enhancement.
PS had to look up Tract is that generally more performant than rust tflite or just more interoperable?
I haven't used rust tf light, so I cannot comment on this. I would be interested in some benchmarks as well.
Ideally a real-time loop would be implemented in Rust, so we can ship a compiled binary without any dependencies.
Hi Stuart,
thanks for your interest in this project. As of now, no real-time loop is available. There is a WIP version in #13, but it has a bug in the 2nd stage resulting in worse audio quality. So this is definitely planned, but I cannot give an ETA.
is it still the case right now after v0.2.3?
Still the case as long as this issue is open.
Relevant https://github.com/Rikorose/DeepFilterNet/issues/106
Simple implementation of a real-time, you can experience https://github.com/andyweiqiu/denoiser-realtime-48k-ios
Thanks for the link. It would be great, if you would contribute back to the open source community and open source the denoising loop as well.
Hi folks, I released a real time loop fully written in Rust. You can download a deep-filter executable in the latest 0.3.0 release.