AhmadHassan-BTed/AhSilence
68.7
Adequate · 9 November 2026
1.1k
lines of production code
Kotlin
with C, C++
7
measurements over time
What this system is
This system is an Android application featuring a native Active Noise Cancellation (ANC) engine built with the Oboe library and C++. It processes audio in real-time using an adaptive filter to generate anti-noise, allowing for dynamic adjustment of gain and phase parameters. The architecture utilizes a multi-module structure with dependency injection to manage the foreground service and DSP engine, ensuring low-latency performance and centralized configuration.
Features
Introduce native ANC engine with adaptive noise cancellation
The application now includes a native Android library (ancengine) that implements Active Noise Cancellation using the Oboe audio streaming library. This engine processes audio in real-time via a FullDuplexStream, utilizing a narrowband Filtered-X Normalized LMS (FxNLMS) adaptive filter to generate anti-noise based on a synthesized reference oscillator. Users benefit from a native, low-latency implementation that allows for dynamic adjustment of gain and phase parameters to target specific noise frequencies.
ancengine · high confidence
Behavioural changes
Active Hum Service refactored to use centralized constants and dependency injection
The foreground service handling the anti-noise emission has been restructured to remove hardcoded configuration values and tight coupling. Intent actions, notification identifiers, and default calibration parameters are now sourced from a centralized \AudioConstants\ object, while the DSP engine is resolved via a new \AudioEngineLocator\ dependency injection mechanism. This change also updates the service to use string resources for notification text and channel names, and adds the necessary Android manifest permissions for audio recording and foreground media playback.
app/src · high confidence
Dependencies
Project initialization and native ANC engine integration
The project has been initialized with a multi-module structure, adding a new ':ancengine' module for native audio processing. This module integrates the Oboe library (v1.10.0) for low-latency audio streaming and uses CMake for native compilation. The main app module now depends on this engine and adopts a version catalog for dependency management, explicitly including AndroidX Lifecycle ViewModel Compose (v2.8.3) and Kotlinx Coroutines (v1.8.1). Build configurations have been standardized to use SDK 36, NDK 27.1, and Java/Kotlin 11, with release builds enabling minification and resource shrinking. Additionally, Gradle properties were updated to enable parallel execution, configuration caching, and build caching for improved performance.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 68 → 69 (+0.3)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 73 → 73 (+0.0)
- Architecture 92 → 92 (+0.0)
- Maturity 76 → 79 (+2.5)
- Readiness 55 → 55 (+0.0)
- Security 96 → 96 (+0.0)
- Performance 100 → 100 (+0.0)
Resolved (1)
- Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
New (73)
- Dependency hygiene PARTLY measured — Gradle build resolved part of the dependency graph, currency reported but not scored
- Outdated (compile): com.google.api.grpc:proto-google-common-protos
- Outdated (compile): com.google.auto:auto-common
- Outdated (compile): com.google.code.gson:gson
- Outdated (compile): com.google.crypto.tink:tink
- Outdated (compile): com.google.dagger:dagger
- Outdated (compile): com.google.errorprone:error_prone_annotations
- Outdated (compile): com.google.guava:failureaccess
- Outdated (compile): com.google.guava:guava
- Outdated (compile): com.google.j2objc:j2objc-annotations
- Outdated (compile): com.google.protobuf:protobuf-java
- Outdated (compile): com.google.protobuf:protobuf-java-util
- Outdated (compile): com.google.protobuf:protobuf-kotlin
- Outdated (compile): commons-io:commons-io
- Outdated (compile): io.grpc:grpc-api
- Outdated (compile): io.grpc:grpc-context
- Outdated (compile): io.grpc:grpc-core
- Outdated (compile): io.grpc:grpc-netty
- Outdated (compile): io.grpc:grpc-protobuf
- Outdated (compile): io.grpc:grpc-protobuf-lite
- …and 53 more
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
AhmadHassan-BTed/AhSilence was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 9 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit d5eae72c82e115b3b28de8e92a39d9faf4929600 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-bb0cb800cd0f.