A speech rhythm assistance app for iOS and Apple Watch, designed to help people who stutter find their natural speaking cadence.
Rhythm uses Apple Watch sensors and advanced speech pattern analysis to discreetly guide users toward a comfortable speaking rhythm. When elevated stress or speech hesitation is detected, the app provides personalized haptic feedback—a subtle, physical metronome right on the wrist.
- ❤️ Stress & Heart Rate Detection: Actively monitors heart rate via Apple Watch to identify signs of stress.
- 🗣️ Speech Pattern Analysis: Learns your natural baseline speaking cadence during the calibration phase.
- ⌚ Automatic Haptic Assistance: Automatically delivers rhythmic pulses to the wrist when stress or hesitation is detected.
- 📳 Multiple Haptic Patterns: Choose the feedback style that suits you best:
MetronomePulseWaveBreath
- ☁️ iCloud Sync: Settings and rhythmic profiles sync seamlessly between your iPhone and Apple Watch.
- iOS: 17.0+
- watchOS: 10.0+
- Xcode: 15.0+
- Hardware: Apple Watch (required for haptic feedback and heart rate monitoring)
Follow these steps to get the project running locally in Xcode.
git clone https://github.com/CxxxxDxxxF/Rhythm.git
cd RhythmInstall these tools to enhance your Xcode development experience:
# For autocomplete and jump-to-definition in external editors
brew install xcode-build-server
# For readable build logs in the terminal
brew install xcbeautify
# For consistent code auto-formatting
brew install swift-formatopen Rhythm.xcodeprojIn Xcode, select the root project and configure the target settings for both iOS and watchOS targets:
- Go to the Signing & Capabilities tab.
- Ensure HealthKit is added.
- Ensure iCloud (CloudKit) is added.
- Verify or create the CloudKit container:
iCloud.com.yourteam.Rhythm(Note: Update this to match your actual Bundle ID).
Change the placeholder Bundle Identifier (com.yourteam.Rhythm) to your team's unique identifier in both targets.
- To test the iPhone interface, select the Rhythm scheme.
- To test the Watch interface and haptics, select the Rhythm Watch App scheme.
The magic of Rhythm happens in four seamless steps:
- Calibration: The user reads a predefined passage three times. The app analyzes this to establish a baseline natural speech rhythm.
- Monitoring: Throughout the day, the Apple Watch monitors heart rate, and the iPhone passively analyzes speech patterns.
- Detection: The system detects moments of high stress (via elevated HR) or speech hesitation.
- Assistance: The Watch seamlessly intervenes, providing rhythmic haptic pulses matched precisely to the user's natural, calm tempo.
Rhythm/
├── App/ # iOS App entry point
├── Core/
│ ├── Audio/ # Audio input handling
│ ├── Coordination/ # Stress & event coordination
│ ├── Data/ # SwiftData models
│ ├── Metronome/ # Core beat timing logic
│ ├── Session/ # Watch connectivity & state sync
│ ├── Speech/ # Speech recognition & analysis
│ └── UI/ # Design system & reusable components
├── Features/
│ ├── Home/ # Main iOS dashboard
│ ├── Onboarding/ # Welcome & calibration flows
│ ├── Practice/ # Practice drills & exercises
│ └── Settings/ # App settings & profile management
└── Resources/ # Storyboards, assets, & entitlements
Rhythm Watch App/
├── App/ # WatchOS App entry point
├── Core/
│ ├── Haptics/ # Haptic pattern definitions
│ ├── Health/ # Heart rate monitoring logic
│ └── Metronome/ # Watch-specific metronome engine
├── Features/Home/ # Watch main screen
└── Resources/ # Watch-specific assets
Rhythm is built with user privacy as a foundational principle:
- No recording: Audio is processed in real-time but never recorded or stored.
- On-device data: Health data remains securely on your device and in your personal iCloud account.
- Zero tracking: There are no external servers or analytics tracking your usage.
- Review our full Privacy Policy for complete details.
This project is proprietary. All rights reserved.
Built upon research-backed principles from speech therapy and neuroscience to provide a tangible, non-intrusive aid for stuttering.