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.
Real-time Feed
Bout Heatmaps
Long-term Trends
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
AVAudioEngine & AudioRecord ยท Continuous low-latency buffering.
IntelligenceSoundAnalysis & CoreML ยท Real-time on-device classification.
PersistenceCore Data & SQL ยท Local encrypted session storage.
Watch LinkWearable Data Layer (Android) & WatchConnectivity (iOS) ยท Low-latency haptic relay to a paired watch.
Real-time processing
Continuous acoustic feature extraction and confidence scoring.
Event FilteringHeuristic grouping of detections into filtered snore bouts.
Active TherapyAdaptive audio and/or watch-haptic cues, escalating in lockstep, triggered by detection thresholds.
Data Architecture
Aggregated metadata, quality scores, and audio file references.
Raw ML classifications with confidence scores and timestamps.
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 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
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 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
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 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
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.
- 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
Learn
In-app articles on snoring, sleep health, and how to read your data โ organized by topic so you find answers quickly.
- Causes and risk factors of snoring
- General sleep health tips
- Guides for understanding your session data
Settings
Tune detection sensitivity, therapy audio, and alarm behaviour. All data stays local โ no account needed.
- Detection model selector
- Stimulus mode โ Sound, Watch, or Both
- Smart alarm configuration
- Anti-snore volume and sensitivity threshold
- Export, import, and data management