Skip to main content
Glama
diffsinger-singer-cli

diffsinger-singer-cli

by znovo

# diffsinger-singer-cli

CLI + MCP server for singing with DiffSinger voicebanks.

Input: MP3 (full song) or MIDI.
Output: vocal (*_voz.wav) and optional mix (*_mix.wav).

Install

pip install -e .

Related MCP server: utau-lyrics

External dependencies

  • ffmpeg

  • OpenUtau ou-render.exe + .NET 10

  • A DiffSinger voicebank directory

Set environment variables as needed:

# Windows PowerShell example
$env:SINGER_BANKS_DIR = "C:\path\to\OpenUtau\Singers"
$env:OU_RENDER_EXE = "C:\path\to\ou-render.exe"
$env:DOTNET_ROOT = "C:\path\to\dotnet10"
$env:OPENUTAU_DIR = "C:\path\to\openutau"

Usage

singer list-voices
singer sing melodia.mid --lyrics-file letra.txt --lang en --voice NOME_DO_BANCO --output voz.wav
singer pipeline musica.mp3 --lyrics-file letra.txt --lang en --mix --separate
singer serve-mcp

MCP tools

list_voices, separate_vocals, transcribe_to_midi, align_lyrics, sing, render, mix, pipeline.

Notes

  • DiffSinger does not convert audio to MIDI. MP3 transcription here is a basic pYIN fallback.

  • Vocal separation uses Demucs only when installed.

  • Voicebank files are not included in this repository.

  • Supported languages depend on the selected voicebank.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables local AI-assisted tuning of Synthesizer V Studio 2 Pro projects via natural language, providing tools for reading selections, previewing and applying parameter adjustments, recording and comparing audio, and managing sessions.
      1
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Turns lyrics plus a chord progression into a .ust file for UTAU/OpenUtau (one note per syllable, pitched to the chords) together with a same-length backing track as .mid and .wav. Also previews syllable splits, renders backing from chords alone, and lists available instruments, styles, lyric modes and chord qualities.
      2
      5
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to turn song requests into ready-to-send audio files by searching and downloading tracks, trimming clips, separating vocals, applying RVC voice conversion, and mixing the result with accompaniment. Supports original-clip and full-cover modes with environment self-checks.
      3
      MIT