AIraoke is a fun, experimental app that brings lyric transcriptions to life as karaoke-style MP4 videos. Built on Python-Lyric-Transcriberβs transcription logic, it adds a custom Gradio UI to visualize lyrics with beat-synced effects. Running locally on PC, Linux, or Mac without APIs, it uses Whisper for transcription, an LLM for optional lyric tweaks, and Demucs for vocal separation. Outputs may not be perfect, but itβs a creative playground for karaoke lovers, creators, and audio enthusiasts!
- πͺ Guided 4-Step Workflow β Upload β Transcribe β Edit β Render, with a step indicator, contextual hints, and settings that open automatically as you progress
- π§ Audio Transcription using OpenAI Whisper (Turbo / Large-v3)
- β‘ Quality Presets β Fast / Balanced / Best one-click presets (switches to Custom when you fine-tune the model or resolution yourself)
- πΊ YouTube Downloads β Paste a link to grab audio, or the full MP4 to use as your karaoke background
- π¬ Backgrounds Your Way β Bundled videos, your own uploaded/custom video (loops automatically), Audio Particles, or plain black
- β¨ Audio Particles Visualizer β Neon bloom, a rotating spectrum ring driven by the music, beat shockwaves, and a bass-pulsing background
- π Vocal Volume Slider β 100% keeps original vocals, lower it for quieter vocals, 0% for a pure instrumental (Demucs separation runs automatically)
- βοΈ Lyrics Editor β Fix words and timing in a table before rendering
- π§ LLM Correction (optional) β Use a local Ollama model to clean up lyrics
- πΊ Beat Effects, Countdown & Video Effects β Beat-synced brightness, a 3-2-1-GO! countdown, plus Black & White / Sepia / Vignette / Blur / Invert and a background dimmer
- π Song History β Recent songs are saved automatically (artist/title auto-filled from the filename) and reloadable from a dropdown
- π₯ Karaoke Video Output β Watch or download from the Video Playback tab (360p to 4K, NVENC accelerated when available)
- π₯οΈ Gradio UI β Easy-to-use web interface
- π Outputs:
.txt,.lrc,.ass, and.mp4video
π‘ Easiest install: use the AIraoke-Pinokio launcher for a 1-click install that sets up Python, PyTorch, FFmpeg, and all dependencies automatically.
Note: your FFmpeg build must include libass (the
subtitlesfilter) or videos will render black without lyrics. The builds below include it; some minimal/conda builds do not. AIraoke looks for FFmpeg in the app'sbin/folder first, then falls back to your system PATH.
If you encounter errors related to ffmpeg, download it manually:
- Go to: https://www.gyan.dev/ffmpeg/builds/
- Download the file:
ffmpeg-release-full.7z - Extract it to a folder (e.g.,
C:\ffmpeg7.1.1) - Add bin folder path (e.g.,
C:\ffmpeg7.1.1\ffmpeg-7.1.1-full_build\bin) to your system's environment PATH. - Optional: Inside the extracted folder, find and copy:
ffmpeg.exeffplay.exeffprobe.exe
- Create a
binfolder (e.g.,AIraoke\bin) and paste the above files into it
On Linux/macOS: use your package manager (e.g., sudo apt install ffmpeg or brew install ffmpeg)
AIraoke works on Linux, Windows, and macOS. Follow the steps below:
git clone https://github.com/TheAwaken1/AIraoke.git
cd AIraokeAIraoke requires Python 3.10, 3.11, or 3.12.
python3.12 -m venv airaoke-env
source airaoke-env/bin/activatepy -3.12 -m venv airaoke-env
.\airaoke-env\Scripts\Activate.ps1py -3.12 -m venv airaoke-env
airaoke-env\Scripts\activate.batpip install --upgrade pip
# or
python.exe -m pip install --upgrade pipChoose the appropriate command for your system. For full compatibility, refer to: https://pytorch.org/get-started/locally
Example for CUDA 11.8:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118Example for CUDA 12.1 or later:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121Also tested and working:
pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 --index-url https://download.pytorch.org/whl/cu118Tested on NVIDIA DGX Spark with CUDA 13.0:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu130pip install torch torchvision torchaudiopip install -e .pip install -r requirements.txtDependencies include:
demucs
opencv-python
scipy
diffq
pydub
librosa
StrEnum
cattrs
toml
tomli
ffmpeg
ffprobe
bitsandbytes>=0.43.1
transformers>=4.47.0
spacy
pip install yt-dlp gradio==5.29.1 devicetorch openai-whisper
python -m spacy download en_core_web_smpython -m gradio_uiThe app will launch at:
http://localhost:7860
If port 7860 is already in use, launch AIraoke on a different port:
python -m gradio_ui --port 7861- Upload an audio or video file β or paste a YouTube link (check Download Video (MP4) if you want the video as your background). Artist and title auto-fill from the filename.
- Transcribe β pick a Quality Preset (or open Transcription Settings for full control) and click Transcribe Lyrics.
- Edit & Style β the app moves you to the Lyrics Editor: fix any words or timing, then open Video & Audio Style to choose your background, colors, effects, and vocal volume.
- Render β click Render Video and watch the result in the Video Playback tab. Re-render with different styles any time; your transcription is kept.
Transcriptions and videos will be saved in the output/ directory:
.txtβ Original and corrected lyrics.lrcβ Lyric synchronization.assβ Styled subtitle format.mp4β Karaoke video
All style options live in Video & Audio Style inside the Lyrics Editor tab:
- π¬ Pick a bundled background, upload a Custom Video (any MP4/MOV/WebM β it loops behind your lyrics), or choose Audio Particles / Black
- π¨ Font color, resolution (360p to 4K), video effects, and a background dimmer for text readability
- π Vocal volume from 100% (original) down to 0% (instrumental only)
- β±οΈ Countdown before the first lyric and beat-synced effects
- βοΈ Transcription options (GPU, Whisper model, LLM correction) live in Transcription Settings on the left
AIraoke is built on top of the amazing work from the open-source community. Special thanks to the following projects and their creators:
- Python-Lyric-Transcriber by nomadkaraoke β The core logic for lyric transcription in AIraoke. We adapted this project by adding a Gradio-based user interface and MP4 video output for visualizing lyric transcriptions.
- Whisper by OpenAI β The transcription engine used for converting audio to text.
- Demucs by Meta AI β The vocal separation model used to isolate vocals from audio tracks.
- Gradio UI and enhancements by TheAwakenOne
Please respect the licenses and terms of these projects when using AIraoke. Check their respective repositories for details.
AIraoke is an experimental tool crafted for creators, karaoke lovers, and audio experimenters. Designed to run locally on PC, Linux, or Mac, it uses Whisper for transcription and an LLM for lyric processing without relying on external APIs. Please note that the output may not always be perfect, as transcription and lyric alignment can vary. I hope AIraoke sparks joy and creativity in your lyric visualization projects, even if itβs a work in progress!
π License
AIraoke is licensed under the MIT License. See the LICENSE file for details. This project incorporates code from Python-Lyric-Transcriber, which is also licensed under the MIT License.