Skip to content

WanderFM

WanderFM is an app that gives you a soundtrack to your life based on where you are.

Core trick

Lyria RealTime music whose tempo follows heart-rate input, with style prompts Gemini writes from listening history.

Tags

Description

WanderFM is an app that gives you a soundtrack to your life based on where you are. No longer will you need to spend the time choosing the perfect playlist for every journey. It will seamlessly transition the background music for your wandering. It takes in other information like user preferences, spotify history, biometrics, and location / weather.
ewcol/WanderFM★ 01 forksPythonCreated Feb 28, 2026 · last push Feb 28, 2026

README excerpt

# WanderFM 🎵

Real-time AI music generation powered by **Google Lyria RealTime**, driven by your heartbeat, time of day, local weather, and nearby places.

## Features

- **❤️ Heartbeat (BPM)** – Simulate heart rate (60–180 BPM). Maps directly to music tempo.
- **� Spotify Personalization** – Sync your listening history. Gemini analyzes your "Recently Played" tracks to generate personalized style prompts for Lyria.
- **�🎵 Genre** – Pick from presets (Lo-fi, Jazz, Electronic, Rock, Classical, R&B, Ambient, Japanese cryptopunk polka) or type your own for fine-grained control.
- **✨ Experience** – Choose a vibe (Happy Walk, Intense Study, Chill Evening, Road Trip, Workout) or describe your own to shape the music's energy and character.
- **🕐 Time of day** – Morning, afternoon, evening, and night shape the mood (e.g. calm morning vs late-night ambient).
- **🌤️ Weather** – Google Weather API provides current conditions (sunny, rainy, cloudy, stormy, snowy, windy, etc.).
- **📍 Location** – Nearby places (via Google Places API) influence the music — a jazz club gets jazz, a stadium gets crowd energy, a park gets nature ambient. The place name itself is included in the prompt.

## Quick start

### 1. Install

```bash
python3 -m venv .venv
source .venv/bin/activate   # On Windows: .venv\Scripts\activate
pip install -r requirements.txt
```

Requires **Python 3.10+** (for google-genai Lyria support).

### 2. Environment Variables

Create a `.env` file in the root directory:

```env
# Go

Team