stemdeck README

项目的 README,来自 github.com/stemdeckapp/stemdeck。合并为一个 markdown 文件:README.md。

StemDeck
CI GitHub Stars Total Downloads Latest Release License

JOIN THE COMMUNITY

GitHub Discord Reddit Instagram X Website

Drop in a song. Get every instrument on its own track. Practice with them.
Runs on your own computer: no account, no subscription, and your audio is not uploaded.

Download, free Latest release

Download  ·  What you can do  ·  Honest comparison  ·  We Recommend  ·  For developers

The StemDeck studio: a song split into vocals, drums, bass, guitar, piano and other, each on its own lane

StemDeck splits a song into up to six stems, vocals, drums, bass, guitar, piano and other, and opens them in a studio where you can mute, solo, slow down, loop, change the key and play along with a click. Sing along in Karaoke, or film yourself playing along in Performance. Drop in an audio file or paste a YouTube or SoundCloud link. Separation runs on your own machine, and StemDeck does not upload your audio.

A separation tool, not a downloader. StemDeck is for processing audio you have the right to use. What you import, the stems made from it, and the takes you record, are saved in your library folder on the machine that runs StemDeck; StemDeck does not upload or share them. See the Disclaimer.

Download

Each link downloads the latest release. Release notes · Every version

Platform NVIDIA, AMD (Linux) or Apple Silicon Everything else
 Windows NVIDIA GPU No NVIDIA GPU
 macOS Apple Silicon (M1 and later) Intel Mac
 Linux NVIDIA or AMD GPU No NVIDIA or AMD GPU

 Docker / Unraid: ghcr.io/stemdeckapp/stemdeck:latest. It runs on the CPU as it is; add --runtime=nvidia to use an NVIDIA GPU. For an AMD GPU (community-tested), use the :rocm tag with --device /dev/kfd --device /dev/dri. On Unraid, search "StemDeck" in Apps.

What's new in 0.21.0
  • Four modes: Practice, Advanced, Karaoke and Performance, all in one Mode menu.
  • Karaoke. The lyrics fill the window and light up as the song plays, with the voice off and a queue of songs.
  • Performance. Film yourself playing along, review the take, trim it and export an MP4.
  • Each mode keeps its own stems and its own saved mix of a song.
  • Advanced gains an EQ on every lane, a Master with a loudness target, recording tracks and video tracks.
  • A redesigned Settings, with a section list and a search box.
  • A GPU video encoder for Performance exports, with an automatic fall-back to the CPU.
  • Safer by default: a guard against requests from other websites, auto-delete that skips favorites, songs with takes or versions, and songs still being worked on, and a library that survives one bad record.
  • Imports: a Detect lyrics switch, and Try again on an import that failed.

All of it, with credits to the people who reported each problem, is in the release notes.

Installing, per platform

Windows and Linux. Unzip, then run StemDeck.exe (Windows) or StemDeck (Linux). No installer and nothing else to install. Put the folder somewhere you can write to, such as C:\StemDeck: a portable StemDeck keeps its runtime, models and settings, and on Windows your songs by default, in a data folder beside it, so it cannot run from Program Files. The first launch downloads FFmpeg and the separation model, and on an NVIDIA card (or, on Linux, an AMD card ROCm supports, such as the RX 7000 and RX 9000 series) sets up GPU support; later launches start in seconds.

macOS. Open the DMG and drag StemDeck to Applications. StemDeck is not code-signed yet, so clear the quarantine flag once, or macOS will say the app is damaged:

xattr -dr com.apple.quarantine /Applications/StemDeck.app

The first launch downloads the runtime and the model. Apple Silicon separates on its built-in GPU.

Docker and Unraid. See Build from source for the docker run line, GPU passthrough and the Unraid volume mapping.

Updates. The desktop app tells you when a new version is out. On Windows and Linux it usually installs the update for you. A version that changes the Python packages StemDeck runs on is a full download instead, and 0.21.0 is one: about 300 MB on Windows and 420 MB on Linux, once. On Windows, unzip it over your current StemDeck folder. The zip has no files inside data, so your songs, models and settings there stay as they are. A portable StemDeck no longer opens a library in Documents\StemDeck\jobs on its own: if yours is there, choose that folder once in Settings, StemData location. Unzipped into a new folder, StemDeck starts with default settings, without the songs from the old data folder, and downloads FFmpeg and the model again. On macOS, download the new DMG.

What you can do

Modes

Pick one from Mode in the left rail. Each mode keeps its own choice of stems and its own saved mix of a song, so a change in one does not follow you into another.

Split any song

Practice with it

Film yourself playing

In Performance mode:

Know the song

Keep and share

It explains itself

Click Guide in the left rail and point at anything. Every button, lane control and number says what it does, in plain words, and so do the Mode menu and the options in Settings. While Guide is on, clicks explain instead of acting, so nothing happens by accident.

Settings has a list of sections on the left and a search box, and most changes save as soon as you make them.

On your phone too

Turn on Make StemDeck available on your network in Settings and scan the QR code. Your phone opens your library and mixer over your own Wi-Fi, with speed and key controls. No app store, no cloud.

