Auto-chart a song for Clone Hero from a Spotify link
SongHero is a free command line tool that auto-charts songs for Clone Hero. You give it a Spotify track link, it finds the recording, analyzes the beat and notes, and writes a Clone Hero song folder with Easy, Medium, Hard and Expert guitar charts. Put the folder in your songs library and rescan. The chart is generated by software, so expect a playable practice chart, not a hand-made one.
What does a Clone Hero auto charter do?
Clone Hero plays charts, and making one by hand means placing every note against the audio, which takes hours per song. An auto charter makes the first draft for you from the recording. SongHero does that for the lead guitar part: one command turns a Spotify link into a folder Clone Hero can load.
Spotify to Clone Hero: how does it work?
- Resolve. It reads the public Spotify track page for the title, artist, album, cover art and length. No login or API key.
- Download. It searches YouTube for the artist and title with yt-dlp and saves the audio as Opus. If the length is far from Spotify's, it stops, because it may have found a different version.
- Analyze. It finds the beats, tempo, note onsets and key with librosa, and splits the song into sections by how loud and bright each part is.
- Chart. It places notes on the beat grid, picks frets from the pitch of the nearest detected onset, and thins the Expert chart down into Hard, Medium and Easy.
- Package. It checks the chart, audio and metadata, then writes the song folder. A failed run leaves any earlier copy untouched.
How do you install SongHero?
You need Node.js 18 or newer, Python 3.9 or newer, yt-dlp, ffmpeg and ffprobe. On macOS, install Homebrew first. The installer checks these, sets up an isolated Python environment, installs the command and verifies it:
curl -fsSL https://raw.githubusercontent.com/jackwallner/any-song-clone-hero-cli/main/landing/install.sh | bash -s -- --add-to-path
--add-to-path adds SongHero to your shell startup file, with a backup. Leave it off and run ~/.songhero/bin/songhero directly if you prefer. On Windows, use WSL, not a double-click on the script. Then check everything is in place:
songhero -- doctor
How do you make your first chart?
- Copy a track link from Spotify (Share, then copy the link).
- Run
songherofollowed by the link, as below. - Wait for the five steps to finish. It ends with the folder path and a reminder to rescan.
- The folder is in
~/Desktop/Clone Hero/by default, namedArtist - Song (SongHero <track id>). Point Clone Hero at that folder, or move the song folder into your songs library, then rescan songs. - Pick the song and a difficulty and play.
songhero https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b
Each folder holds notes.chart (all four difficulties and any lyrics), song.ini, song.opus and album.jpg, plus video.mp4 if you asked for video. Add --output <folder> to save somewhere else.
What do the four difficulties contain?
| Difficulty | How it is built |
|---|---|
| Expert | Every note on the song's beat grid, two or four steps per beat. Can include chords. |
| Hard | Every on-beat note plus some off-beat ones. Can include chords. |
| Medium | On-beat notes only, one note at a time, no orange fret. |
| Easy | Every other Medium note, no orange fret. |
Without --gemini, every section uses the same power-chord style, which stays on the first four frets, so a local-only chart has no orange notes. The orange fret appears only when Gemini picks a lead or arpeggio style for a section.
What options are worth knowing?
| Option | What it does |
|---|---|
--video | Also download the music video and require it. The song fails if no compatible video is found. The default is no video. |
--auto-video | Try for a video, and carry on with audio only if it fails. |
--gemini | Use Gemini, with your own key, to suggest a style for each section. Off by default. |
--no-lyrics | Skip the lyric lookup. Lyrics are on by default. |
--rewrite | Replace a chart SongHero already made, only after the new one validates. |
-- playlist <url> | Chart every track Spotify's public embed shows for a public playlist. |
What should you expect from a generated chart?
- It is a practice chart, not a transcription. Notes follow the beat and the detected onsets. They do not copy the real guitar part.
- One tempo for the whole song. A song with big tempo changes will sit looser.
- Guitar only. No bass, drums or keys.
- It can pick the wrong recording. It takes the top YouTube result, and the length check catches many mismatches but not all. Listen before you trust it.
- The same inputs give the same notes. A new download or a different AI reply can change the result.
- You can edit it afterwards.
notes.chartis a plain Clone Hero chart file, so a chart editor such as Moonscraper can open it.
SongHero is an independent tool, not affiliated with Clone Hero or Spotify. Use only recordings, video and lyrics you have permission to download and use.
Frequently asked questions
Is there an AI Clone Hero chart maker?
SongHero is an auto charter that analyzes the audio itself, with an optional AI step. If you add the --gemini flag and your own Google Gemini key, Gemini suggests a playing style for each section of the song. It is off by default, a missing key falls back to local analysis, and the chart is generated either way.
Does SongHero download the song from Spotify?
No. The Spotify link is only used to read the public track page for the title, artist, album, cover art and length. The audio comes from the top YouTube search result for the artist and title, downloaded with yt-dlp, and SongHero checks its length against Spotify's before it goes on.
Does it need a Spotify account or API key?
No. It reads the public track page, so there is no login and no Spotify API key.
Is SongHero free?
Yes. It is open source under the MIT license. Gemini is optional, and if you turn it on with your own key, Google may charge your account for the API use.
Which instruments does it chart?
Guitar only, in four difficulties. It does not chart bass, drums or keys. If it finds lyrics, it adds them as a vocals track with estimated timing.
What systems does it run on?
macOS, Linux and Windows through WSL. It needs Node.js 18 or newer, Python 3.9 or newer, yt-dlp, ffmpeg and ffprobe.
Can it chart a whole playlist?
Yes, a public Spotify playlist, one track at a time with a delay between tracks. It can only see tracks that Spotify's public embed shows, which may not be every track in a large playlist.
Is SongHero affiliated with Clone Hero or Spotify?
No. It is an independent tool. Use only recordings, video and lyrics you have permission to download and use.
More: the SongHero page and the source and README on GitHub.