Skip to content

larrie1/cyclesync

Repository files navigation

🎶 Musikalische Steuerung im Indoor-Cycling

Master Thesis Project
Musikalische Steuerung im Indoor-Cycling: Untersuchung des Einflusses von Musiktempo auf Trittfrequenz und Leistung

This Android application is built using SvelteKit and Capacitor, and enables music playback control based on real-time RPM (cadence) and heart rate tracking. The app is designed to support indoor cycling sessions where music tempo adapts to physiological and movement data to enhance user performance.


🚀 Features

  • 📱 Cross-platform app powered by SvelteKit + Capacitor
  • 🎵 Dynamic music control based on:
    • RPM cadence tracker
    • Heart rate sensor
  • ☁️ User data storage and sync using Supabase
  • 🔧 Easy development and testing with live reload on Android

🛠 Development Setup

1. Install dependencies

pnpm install

2. Start development server

pnpm run dev

3. Run on Android device

npx cap run android

🔐 Environment Variables

Before running the app, you must set the following public Supabase environment variables in your .env file:

PUBLIC_SUPABASE_URL=your-supabase-project-url
PUBLIC_SUPABASE_ANON_KEY=your-anon-key
PUBLIC_JAMENDO_CLIENT_ID=your-jamendo-api-key

These values point to your own Supabase project where the user data is stored.

💡 Make sure your Supabase tables and policies are set up to match the app’s expected schema. The table schema for the tracks table is identical to the constructor of the Track class. The logs table is identical to the information which is used for logging in supabase.ts.


📦 Technologies Used


🎓 About This Project

This app is part of my Master Thesis at Leibniz University Hannover titled:

"Musikalische Steuerung im Indoor-Cycling: Untersuchung des Einflusses von Musiktempo auf Trittfrequenz und Leistung"

The goal is to explore how adaptive music can influence cadence and performance during stationary cycling workouts.


ℹ️ Information

The App Icons and Splashscreens got created with Sora, an AI Image Generator, also this README got created by ChatGPT.


📚 Resources Used


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published