Compose Sensors is a production-grade mobile signal processing and telemetry library that turns Android devices into precision measurement instruments with reactive Jetpack Compose hooks.
8+ DSP Engines
PPG pulse, audio FFT, seismograph, Doppler, BLE radar
One-Line Hooks
rememberSeismicReading(), rememberLuxReading(), etc.
Zero Bloat
Pure Kotlin & AndroidX without proprietary binary SDKs
Key Pain Point: Camera Photoplethysmography (PPG) accurately measures cardiac pulse by filtering red channel luminance variations.
Engineered modular signal processors for Camera PPG heart rate, Cooley-Tukey Radix-2 acoustic FFT, 3-axis accelerometer seismographs, and BLE tracker heuristics with one-line Compose state hooks.
HeartRateProcessor combines rolling variance filtering with dynamic systolic peak detection and confidence scoring.
AudioFftEngine computes 64 frequency bins and dBA/dBC acoustic Sound Pressure Levels from raw PCM buffers.
SeismicSensor integrates FftAnalyzer to determine dominant ground vibration frequencies and Mercalli intensity levels.
Compose Sensors is an open-source Android library that brings advanced digital signal processing and hardware telemetry directly to Jetpack Compose applications. It provides high-performance algorithms for camera PPG pulse detection, acoustic FFT frequency analysis, seismic vibration monitoring, Doppler velocity tracking, and BLE device detection.
Our research revealed critical insights that informed our strategy and implementation.
HeartRateProcessor combines rolling variance filtering with dynamic systolic peak detection and confidence scoring.
AudioFftEngine computes 64 frequency bins and dBA/dBC acoustic Sound Pressure Levels from raw PCM buffers.
SeismicSensor integrates FftAnalyzer to determine dominant ground vibration frequencies and Mercalli intensity levels.
BleTrackerDetector classifies manufacturer payloads for Apple AirTags, Samsung SmartTags, and Tile beacons.
Reactive Compose hooks (rememberSeismicReading, rememberLuxReading, rememberEmfReading) handle listener registration and unregistration automatically.
Compose Sensors unlocks the full measurement potential of Android hardware, enabling developers to build scientific instruments, diagnostic tools, and health monitors in declarative Jetpack Compose.
A clear roadmap for implementing these strategies and next steps.
Add io.github.epheos:compose-sensors to your Android project dependencies.
Use reactive hooks like rememberSeismicReading() and rememberLuxReading() in your Compose UI.
Integrate HeartRateProcessor with CameraX frame analysis for optical biometric monitoring.
Analyze acoustic frequencies using AudioFftEngine and DecibelMeterSensor.
Build custom HUD visualizers and instruments with zero native binary bloat.
Get expert guidance implementing these strategies
Let's work together to achieve remarkable results for your organization.