EchoSoul: a 3D music companion that remembers what you listen to
EchoSoul is an Android app where your music lives in a glowing 3D room with a jelly-bodied companion. It wears headphones, bounces to your beats, and sends musical notes floating out of its ear cups. Every song you play, every sound you record, and every song you extract from a video goes into a personal listening memory.
It runs fully offline on the device, with no accounts, no cloud, and no paid APIs.
The problem
Most people have no idea what they actually listen to. Streaming apps show a "year in review" once a year, but day to day, listening is invisible. Sounds you record yourself, or songs you pull out of a video, never appear in any history at all.
Who it's for and how it helps
EchoSoul is for anyone who wants a private, honest record of their listening: students, creators, and music lovers who don't want their habits sent to a server.
- Tracks every listen. For each song played inside the app, it logs the start time and how long you actually listened. The Memory panel shows total time, time today, sessions, a 7-day chart, your most-listened track, and a recent-listens log.
- Makes listening fun. The companion reacts to the music, and you earn XP and levels as you listen.
- Captures sound you make. Record with one tap, then rename, tag, and add notes.
- Rescues songs from videos. Pick a concert video and EchoSoul extracts the audio on-device into a new track.
Honest scope: EchoSoul tracks audio played inside the app (imported files, recordings, extracted songs). It does not monitor other apps such as Spotify or YouTube Music.
AI implementation
EchoSoul uses no external AI service or paid API. The intelligence is on-device audio signal processing, written from scratch:
- Real-time music analysis: a 1024-point FFT on the player's audio stream gives RMS, bass, mid, and treble energy. These drive the companion, the lighting, and the visualiser bars.
- Beat and tempo detection: bass spikes over time are used to find beats and estimate BPM. The companion hops on beats, does a big jump on loud moments, and its looping animation speeds up or slows down to match the tempo.
- On-device audio extraction:
MediaExtractorandMediaCodecdecode the audio track of a video into a WAV file locally.
Tech stack: Kotlin, Jetpack Compose, SceneView (Filament) for 3D, Android Media3 / ExoPlayer for playback, AudioRecord for recording, Room for the listening database, DataStore for settings.
Content creation: the companion was modelled and animated in Blender and exported as GLB. The calm background loop was generated procedurally with a Python script.
Working demo
Open proj/Echo in Android Studio and run it on an emulator (Pixel 6a, API 36+, Graphics set to Hardware).
- Launch the app. Calm ambient music starts on its own.
- Tap the music icon, choose Import audio, and pick the demo songs.
- Play a few songs, skip, and pause.
- Tap the memory icon to see your listening stats and 7-day chart.
- In the music panel, choose Extract song from a video, pick the concert clip, and play the extracted song.
