Illustration: a heart rate line turning into a sound wave
Back to Projects

Moodly: Biometric-Adaptive Music App for Sleep, Driving and Training

Client

Moodly

Industry

Music / Health & Wellness

Duration

2026, 5 months

Team

Frontend / Mobile Developer

Overview

Moodly plays music that adapts to the listener's body in real time. The app reads heart rate from an Apple Watch or the company's own Mood Band, connects to Spotify or Apple Music, and picks tracks for the current activity: workout, sleep, driving or focus. IdeaTeam's developer joined an existing codebase, first to fix stability problems, then to build new modes.

Challenge

  • The phone and watch lost connection, and sessions crashed on start and stop
  • Spotify playback broke on the locked screen: pause, skip and next behaved unpredictably
  • Songs repeated or skipped, and memory leaks built up during long sessions
  • The product needed new modes (sleep, driving, cycling) and an Android version on top of an unstable base

Solution

  • Found and fixed the watch connection bug, session crashes and memory leaks, and refactored the player
  • Rebuilt the Spotify integration: locked-screen controls, free-plan handling, crossfade; rewrote Apple Music on Android to the official SDK
  • Built Sleep mode: sleep companion, wake-up flow, guard banners, sleep reports, phone and watch session sync
  • Built Driving mode (Automood) with driving reports
  • Built the B2B Cycling Program Generator
  • Integrated the Mood Band wearable, including heart rate and HRV for sleep sessions
  • Delivered the Android version
  • Added Apple sign-in, account deletion, an activity log, a session timer and explicit-song filtering
  • Designed new song selection logic for sleep, driving, cycling and wellness, and moved hardcoded factors into the database

Result

A stable app with three new modes, a second wearable and a second platform, delivered by one developer in five months.

Technology Stack

React NativeTypeScriptSwiftwatchOSiOSAndroidSpotifyApple MusicPostHog

Key Features

  • Music that adapts to heart rate in real time
  • Sleep mode with wake-up flow and sleep reports
  • Driving mode with reports
  • B2B cycling program generator
  • Apple Watch and Mood Band support
  • iOS and Android

Have a similar project in mind?

Let's Talk