Skip to content

Conversation

s-sciacovelli
Copy link

@s-sciacovelli s-sciacovelli commented Jun 3, 2025

This PR provides an Android implementation of the DeepFilterNet noise suppression model with JNI bindings.
Features:

  • Real-time noise suppression for Android applications
  • JNI bindings for efficient integration with native Android code
  • IOS implementation
  • Optimized for mobile performance

Stefano Brusadelli and others added 24 commits April 11, 2025 12:27
…le model

Implements the Java Native Interface (JNI) for DeepFilterNet on Android using Rust. This commit also integrates a mobile-optimized DeepFilterNet model.
…lignment

Enforce build android 16 kb alignment
fix: update frame length from native call
chore: add check on invalid frame length on process frame
…eck avoiding buffer overflow while processing it
@jacksongoode
Copy link

Just curious, having read the optimization steps you took, if you have any benchmarks in terms on increasing the RTF or a decrease in quality compared to the base DeepFilterNet3 model?

@s-sciacovelli s-sciacovelli changed the title Android implementation Android & IOS implementation Jul 30, 2025
@s-sciacovelli
Copy link
Author

Just curious, having read the optimization steps you took, if you have any benchmarks in terms on increasing the RTF or a decrease in quality compared to the base DeepFilterNet3 model?

We don't have benchmarks, we just tried to improve it so that it would work smoothly in our solution, losing as little quality as possible.

@jacksongoode
Copy link

Were there any other bottlenecks or obvious issues with real time processing that you noticed in the library? Ones that are potentially not Android specific?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants