8000 GitHub - CxxxxDxxxF/Rhythm · GitHub
[go: up one dir, main page]

Skip to content
CxxxxDxxxFPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Rhythm

Rhythm App Logo

A speech rhythm assistance app for iOS and Apple Watch, designed to help people who stutter find their natural speaking cadence.


🌟 Overview

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.

✨ Features

  • ❤️ 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:
    • Metronome
    • Pulse
    • Wave
    • Breath
  • ☁️ iCloud Sync: Settings and rhythmic profiles sync seamlessly between your iPhone and Apple Watch.

🛠️ Requirements

  • iOS: 17.0+
  • watchOS: 10.0+
  • Xcode: 15.0+
  • Hardware: Apple Watch (required for haptic feedback and heart rate monitoring)

🚀 Getting Started

Follow these steps to get the project running locally in Xcode.

1. Clone the Repository

git clone https://github.com/CxxxxDxxxF/Rhythm.git
cd Rhythm

2. Install Development Tools (Optional)

Install 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-format

3. Open in Xcode

open Rhythm.xcodeproj

4. Configure App Capabilities

In Xcode, select the root project and configure the target settings for both iOS and watchOS targets:

  1. Go to the Signing & Capabilities tab.
  2. Ensure HealthKit is added.
  3. Ensure iCloud (CloudKit) is added.
  4. Verify or create the CloudKit container: iCloud.com.yourteam.Rhythm (Note: Update this to match your actual Bundle ID).

5. Update the Bundle Identifier

Change the placeholder Bundle Identifier (com.yourteam.Rhythm) to your team's unique identifier in both targets.

6. Build and Run

  • To test the iPhone interface, select the Rhythm scheme.
  • To test the Watch interface and haptics, select the Rhythm Watch App scheme.

🧠 How It Works

The magic of Rhythm happens in four seamless steps:

  1. Calibration: The user reads a predefined passage three times. The app analyzes this to establish a baseline natural speech rhythm.
  2. Monitoring: Throughout the day, the Apple Watch monitors heart rate, and the iPhone passively analyzes speech patterns.
  3. Detection: The system detects moments of high stress (via elevated HR) or speech hesitation.
  4. Assistance: The Watch seamlessly intervenes, providing rhythmic haptic pulses matched precisely to the user's natural, calm tempo.

📁 Project Structure

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

🔒 Privacy First

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.

📄 License

This project is proprietary. All rights reserved.


🎓 Acknowledgments

Built upon research-backed principles from speech therapy and neuroscience to provide a tangible, non-intrusive aid for stuttering.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0