Scripts2026年7月25日·1 分钟阅读

Spleeter — AI Audio Source Separation by Deezer

Spleeter is an open-source audio source separation library by Deezer Research. It uses pretrained deep learning models to split audio tracks into vocals, drums, bass, piano, and accompaniment stems in seconds.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Spleeter Overview
直接安装命令
npx -y tokrepo@latest install a8d7b11a-87c0-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

Spleeter is a fast, GPU-accelerated audio source separation tool released by Deezer Research. It applies pretrained neural network models to split any audio file into isolated stems (vocals, accompaniment, drums, bass, and other instruments), making it useful for remixing, karaoke, music production, and audio analysis.

What Spleeter Does

  • Separates audio into 2, 4, or 5 stems using pretrained U-Net models
  • Processes audio faster than real-time on GPU hardware
  • Accepts common audio formats including MP3, WAV, OGG, and FLAC
  • Outputs separated stems as individual audio files in WAV or other formats
  • Provides a Python API for integration into custom audio processing pipelines

Architecture Overview

Spleeter is built on TensorFlow and uses U-Net convolutional neural networks trained on the musdb18 dataset. The models operate on Short-Time Fourier Transform (STFT) spectrograms, applying learned masks to isolate each source before inverse-transforming back to the time domain. Pretrained weights are downloaded automatically on first use.

Self-Hosting & Configuration

  • Install via pip with optional GPU support through tensorflow-gpu
  • Run from the command line with a single command for quick separation tasks
  • Use the Docker image for reproducible environments without dependency management
  • Configure output codec, bitrate, and sample rate via command-line flags
  • Integrate the Python API into batch processing scripts for large audio collections

Key Features

  • Three pretrained models: 2stems (vocals/accompaniment), 4stems, and 5stems
  • Processes a typical 5-minute song in under 30 seconds on a modern GPU
  • No training required — models work out of the box on any music genre
  • Supports batch processing of multiple files in a single run
  • Actively used in research and cited in hundreds of academic papers

Comparison with Similar Tools

  • Demucs — Meta's model with higher quality output; Spleeter is faster and lighter
  • Open-Unmix — reference implementation for research; Spleeter is more production-ready
  • LALAL.AI — commercial cloud service; Spleeter runs locally with no usage limits
  • iZotope RX — professional DAW plugin; Spleeter is free and scriptable
  • Whisper — speech recognition, not separation; Spleeter isolates instruments and vocals

FAQ

Q: How good is the separation quality? A: Spleeter produces clean results for most music. Quality depends on the mix complexity and chosen model (5stems yields finer separation than 2stems).

Q: Does it require a GPU? A: No. It runs on CPU but is significantly faster with a CUDA-compatible GPU.

Q: Can I train my own models? A: Yes. Spleeter provides training scripts and documentation for custom model training on your own datasets.

Q: What audio formats are supported? A: Any format supported by FFmpeg, including MP3, WAV, FLAC, OGG, and AAC.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产