vttc08/demucs-karaoke-app
소개
DMKaraoke is a lightweight web application for home karaoke. It uses machine learning to separate vocals and create word-by-word synced lyrics. The application is completely free, with no advertisements and zero cloud subscription fees. It creates karaoke on your own device.
AI 및 머신러닝What you can do
- User queues: A mobile-friendly page for searching and adding songs with real-time updates.
- Video and lyrics downloads: Powered by YouTube, Musixmatch, and more; choose any karaoke style.
- Flexible architecture: Heavy ML dependencies are decoupled, keeping the main application lightweight and suitable for most deployments.
- AI/ML karaoke processing: Remove vocals from songs with Demucs and generate word-by-word karaoke timing with WhisperX.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDMKaraoke

DMKaraoke is a lightweight web application for home karaoke. It uses machine learning to separate vocals and create word-by-word synced lyrics. The application is completely free, with no advertisements and zero cloud subscription fees. It creates karaoke on your own device.
Table of Contents
Quick Start
This section is meant to help most people get the application running quickly with mostly default settings. For detailed configuration and usage, please review the detailed installation guide.
Karaoke App Only
For a typical Linux home server setup, Docker installation is recommended and it's listed here.
Docker installation
Download Docker Compose and
.env.example.wget https://raw.githubusercontent.com/vttc08/demucs-karaoke-app/refs/heads/main/compose.yml wget https://raw.githubusercontent.com/vttc08/demucs-karaoke-app/refs/heads/main/.env.examplePrepare the environment and folders.
mkdir -p data mv .env.example .env- The application runs as a non-root user by default, so the
datafolder must be created beforehand. - You can change
user: uid:gidto match your host permissions.
- The application runs as a non-root user by default, so the
Configure the environment using a text editor such as
vimornano.- Review both the
environmentsection incompose.ymland.env. The default configuration should be sufficient for most use cases.
Note: Musixmatch and Last.fm tokens are required for the best lyrics experience. Without them, lyrics functionality will be degraded.
- Last.fm token
- Musixmatch Token (desktop app required): follow this guide
- Review both the
Start the application.
docker compose up # Use `-d` to start in the background, then use `docker compose logs -f` to view logs.Configure the admin user and default presets.
docker compose exec -it karaoke python scripts/admin_user.py create --username admin docker compose exec -it karaoke python scripts/default_presets.py
Optional: configure stage loop (documentation link to be added later).
You should be able to search, download or queue existing karaoke songs.
Demucs/WhisperX Service
For advanced features such as vocal separation and karaoke lyrics timing, the Demucs service is required. This service can be installed on a different computer. An Nvidia GPU is preferred for CUDA acceleration, but CPU-only mode will work more slowly.
Note: I do not have a Linux machine with Nvidia graphics, so these steps have only been tested on Windows. If you have experience running GPU-accelerated machine learning in Linux or Docker, feel free to test and contribute.
Installing Demucs service
Install Python 3.10.
- Only Python 3.10 has been tested with all ML dependencies. Newer Python versions may not work.
- You can also try using
uvorconda, as long as you have a working virtual environment that can runwhisperxanddemucs.
Download the code.
git clone https://github.com/vttc08/demucs-karaoke-app- If Git is not available, you can download and extract the repository as a ZIP file, then open the resulting folder in PowerShell.
Install dependencies.
py -3.10 -m venv .venv .\.venv\Scripts\Activate.ps1 python -m pip install --upgrade pipDownload PyTorch:
pip install torch==2.8.0+cu126 torchaudio==2.8.0+cu126 torchvision==0.23.0+cu126 --index-url https://download.pytorch.org/whl/cu126- Choose CPU if your GPU doesn't support CUDA.
Project dependencies:
cd demucs-karaoke-app # the location where you downloaded the code cd demucs_svc pip install -r requirements.txtPrepare a Hugging Face token. Some WhisperX models require authentication.
Accept the license agreement for the following models:
Generate a personal access token from Hugging Face and save it to a file.
New-Item -ItemType Directory -Force -Path $env:HF_HOME | Out-Null $env:HF_TOKEN_PATH="$env:HF_HOME\token" Set-Content -Path $env:HF_TOKEN_PATH -Value "<your_huggingface_token>"If
HF_HOMEis not set, check your system or user environment variables.Run the application.
uvicorn.exe app:app --host 0.0.0.0 --port 8001Verify application health.
PyTorch:
python -c "import torch, torchaudio; print(torch.__version__); print(torchaudio.__version__); print(torch.cuda.is_available())"
Web app:
(curl.exe -fsSL http://localhost:8001/health | ConvertFrom-Json).status # ok
(curl.exe -fsSL http://localhost:8001/health | ConvertFrom-Json).supported_backends # demucs sherpa_spleeter
Conda quick setup
If you prefer Conda, create an environment and install the Demucs service dependencies with:
conda create --name demucs-karaoke python=3.10
conda activate demucs-karaoke
cd demucs-karaoke-app\demucs_svc
python -m pip install -r requirements.txt
Install the matching PyTorch build using the command above, adjusted for your CUDA or CPU setup. Then continue with the Hugging Face token, service startup, and health-check steps.
Configuration web interface
Navigate to http://application:8000/login, or use the server's IP address (and base URL, if configured). Log in, then navigate to /settings.
Under Karaoke Processing, enter the IP address of the server you just installed Demucs service on.
- The main app server must be able to reach Demucs. Check Troubleshooting if it cannot.
- If the Demucs service is running on another network, see the Tailscale or Cloudflare Tunnel setup guide for reachability.
Scroll down to the bottom and click Check Demucs.
For more Demucs-related configuration, please refer to Separation Backends.
Clients
Client requirements
You'll preferably need a desktop computer that can output video over HDMI and sound to your karaoke setup. This quick start does not cover complex karaoke AV setups. A modern web browser such as Chrome, Edge, or Firefox will work.
Android is also supported and can display the stage. On iOS devices, multi-track audio is not supported, so iPhones and iPads cannot play instrumental and vocal tracks simultaneously. See the iOS device limitations and workarounds documentation for more information.
Features
- User queues: A mobile-friendly page for searching and adding songs with real-time updates.
- Video and lyrics downloads: Powered by YouTube, Musixmatch, and more; choose any karaoke style.
- Flexible architecture: Heavy ML dependencies are decoupled, keeping the main application lightweight and suitable for most deployments.
- AI/ML karaoke processing: Remove vocals from songs with Demucs and generate word-by-word karaoke timing with WhisperX.
- Customizable karaoke display: Change the lyrics font, style, and display on stage.
- Bring your own media: Upload your own songs and videos for AI/ML karaoke processing.
- Media editor: Use the basic video trimmer and subtitle editor to fix minor karaoke inconsistencies.
- Highly configurable: Start with sensible defaults, then fine-tune settings and scripting options.
- Multilingual: Support English, Chinese, and more for the user interface and lyrics display.
Screenshots
| Standard YouTube karaoke | Lyrics video + vocal removal | Immersive (MV + lyrics) |
|---|---|---|
![]() |
![]() |
![]() |
Screenshots




| Subtitle Editor | Video Trimmer | Add Vocals |
|---|---|---|
![]() |
![]() |
![]() |
Comparison
Why not YouTube karaoke (Sing King, Musisi, Zoom)?
There are many applications that also use YouTube to display karaoke. The limitations of simple YouTube videos include:
- Not all songs have premade karaoke versions, especially non-English songs.
- Lyric styles and branding are not customizable.
- Vocal backing tracks cannot be turned on or off for practice.
As long as there is audio and lyrics, this app can make karaoke tracks from it.
Translation
Currently, the application is translated into English, Spanish, simplified and traditional Chinese, and French. The documentation is available in English, Spanish, and simplified Chinese. You can help with translation.
The translation files are located in locales/ as <language_code>.json files containing key-value pairs for UI strings and their translations.
"lyrics.help_default": "Search or upload lyrics to continue.",
Create a new file and add your translated strings. Please ensure all keys are translated before creating a pull request.
Add the locales in i18n_service.py in ALL_LOCALES.
It's also required to add the language to mkdocs.yml under i18n.languages, this provides a fallback in MkDocs, you do not need to add documentation translations for locales .json file changes.
When completed, run the following commands to validate all keys are translated.
uv run pytest tests/routes/pages.py::test_locale_catalogs_have_matching_keys
uv run pytest tests/test_docs_i18n.py
uv run python scripts/audit_i18n.py --check
Modifying translation strings is welcome too.
Development
For information about contributing, development setup, testing, and AI-agent workflows, see README.dev.md.
To add new features or fix bugs, please create a new branch:
git checkout -b feat/my-feature
The project uses uv for dependency management. See the development setup instructions for configuring the environment with dependencies.
Run pytest before committing or opening a pull request:
uv run pytest
When making a pull request, select the base branch dev instead of main.
License
MIT
관련 프로젝트 살펴보기
불러오는 중…





