/2bft-karaoke-video-maker:karaoke-video-maker-vocal-remover-lyrics-syncfrom 2BFT Karaoke Video Maker
Make a karaoke track and word-by-word lyric video from a song file, fully offline on your own PC. Removes vocals (instrumental / backing track) with BS-RoFormer via python-audio-separator on the GPU, transcribes with Whisper, force-aligns the lyrics to word timing, round-trip checks them, renders a libass karaoke video with the current word highlighted, and builds an LRC file and a printable lyric sheet PDF. For duets it splits singers by pitch and makes "you sing this part" practice tracks. Use when the user says make a karaoke track, karaoke video, remove vocals, vocal remover, instrumental, backing track, lyric video, word-by-word lyrics, synced lyrics, LRC file, lyrics timing, force align lyrics, practice track, duet, or sing along. Only for lyrics that are public domain, traditional, the user's own, or pasted by the user; personal or practice use.
Ships in 2BFT Karaoke Video Maker. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Song file in, a whole karaoke kit out, all on the user's PC. No upload, no account, no per-song fee.
KK below means the scripts/ folder next to this SKILL.md. Always run Python as python -I (isolated mode); every script adds its own folder to the path.
Write out, transcribe-to-file or render lyrics only if they are public domain, traditional, the user's own words, or text the user pasted in this chat. For anything else (a current pop song, a film song) do not type the lyrics from memory or fetch them from a lyrics site. Offer the parts that need no lyrics (vocal removal, instrumental, guide track, --keep-backing karaoke track) and ask the user to paste the lyrics if they have the right to use them. Never download songs for redistribution. Outputs are for personal and practice use unless the user owns the rights. The vocal-remover model weights are community-trained with no stated licence: personal use.
python -I KK/kk.py init my-song --song "path/to/song.mp3" --title "Song name" --language en [--duet "LowVoiceName,HighVoiceName"]
This writes my-song/project.json and a lyrics.tsv template. Every later command takes the folder (or the json) as its argument. Keys: references/project-json.md.
python -I KK/kk.py <step> my-song)| Step | What it does | Output (in my-song/work/ unless noted) |
|---|---|---|
separate | BS-RoFormer takes the singing out on the GPU. --keep-backing removes only the lead vocal and keeps backing vocals. --start S --seconds N tests a short clip first. | stems/karaoke.wav (instrumental), stems/vocals.wav, vocals16k.wav |
listen | finds the sung phrases, transcribes the vocal with Whisper large-v3-turbo, and again in 8 s windows (shows repeats) | phrases.json, whisper.txt, windows.txt |
| (lyrics) | write lyrics.tsv: start<TAB>section<TAB>text[<TAB>roman][<TAB>low|high|both]. Start may be auto. Format: references/lyrics-format.md | lyrics.tsv |
autopin | fills auto starts by matching your lyrics to what Whisper heard (lines below 0.5 stay auto; type a time from windows.txt) | lyrics.tsv |
align | word-by-word timing, MMS_FA forced alignment, one window per line (--mode blocks for fast songs) | aligned.json |
check | round trip: Whisper re-listens to each timed line alone and compares with the lyrics. Lines under 0.75 are marked CHECK. | printed |
pitch | pitch track (duets only) | pitch.npz |
build | karaoke .ass, three .lrc files, lyrics.txt, instrumental, guide-vocal and "you sing" audio | out/ |
sheet | printable A4 lyric sheet, HTML then PDF through Edge/Chrome | out/*_lyric-sheet.pdf |
render | the karaoke video (NVENC, falls back to x264). --seconds 12 for a quick look; --audio guide keeps the original singing quiet | out/*_karaoke-video.mp4 |
kk.py all my-song runs separate, listen, autopin, align, check, pitch, build, sheet and render in one go; it stops after listen while lyrics.tsv has no lyric lines.
separate --start 60 --seconds 30), then the whole song. One GPU job at a time; check free VRAM and RAM first.whisper.txt and windows.txt. For a public-domain or traditional song, write the lyrics yourself from what was heard and fix doubtful words (below). For anything else, the user pastes them. Whisper is weaker on singing than on speech: expect wrong words on held notes.python -I KK/score_candidates.py --project my-song START END "wording one" "wording two". Higher log-likelihood fits better. Compare candidates with the same number of letters; a shorter text always scores higher.large-v3-turbo with the language set, and for Indian languages cross-check against an Indic ASR.check after align. The aligner's conf numbers are low for singing (0.15 to 0.5 is normal); trust the round trip and your frame check, not those numbers.ffmpeg -ss T -i out/*_karaoke-video.mp4 -frames:v 1 f.png at a line start, mid-line, a count-in, a music break and the last line. Claude cannot hear: say so, and tell the user which lines check flagged.text and the same words in Latin letters in roman (same word count). The aligner hears the roman letters; the video shows both.singers.split_hz. Two voices an octave apart need no tuning (default 260 Hz). Voices close together do: print the pitch of each line (phrases.json has medians), set split_hz between them, and loosen high_share. Or set the singer per line in column 5. build then writes you-sing-<name> tracks (that singer's lines silent, the other's kept).import torch before it loads, or CUDA fails with Library cublas64_12.dll is not found. The scripts do this for you; keep it if you write your own.Barlow Semi Condensed SemiBold, not Barlow Semi Condensed); a wrong name silently falls back to Arial. The font file must be in fonts_dir.sheet.py writes break-before: page itself.align.py cuts a line's last word where the sound stops.C\: escaping, spaces) break ass=. render.py copies the .ass and fonts next to ffmpeg's working directory and uses relative names.out/<slug>_karaoke-video.mp4, _karaoke.ass, .lrc, _roman.lrc (two-script songs), _word-timed.lrc, _lyrics.txt, _instrumental.wav/.mp3, _guide-vocal.mp3, _vocals-only.mp3, _you-sing-<name>.mp3 (duets), _lyric-sheet.pdf.
Built by 2BFT (Two Boys From Town), a free AI school from Vaniyambadi, Tamil Nadu: https://2bft.in
fonts/BarlowSemiCondensed-SemiBold.ttf (opens in a new tab)fonts/OFL-Barlow.txt (opens in a new tab)references/gotchas.md (opens in a new tab)references/lyrics-format.md (opens in a new tab)references/project-json.md (opens in a new tab)references/setup.md (opens in a new tab)scripts/align.py (opens in a new tab)scripts/autopin.py (opens in a new tab)scripts/build.py (opens in a new tab)scripts/check.py (opens in a new tab)scripts/karaoke.py (opens in a new tab)scripts/kk.py (opens in a new tab)scripts/kk_common.py (opens in a new tab)scripts/phrases.py (opens in a new tab)scripts/pitch.py (opens in a new tab)scripts/render.py (opens in a new tab)scripts/score_candidates.py (opens in a new tab)scripts/sheet.py (opens in a new tab)scripts/transcribe.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub 2boysfromtown/karaoke-video-maker-ai-vocal-remover-word-synced-lyrics-claude-code-offline --plugin 2bft-karaoke-video-maker