PakistanAhmadHassan-BTed/AhSilence
An open-source Android Active Noise Cancellation (ANC) engine. Leveraging low-latency DSP to neutralize environmental hums and help you reclaim your quiet.
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
🔇 AhSilence: Android Noise Cancellation
Silence the ambient hum. Find your perfect quiet.
AhSilence is a native Android application built with Jetpack Compose and Kotlin that brings active noise cancellation to your device. It targets persistent low-frequency hums like those from AC units or electrical drones by analyzing the environment and emitting counter-acoustic waves. The app runs a zero-allocation, GC-free hot loop to ensure seamless performance without frame drops or OS throttling.
✨ Highlights
- FFT Engine: Custom Cooley-Tukey Radix-2 algorithm on real-time PCM buffers automatically detects the dominant background drone.
- Phase Calibrator: Continuous 360° trigonometric dial allows manual wave alignment to compensate for hardware or Bluetooth latency.
- OS Shield: Android Foreground Service with persistent notification keeps cancellation active even when the screen is locked.
- Stateless UI: StateFlow + Compose hoisted parameters minimize recompositions, reducing battery drain.
- Clean Architecture: Follows MVVM pattern with unidirectional data flow, isolating Android framework from core DSP logic.
💡 Why it matters
AhSilence stands out due to its focus on low-latency digital signal processing and performance optimization. The zero-allocation hot loop is critical for real-time audio processing, preventing the lag or interruptions common in other ANC implementations. By adhering to clean architecture, the codebase is modular and easy to maintain, making it a great reference for developers interested in DSP on Android. It's ideal for users who need to cancel constant background noise in offices, during commutes, or in any environment with persistent hums.
#Android #DSP #ANC #Kotlin #TiniX
Similar Projects
Discover other similar projects and AI models.
Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON, RISC-V RVV)
基于无障碍,高级选择器,订阅规则的自定义屏幕点击安卓应用 | An Android APP with custom screen tapping based on Accessibility, Advanced Selectors, and Subscription Rules
Reverse engineer anything with agents, from app behavior down to native binaries.
Cross-platform, customizable ML solutions for live and streaming media.
🩵 A free, open-source app store for developers' releases on GitHub, Codeberg & Forgejo — browse, discover, and install apps with one click. Formerly GitHub Store.
A fully functional Android app built entirely with Kotlin and Jetpack Compose
🖼️ Image Toolbox is a powerful app for advanced image manipulation. It offers dozens of features, from basic tools like crop and draw to filters, OCR, and a wide range of image processing options