Windows, Linux and macOS  ·  Docker and Unraid  ·  11 languages
English · Deutsch · Español · Français · Bahasa Indonesia · 日本語 · 한국어 · Polski · Português (Brasil) · Português (Portugal) · 简体中文

Honest comparison

StemDeck is not trying to beat the commercial stem-separation services. It covers the core well and stops there. This table is here so you can choose knowingly rather than find the gaps later.

StemDeck Moises, LALAL.AI and similar
Price Free and open source Usually freemium, with credits or a subscription for regular use
Where it runs On your own machine Usually in the cloud, so your audio is uploaded
Account None Usually required
Internet For links, the first model download, update checks, and song details and lyrics Usually needed to process audio
Privacy Your audio is not uploaded; song names are looked up for details and lyrics Processed on their servers, under their own retention policy
Separation model Demucs htdemucs_6s, open source from Meta Their own models, which may give better results
Stems 6, plus lead and backing vocals Varies; some offer more instruments
Speed Depends on your hardware: fast on a GPU, slow on a CPU Fast on any hardware
Many songs at once An import queue and whole playlists, run one after another Varies by service and plan
Phone Your phone opens StemDeck over your own Wi-Fi; no app store app Some offer mobile apps
Practice tools Speed, key change, loops, click track with count-in, synced lyrics; no chord detection Varies by product; often chords and more
Polish A one-person open-source project Polished, production-grade apps
Source code Open source, forkable, self-hostable Closed

If you need the best quality, speed on any machine, or a store-bought phone app, the commercial products are worth the money. If you want stems for practice and study, keep your audio private, and like software with no strings attached, StemDeck is enough.

We Recommend

StemDeck is free and does not accept any money, sponsorship, or funding from anyone listed below. I share these makers and artists and communities purely for the joy of pointing you toward wonderful people doing beautiful work. Go meet them ❤️

Category Name What they do Link
Artists & Creators Adrianna Claro Soul and Contemporary R&B Singer, Songwriter and Composer Spotify · Apple Music
Artists & Creators Analog4Lyfe Analog gear specialist @analog4lyfe
Artists & Creators Dead röses Cork-based punk rock band @dead_rosesband
Artists & Creators Joao Gaspar Producer, film scorer, touring/session musician @jay_glaspar
Artists & Creators Killah Trakz Industry Secret Villain and Media Influencer @killahtrakz · Spotify · Apple Music
Artists & Creators More Notes Less Talk Gear-focused creative project with a raw, tape-recorded identity @morenoteslesstalk
Artists & Creators NIHIL Modern alternative metal from Argentina. Fueled by emotionally charged vocals, anger and emptiness @somosnihil · Spotify
Instrument Builders & Repair Dlima Guitars Custom guitars and basses @dlimaguitars
Instrument Builders & Repair Kris Luthier Instrument repair and restoration @krisluthier
Instrument Builders & Repair Lisbon Guitar Works Handmade guitars in Lisbon dlimaguitars.com
Media & Community Not Another Audio Podcast Audio, music and tech industry podcast by working professionals Libsyn
Media & Community r/bass Bass-player community r/Bass
Media & Community slashCAM Camera, video, and post-production media @slashcam.de
Music & Karaoke Technology Beltr Local, subscription-free karaoke software beltr.app
Music & Karaoke Technology Seratone TV-based karaoke system seratone.audio
Music Gear Empress Effects Boutique effects pedals empresseffects.com
Music Gear Thomann Large music-equipment retailer @thomann.music
Writers & Storytellers Alexandre Borges Portuguese writer, screenwriter, and cultural commentator Books & author profile

Star history

Star History Chart

For developers

Page What it covers
Build from source The macOS app, a web server on any platform, Docker and Unraid
Configuration Environment variables, and serving other devices over https
HTTP API The endpoints the web app uses
Troubleshooting Common problems, and what lives where on disk
Model licenses Where each machine-learning model's license comes from
Built with

StemDeck is built on Python 3.12 managed via uv, with a FastAPI backend serving REST and Server-Sent Events. Stem separation uses Demucs (htdemucs_6s), Meta AI's open-source 6-stem neural network. The optional on-demand lead/backing vocal split runs the UVR-MDX-NET Karaoke 2 model via audio-separator, trained as part of the Ultimate Vocal Remover project by Anjok07. YouTube audio is fetched via yt-dlp; transcoding and mixing use FFmpeg. BPM detection and key analysis run on librosa; loudness measurement uses pyloudnorm (ITU-R BS.1770). The macOS and Windows desktop shells are Tauri v2 (Rust/WKWebView on macOS, Rust/WebView2 on Windows). The frontend is vanilla JS with the Web Audio API, no framework and no build step; waveforms are rendered on <canvas> using min/max sample rendering.

Thanks to the creators and maintainers of all the open-source libraries that make StemDeck possible.

Disclaimer

StemDeck is a local audio stem separation tool intended for personal study, research, and experimentation. It is not a downloading service. Audio you import, the stems made from it, and the takes you record, are saved only in the library folder on the machine that runs StemDeck, and StemDeck does not upload, share or redistribute them. To find song details and lyrics it sends the song's name to the services named in its Settings and, only if you add an AcoustID key, an audio fingerprint; it does not send the audio itself.

