iOS & Android Sleep Monitoring

Snore Doctor

Privacy-first sleep analysis. On-device machine learning detects snoring and drives adaptive audio or watch-haptic therapy without cloud dependency.

๐Ÿ’ก

The Idea

Snore Doctor turns your device into a private sleep lab. It provides precise event timestamps and audio or watch-haptic therapy to encourage position changes, all while keeping your data 100% offline.

๐Ÿ”ฌ

How Detection Works

Using SoundAnalysis (CoreML) on iOS and an equivalent ML engine on Android, the app analyzes audio frames in real-time. It ignores background noise and only logs confirmed snore bouts to your local database.

๐Ÿ“Š

Your Data, Your Insights

Raw detections are transformed into meaningful heatmaps and quality scores. All history stays on-device, with optional encrypted exports available for clinical review.

๐Ÿ”„

Data & Workflow

How raw audio becomes actionable sleep insights.

1. Audio Capture

Continuous low-latency buffer processing. 0% disk write at this stage.

โ†“

2. On-Device ML

Classification engine filters noise. Only confirmed events proceed.

โ†“

3. Local Accumulation

Events, confidence scores, and therapy stats are written to Core Data / SQL.

Data feeds view layer
โ†“
Dashboard
Real-time Feed
Analysis
Bout Heatmaps
Calendar
Long-term Trends
Therapy
Effectiveness Stats
๐Ÿง 

Technology stack

Fully local audio analytics โ€” no cloud, no account. Real-time classification, adaptive therapy, and cross-platform visualization on iOS and Android.

Core platform layers

Audio Engine

AVAudioEngine & AudioRecord ยท Continuous low-latency buffering.

Intelligence

SoundAnalysis & CoreML ยท Real-time on-device classification.

Persistence

Core Data & SQL ยท Local encrypted session storage.

Watch Link

Wearable Data Layer (Android) & WatchConnectivity (iOS) ยท Low-latency haptic relay to a paired watch.

Real-time processing

Frame Analysis

Continuous acoustic feature extraction and confidence scoring.

Event Filtering

Heuristic grouping of detections into filtered snore bouts.

Active Therapy

Adaptive audio and/or watch-haptic cues, escalating in lockstep, triggered by detection thresholds.

Data Architecture

RecordingSession

Aggregated metadata, quality scores, and audio file references.

SoundEvents

Raw ML classifications with confidence scores and timestamps.

TherapyStats

Weighted effectiveness scoring of audio and haptic cues to prevent habituation.

Main Screen

Your session control centre. Tap record to start โ€” the app begins detecting sounds immediately.

Live event logSession historyAlarm status
  • Live waveform shows detected snore events as they happen
  • Session history lets you tap into any past night's full report
  • Smart alarm banner appears when an active alarm is set
๐Ÿ“ทScreenshots coming soon

Session Detail

Dive into any session with three chart modes: events, trend, and intensity heatmap. Tap any data point to see the exact time, value, and confidence score โ€” or play back the original audio clip.

Events bar chart10-min trend lineIntensity heatmap
  • Events bar chart for the full session
  • 10-minute trend line across the night
  • Intensity heatmap highlighting the worst stretches
  • Tap any data point for time, value, and confidence score
  • Play back the original audio clip behind any detection
๐Ÿ“ทScreenshots coming soon

Calendar & Daily View

A month-view calendar colour-coded by sleep quality. Tap any night for a full breakdown: quality score, snore count, 15-minute intensity heatmap, and audio playback for any event.

Monthly overviewQuality score per night15-min heatmapAudio playback per event
  • Monthly overview colour-coded by sleep quality
  • Quality score and snore count per night
  • 15-minute intensity heatmap per session
  • Audio playback for any logged event
๐Ÿ“ทScreenshots coming soon

Anti-Snoring Therapy

When snoring is detected, the app nudges you toward a position change without waking you โ€” a gentle audio tone, a vibration on a paired Apple Watch or Wear OS watch, or both together. Sound and haptic intensity escalate in lockstep the longer a bout continues, so "Both" mode always feels synchronized. The report shows which sounds worked best and a timeline of every bout colour-coded by duration.

Sound / Watch / BothWear OS + watchOS hapticsBout timeline by durationAudio effectiveness chart
  • Three stimulus modes โ€” Sound, Watch, or Both โ€” chosen per person
  • Haptic relay to a paired Apple Watch or Wear OS watch, escalating with bout duration
  • Sound and haptic intensity ramp in lockstep, so combined mode stays synchronized
  • Gentle audio cue triggered on confirmed snore bouts
  • Timeline of every bout colour-coded by duration
  • Effectiveness chart comparing therapy sounds
  • Highlights the top-performing sounds for you
๐Ÿ“ทScreenshots coming soon

Learn

In-app articles on snoring, sleep health, and how to read your data โ€” organized by topic so you find answers quickly.

Causes & risk factorsSleep health tipsUnderstanding your data
  • Causes and risk factors of snoring
  • General sleep health tips
  • Guides for understanding your session data
๐Ÿ“ทScreenshots coming soon

Settings

Tune detection sensitivity, therapy audio, and alarm behaviour. All data stays local โ€” no account needed.

Detection model selectorSmart alarm configurationAnti-snore volume & thresholdExport / import / data management
  • Detection model selector
  • Stimulus mode โ€” Sound, Watch, or Both
  • Smart alarm configuration
  • Anti-snore volume and sensitivity threshold
  • Export, import, and data management
๐Ÿ“ทScreenshots coming soon