RepositoryKotlinPKPakistan
AhmadHassan-BTed

AhmadHassan-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.

4.9kstars
16forks
0issues
13views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: jetpack-compose

#1 Repository of the week

1
TINIX TRENDING·Topic: active-noise-cancellation

#1 Repository of the week

1
TINIX TRENDING·Topic: clean-architecture

#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.

RepositoryC++
kfrlib/kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON, RISC-V RVV)

1.9k
Nov 25, 2026
RepositoryKotlin
gkd-kit/gkd

基于无障碍,高级选择器,订阅规则的自定义屏幕点击安卓应用 | An Android APP with custom screen tapping based on Accessibility, Advanced Selectors, and Subscription Rules

45.7k
Nov 13, 2026
RepositoryKotlin
JunkFood02/Seal

🦭 Video/Audio Downloader for Android, based on yt-dlp

31.2k
Nov 25, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryC++
google-ai-edge/mediapipe

Cross-platform, customizable ML solutions for live and streaming media.

38.0k
Nov 30, 2026
RepositoryKotlin
lysine-dev/okhttp

A meticulous HTTP client for the JVM, Android, and GraalVM.

47.1k
Nov 27, 2026
RepositoryKotlin
komi-store/komi-store

🩵 A free, open-source app store for developers' releases on GitHub, Codeberg & Forgejo — browse, discover, and install apps with one click. Formerly GitHub Store.

23.2k
Dec 1, 2026
RepositoryKotlin
android/nowinandroid

A fully functional Android app built entirely with Kotlin and Jetpack Compose

22.2k
Dec 1, 2026
RepositoryKotlin
T8RIN/ImageToolbox

🖼️ 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

15.9k
Nov 29, 2026