YouTube and SoundCloud link support is provided via yt-dlp as a convenience. Automated downloading may violate YouTube's Terms of Service. You, the user, are solely responsible for ensuring you have the right to process any audio you submit, complying with the terms of service of any site you download from, and respecting the copyright of the material you work with.

You are also responsible for following the licenses of the underlying tools this project depends on (yt-dlp, Demucs, FFmpeg, PyTorch, and others listed in pyproject.toml).

The author(s) of StemDeck provide this software "as is", without warranty of any kind, and accept no responsibility or liability for how it is used.

License

StemDeck is free software under the GNU Affero General Public License v3.0 only (AGPL-3.0-only). You may use, study, change and share it. If you change it and let other people use your version over a network, the AGPL asks you to offer them its source code too; the About dialog links to the source for that reason.

Releases up to and including 0.20.0 were published under Apache-2.0, and copies received under those terms keep them.

Every download ships StemDeck's own LICENSE.txt, a THIRD_PARTY_NOTICES.txt and a licenses/ folder. licenses/INDEX.txt lists each packaged Python dependency with its version and license, and each one's full license text sits beside it. That inventory is generated from the packaged interpreter at build time, so it describes what actually shipped rather than what was expected to.

FFmpeg is a GPL build. StemDeck downloads it and runs it as a separate executable, so it does not change StemDeck's own license, and THIRD_PARTY_NOTICES.txt carries the written offer of source for the exact build your platform receives.

Community

Questions, ideas and show-and-tell are all welcome.

GitHub Discord Reddit Instagram X Website

Contributing

Issues, feature suggestions and pull requests are welcome. See the open issues for what is planned, and Build from source to run it yourself.

If you would like to support the time I put into StemDeck, a Donate button shows in the app's left rail as soon as donating is set up. Donating is optional: StemDeck stays free, with every feature, for everyone.

stemdeck (stemdeckapp/stemdeck)

正在搜索数据库…

这是什么?StemDeck 是一款免费开源的音轨分离工具:把一首歌拖进去,它就能把人声、鼓、贝斯、吉他、钢琴和其他声部分离成独立的音轨,可用于练习、扒谱、remix 等各种音频工作——而且完全在你自己的电脑上运行。
它是桌面应用,还是在浏览器里用的?两者都有。既有基于 Tauri v2 打包的 macOS 和 Windows 桌面应用,也有网页服务器模式(FastAPI + SSE)和 Docker 镜像,可以在本地运行或自己部署——都通过同一个交互式网页界面操作。
怎么把它跑起来?从 GitHub Releases 页面下载 DMG(macOS)或 zip(Windows)并启动。首次启动会下载内置的 Python 运行时(约 500 MB)、FFmpeg 和 Demucs 模型(约 170 MB);之后就不用再安装任何 Python 或系统依赖了。
和商业分离工具相比,它主要有哪些不足?一次只能处理一个任务,没有手机版,也没有变调、和弦识别、歌词之类的附加功能。开源的 Demucs 模型能分出 6 条音轨,但质量属于业余水准,不如成熟的商业服务。
我可以直接贴一个 YouTube 链接吗,还是得用自己的文件?都可以——既可以贴 YouTube 链接,也可以把本地的 MP3、WAV、FLAC、OGG、MP4 或 M4A 文件拖到导入栏里。不过它只是分离工具,不是下载器:不存储也不转发任何内容,所以请只处理你有权处理的内容。
我的音频会被上传到别处吗?不会,任何数据都不会离开你的电脑:分离、混音和分析全部在本地完成,无需账号,也没有上传。只有导入 YouTube 视频和首次下载约 170 MB 的模型时才需要联网。
它能分离出哪些音轨?最多六条:人声、鼓、贝斯、吉他、钢琴和其他,使用的是 Meta AI 的开源 Demucs htdemucs6s 模型。另外还可以通过 UVR-MDX-NET Karaoke 2 模型按需把人声进一步分成主唱和伴唱。
音轨分离出来之后能做什么?可以在类似 DAW 的多轨视图里混音,支持音量推子、静音、独奏、循环播放和波形缩放,然后导出单条音轨或自定义混音的 mix.wav。歌曲分析功能还会给出 BPM、调性和音阶、综合 LUFS 响度以及采样峰值。
它和 Moises、LALAL.AI 有什么不同?StemDeck 免费开源,而且完全在本地运行——不需要账号,没有配额限制,也不上传文件。那些商业应用是云端免费增值模式,音轨更多、音乐人工具更丰富,有手机版,界面也更精致,而且不管你的电脑配置如何,处理速度都很快。
能在服务器或 NAS 上运行吗?可以——GHCR 上发布了现成的 Docker 镜像(edge、latest 以及固定版本标签),StemDeck 也已上架 Unraid 社区应用商店。在装有 NVIDIA Container Toolkit 的 Linux 主机上,还能在 Docker 里获得 CUDA 加速。
大小
19.9 MB
星标
4.6K
时长
6个月
提交 · 90 天