
A finished tab: 107 bars and 2,428 notes, with playback, speed control and Guitar Pro download
The product
song2tab turns a recording into a guitar tab you can actually play from. Drop in an MP3 or paste a YouTube link and a GPU engine separates the track into six stems with Demucs, splits the guitar stem into up to three guitars by where they sit in the stereo mix, and transcribes each one note by note.
Beats and bars come from librosa beat tracking on a 16th-note grid. The engine detects the tuning, then a Viterbi search picks the strings and frets that give the easiest path for your hand. The result plays back in an alphaTab viewer synced to the audio, and downloads as a Guitar Pro 5 file or a text tab.
None of the off-the-shelf note detectors were trained on distorted guitar pulled out of a full mix, so I built a training pipeline. It re-amps the GuitarSet recordings through an amp simulator at several gains (the notes don't change, so the labels stay exact), mixes them with real drums, bass and vocals, runs them through the same stem splitter the app uses, and fine-tunes a checkpoint on the result. That model beats the pretrained detectors on a benchmark of real songs, which compares each tab against community tabs time-aligned to the recording.