AI-POWERED CHART GENERATION

PASTE A SPOTIFY LINK.
GET A CLONE HERO CHART.

SongHero downloads the track, analyzes every beat with AI, and builds a full chart with 4 difficulty levels โ€” in one command. No charting experience needed.

amplifier โ€” songhero
~ $ songhero https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b --gemini --video
โฌ‡ Downloading Bohemian Rhapsody...
๐ŸŽ›๏ธ Analyzing beats, pitch & song structure...
๐Ÿค– Gemini enhancing note patterns...
โœ… Saved to ~/Desktop/Clone Hero/Queen - Bohemian Rhapsody (SongHero AI)/

Everything you need for the perfect chart

No MIDI knowledge. No manual charting. Just a Spotify link and one command.

๐ŸŽง

Spotify โ†’ Chart

Paste any Spotify track URL and SongHero finds the audio, downloads it, and generates a full chart. No API keys, no setup โ€” just the link.

๐Ÿค–

Gemini AI Engine

Google Gemini 2.0 Flash maps song sections โ€” verses, choruses, bridges โ€” and builds note patterns that feel like a human charted every phrase.

๐ŸŽš๏ธ

4 Difficulty Levels

Easy, Medium, Hard, and Expert โ€” each with independent note grids. Progressive orange fret and chord usage tuned to the song's actual intensity.

๐Ÿ“บ

Music Video Included

Automatically downloads the official music video and packages it as a video background โ€” just like Clone Hero expects. Drop in and play.

๐Ÿฅ

Beat-Accurate Timing

librosa audio analysis extracts precise onsets, tempo maps, and pitch curves. Every note lands on an actual beat โ€” no random placement.

๐Ÿ“ฆ

Ready-to-Play Output

Outputs a complete Clone Hero song folder with notes.chart, song.ini, album art, and audio. Move it to your Songs folder and you're done.

Four steps. Zero effort.

From a Spotify URL to a playable chart folder in under a minute.

01

Resolve

Extracts song title, artist, album art, and metadata from the Spotify URL using public info โ€” no auth required.

02

Download

Fetches the highest-quality audio and optional music video from YouTube via yt-dlp and ffmpeg.

03

Analyze

librosa detects beats, onsets, and pitch. Gemini maps song sections and suggests note patterns per difficulty.

04

Generate

Builds a .chart file with all 4 difficulties, writes metadata, and packages everything into a ready-to-play folder.

From Easy to Expert

Every chart ships with all four difficulty levels. Pick your pace and play.

Difficulty Note Density Orange Fret Chords Style
๐Ÿฅ‰ EASY 25% โ€” โ€” Simple single notes on strong beats
๐Ÿฅˆ MEDIUM 50% โ€” โ€” Faster single notes, varied patterns
๐Ÿฅ‡ HARD 70% โœ“ โœ“ Orange notes, some chords, faster sections
๐ŸŽธ EXPERT 90% โœ“ โœ“ Dense patterns, full chords, all notes mapped

One command. That's it.

Works on macOS and Linux. Windows via WSL.

$ curl -sSL https://raw.githubusercontent.com/jackwallner/portfolio/main/docs/songhero/install.sh | bash
Prerequisites: brew install yt-dlp ffmpeg ยท pip3 install librosa soundfile numpy scipy

Ready to play, instantly

Every chart lands in a complete Clone Hero song folder. Drop it in your Songs directory and play.

~/Desktop/Clone Hero/
โ””โ”€โ”€ Queen - Bohemian Rhapsody (SongHero AI)/
    โ”œโ”€โ”€ notes.chart  All 4 difficulties
    โ”œโ”€โ”€ song.ini      Metadata (artist, album, length)
    โ”œโ”€โ”€ song.opus    High-quality audio
    โ”œโ”€โ”€ album.jpg    Album cover art
    โ””โ”€โ”€ video.mp4    Music video background

Stop charting by hand.

Paste a link. Get a chart. Play the song.