{"id":28530759,"url":"https://github.com/kaleyravideo/androiddeepfilternet","last_synced_at":"2026-02-09T07:33:31.217Z","repository":{"id":286786488,"uuid":"962540349","full_name":"KaleyraVideo/AndroidDeepFilterNet","owner":"KaleyraVideo","description":"An open-source Android library for real-time noise suppression, powered by the DeepFilterNet model.","archived":false,"fork":false,"pushed_at":"2025-07-15T16:11:25.000Z","size":91006,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-16T09:53:28.290Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KaleyraVideo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-08T09:59:09.000Z","updated_at":"2025-07-15T16:11:28.000Z","dependencies_parsed_at":"2025-07-08T01:56:33.989Z","dependency_job_id":null,"html_url":"https://github.com/KaleyraVideo/AndroidDeepFilterNet","commit_stats":null,"previous_names":["kaleyravideo/androiddeepfilternet"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/KaleyraVideo/AndroidDeepFilterNet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaleyraVideo%2FAndroidDeepFilterNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaleyraVideo%2FAndroidDeepFilterNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaleyraVideo%2FAndroidDeepFilterNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaleyraVideo%2FAndroidDeepFilterNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KaleyraVideo","download_url":"https://codeload.github.com/KaleyraVideo/AndroidDeepFilterNet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KaleyraVideo%2FAndroidDeepFilterNet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271411178,"owners_count":24754870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-09T14:37:26.300Z","updated_at":"2026-02-09T07:33:30.684Z","avatar_url":"https://github.com/KaleyraVideo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Release Version](https://img.shields.io/maven-central/v/io.github.kaleyravideo/android-deepfilternet?color=0881BE)](https://central.sonatype.com/artifact/io.github.kaleyravideo/android-deepfilternet)\n[![Android CI](https://github.com/KaleyraVideo/AndroidDeepFilterNet/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/KaleyraVideo/AndroidDeepFilterNet/actions/workflows/tests.yml)\n# Android DeepFilterNet\n\nThis repository provides an Android implementation of the DeepFilterNet noise suppression model with JNI bindings.\n\n## Overview\n\nDeepFilterNet is a state-of-the-art neural network architecture designed for real-time noise suppression in audio streams. This Android implementation allows developers to integrate high-quality noise removal capabilities into Android applications.\n\n## Features\n\n- Real-time noise suppression for Android applications\n- JNI bindings for efficient integration with native Android code\n- Optimized for mobile performance\n\n## Library Requirements\n\n- Android API level 21+ (Android 5.0 or higher)\n- Android NDK r21+\n- Gradle 7.0+\n\n## Audio Requirements\n* **Sample Rate:** 48 kHz\n* **Audio Depth:** 16-bit PCM\n* **Channels:** Mono\n\n## Installation\n\nAdd the following to your app's `build.gradle` file:\n\n```gradle\ndependencies {\n    // Option 1: Use DeepFilterNet with the model bundled directly in the library.\n    // Choose this if you prefer a self-contained solution and are okay with a larger app size.\n    implementation 'io.github.kaleyravideo:android-deepfilternet:x.y.z'\n\n    // Option 2: Use DeepFilterNet with the model downloaded on demand during initialization.\n    // Choose this if you want to minimize initial app size and download the model only when needed.\n    implementation 'io.github.kaleyravideo:android-deepfilternet-lazymodel:x.y.z'\n}\n```\n\nThe model size is ~8MB.\n\n## Usage\n\n### Basic Usage\n\n```kotlin\n// Initialize the DeepFilterNet instance.\nval deepFilterNet = com.rikorose.deepfilternet.NativeDeepFilterNet(context)\n// Set the noise attenuation level (dB).\ndeepFilterNet.setAttenuationLimit(30f)\n\n..\n\n// Get the DeepFilterNet's frame length.\nval frameLength = deepFilterNet.frameLength.toInt()\n// Allocate a new direct ByteBuffer with the given frame length to interact with the native code.\nval byteBuffer = ByteBuffer.allocateDirect(frameLength).apply {\n    order(ByteOrder.LITTLE_ENDIAN) // Set byte order to match DeepFilterNet's expectation\n}\n\n..\n\n// Process the audio frame using the DeepFilterNet model.\n// The 'processFrame' method modifies the buffer in-place.\ndeepFilterNet.processFrame(byteBuffer)\n    \n..\n\n// Release resources when done.\ndeepFilterNet.release()\n```\nFor a full example, click [here](https://github.com/KaleyraVideo/AndroidDeepFilterNet/blob/main/app/src/main/java/com/kaleyra/androiddeepfilternet/filter/DeepAudioFilter.kt).\n\n## Documentation\n\nFor detailed documentation on the API, see the [documentation](https://html-preview.github.io/?url=https://github.com/KaleyraVideo/AndroidDeepFilterNet/blob/main/noise-filter/doc/index.html).\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n\n## Credits\n\nThis project is built upon a [fork](https://github.com/KaleyraVideo/DeepFilterNet) of the original [DeepFilterNet](https://github.com/rikorose/DeepFilterNet) work by Hendrik Schröter.\u003cbr/\u003e\nFurther information regarding the optimization process of the DeepFilterNet model for running on a mobile device is available in this [document](https://github.com/KaleyraVideo/DeepFilterNet/blob/main/models/deepfilternet_model_optimization.md).\n\n## Demo app audio samples\n\n- Voice generated with [Narakeet](https://www.narakeet.com/).\n- Background noise from [Soundjay](https://www.soundjay.com/).\n\n## Contact\n\nFor questions or support, please open an issue on the GitHub repository or contact the Kaleyra Video team at cis-eu.video.engineering@tatacommunications.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaleyravideo%2Fandroiddeepfilternet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaleyravideo%2Fandroiddeepfilternet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaleyravideo%2Fandroiddeepfilternet/lists"}