Show HN: Live breath detection and biofeedback from a phone microphone

TL;DR

A developer has created an app that uses a phone’s microphone to detect breathing patterns and provide real-time biofeedback. The system processes audio locally, focusing on breathing signals without recognizing speech, aiming to improve mindfulness tools. Validation is ongoing to assess accuracy in uncontrolled environments.

A developer has introduced an app that performs real-time breath detection and biofeedback using only a phone’s microphone, without uploading audio or recognizing speech. This innovation aims to support mindfulness and self-awareness through a non-intrusive, hardware-agnostic approach, which is significant given the challenges of acoustic signal processing in uncontrolled environments.

The app captures audio locally on the device, analyzing the envelope and spectral features of breathing signals to identify inhale, exhale, and pauses. It employs a layered approach: signal processing, a phase-tracking state machine, and a quality control layer to filter out noisy or ambiguous signals. Machine learning is used to refine feedback but does not form the core detection pipeline. The system is designed to work across different phones and environments, handling real-world audio quirks. The developers acknowledge that microphone-only detection in uncontrolled conditions remains challenging, and validation studies are ongoing to determine accuracy and limitations. The app is positioned as a wellness tool, not a medical device, and does not analyze speech or upload raw audio data.

Why It Matters

This development is notable because it offers a privacy-conscious, hardware-agnostic method for breathing monitoring, which could enhance mindfulness practices without additional wearables or intrusive data collection. If validated, it could lead to more accessible biofeedback tools that adapt to individual physiology, potentially benefiting stress management and self-awareness routines.

HemingWeigh 1 Inch Extra Thick Non Slip Yoga Mat - Exercise Mats for Home Workouts, Black (70"L x 23"W)

HemingWeigh 1 Inch Extra Thick Non Slip Yoga Mat - Exercise Mats for Home Workouts, Black (70"L x 23"W)

SUPER COMFORTABLE: HemingWeigh’s premium yoga mat is 70" long and 23" wide, giving you plenty of room to...

As an affiliate, we earn on qualifying purchases.

Background

Current breath detection and biofeedback tools often rely on wearables like chest straps or dedicated sensors, which can be costly and intrusive. Smartphone-based solutions have faced challenges due to ambient noise and hardware variability. This project builds on recent efforts to process audio locally, avoiding privacy concerns associated with cloud analysis. The approach reflects ongoing research into smartphone microphone-based health monitoring, with validation studies underway to establish reliability in real-world conditions.

“Our goal is to see if a phone can quietly listen to your breathing and reflect it back in a way that increases self-awareness without becoming another distraction.”

— Developer of the app

“Microphone-only breath detection in uncontrolled conditions is genuinely hard, and published smartphone-only systems sit well below wearable-based ones.”

— Project documentation

Gaiam Essentials Thick Yoga Mat Fitness & Exercise Mat With Easy-Cinch Carrier Strap, Teal, 72"L X 24"W X 2/5 Inch Thick

Gaiam Essentials Thick Yoga Mat Fitness & Exercise Mat With Easy-Cinch Carrier Strap, Teal, 72"L X 24"W X 2/5 Inch Thick

Extra-Thick Cushioning for Joint Comfort : Made with 10mm (2/5") high-density NBR foam, this mat delivers plush cushioning...

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

It remains unclear how accurate the breath detection system is in diverse real-world environments, as validation studies are still ongoing. The developers do not claim clinical accuracy or diagnostic capability, and the effectiveness of long-term biofeedback integration is still under development.

Retrospec Solana Yoga Mat 1" Thick w/Nylon Strap for Men & Women - Non Slip Exercise Mat for Home Yoga, Pilates, Stretching, Floor & Fitness Workouts - Boysenberry

Retrospec Solana Yoga Mat 1" Thick w/Nylon Strap for Men & Women - Non Slip Exercise Mat for Home Yoga, Pilates, Stretching, Floor & Fitness Workouts - Boysenberry

EXTRA THICK FOR COMFORT & BALANCE: Solana firm 1-inch extra thick fitness mat w/ mat strap alleviates stress...

As an affiliate, we earn on qualifying purchases.

What’s Next

The next steps include completing validation studies to quantify detection accuracy, refining algorithms to improve robustness, and developing features that adapt feedback based on individual physiology. The developers are also planning to expand user testing and gather feedback for broader deployment.

Gaiam Yoga Mat Premium Print Reversible Extra Thick Non Slip Exercise & Fitness Mat for All Types of Yoga, Pilates & Floor Workouts, Lunar Wave, 6mm

Gaiam Yoga Mat Premium Print Reversible Extra Thick Non Slip Exercise & Fitness Mat for All Types of Yoga, Pilates & Floor Workouts, Lunar Wave, 6mm

LIGHTWEIGHT & THICK YOGA MAT: These durable, yet lightweight exercise yoga mats are extra thick for the additional...

As an affiliate, we earn on qualifying purchases.

Key Questions

Does the app record or upload my audio?

No. The microphone stream is processed entirely on the device, and raw audio does not leave the phone.

Can the app recognize or transcribe speech?

No. The system analyzes breathing signals based on spectral and envelope features and is not designed for speech recognition.

Is an account required to use the app?

The browser demo can be used without an account; the native app may require one for features like saved sessions.

How accurate is the breath detection in noisy environments?

Accuracy in uncontrolled conditions is still being validated. Noise and ambient sounds can affect detection quality, and the system employs quality checks to mitigate this.

Is this a medical device or a diagnostic tool?

No. It is a wellness and self-awareness tool, not intended for medical diagnosis or treatment.

Source: Hacker News

You May Also Like

Conquer Anxiety Naturally: Aromatherapy Techniques That Actually Work!

Join the journey to conquer anxiety naturally with effective aromatherapy techniques—discover the essential oils that can transform your peace of mind!

From Blending in to Belonging: My Journey Out of Self-Consciousness

A personal story of overcoming self-consciousness and finding authentic belonging through small, deliberate changes, highlighting the importance of self-acceptance.