Inspiration
I've alway's felt that I was able to remember song lyrics better than I was able to recall my study notes. Even after a single listen to a song I can remember the beat and the lyrics going along with it. So I thought why not make a study app that uses songs to help me and other people better remember things.
How it Works/ What it Does
Song Study works by allowing someone to upload their own notes, class slides, home address, anything they plan on remembering. You pick either an established song with a bpm and chorus you like or there's suggested genres for you. SongStudy pulls out the key facts, writes catchy lyrics, and generates a real song with ElevenLabs Music. While it plays, the lyrics light up line by line like karaoke, and a "What each line teaches" panel shows which fact from your notes each line covers. You can the publish your song to your class for a few cents. Classmates unlock it with USDC on Arc, and the money goes straight to you. A fun way to share study material.
Built with:
-Frontend: Next.js and Tailwind, with a two-panel layout: notes on the left, the song and synced lyrics on the right.
- Lyrics: Claude reads the notes, picks out 5–10 key facts, and writes singable lyrics. It returns a strict format I validate, so every lyric maps back to a real fact.
- Music: the ElevenLabs Music API builds the song section by section (verse, chorus, verse) from those exact lyrics, and returns word-level timestamps, which power the karaoke-style lyrics.
- Blockchain: a small Solidity contract on Arc testnet, built and tested with Foundry (17 tests). Publishing records the song's fingerprint onchain:
Challenges I Ran Into
-"Sounds like a song I love," without copying it. ElevenLabs rejects artist names and song titles. So I had the AI translate a reference song into neutral descriptors (genre, tempo, key, mood, instruments, vocal style), and I strip any leftover names before anything reaches the music model.
- Keeping lyrics accurate. A catchy song that teaches the wrong fact is worse than no song. Mapping every lyric line back to a specific fact fixed this.
- Reading activity from the chain. Arc limits how many blocks you can query at once, so the class library reads events in chunks.
What's Next
- Quiz mode that turns each song's fact map into flashcards
- Class spaces where a professor or TA curates the official song pack for an exam
- Revenue splits for co-written songs
Built With
- arc
- circlewagmi
- claude
- elevenlabs
- evm
- foundry
- metamask
- next.js
- node.js
- rainbowkit
- react
- solidity
- tailwinds
- typescript
- usdc
- wagmi