Auto-chart a song for Clone Hero from a Spotify link

By Jack Wallner · Last updated

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?

  1. Resolve. It reads the public Spotify track page for the title, artist, album, cover art and length. No login or API key.
  2. 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.
  3. 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.
  4. 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.
  5. 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?

  1. Copy a track link from Spotify (Share, then copy the link).
  2. Run songhero followed by the link, as below.
  3. Wait for the five steps to finish. It ends with the folder path and a reminder to rescan.
  4. The folder is in ~/Desktop/Clone Hero/ by default, named Artist - Song (SongHero <track id>). Point Clone Hero at that folder, or move the song folder into your songs library, then rescan songs.
  5. 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?

DifficultyHow it is built
ExpertEvery note on the song's beat grid, two or four steps per beat. Can include chords.
HardEvery on-beat note plus some off-beat ones. Can include chords.
MediumOn-beat notes only, one note at a time, no orange fret.
EasyEvery 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?

OptionWhat it does
--videoAlso download the music video and require it. The song fails if no compatible video is found. The default is no video.
--auto-videoTry for a video, and carry on with audio only if it fails.
--geminiUse Gemini, with your own key, to suggest a style for each section. Off by default.
--no-lyricsSkip the lyric lookup. Lyrics are on by default.
--rewriteReplace 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?

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.

Sources

  1. SongHero README and source on GitHub
  2. librosa: audio and music analysis in Python
  3. yt-dlp
  4. LRCLIB: lyrics database