Audio Tools

August 10, 2026 ยท View on GitHub

ModelFamilyTask(s)Quick Start
MioCodecmiocodecvc, s2sMioCodec
RVCrvcvcRVC
Seed-VCseed_vcvc, svcSeed-VC
VeVo2vevo2TTS, SVC, VC, editingVeVo2
MuScriptormuscriptoraudio to MIDI/eventsMuScriptor
HTDemucshtdemucssepHTDemucs
BS-RoFormerbs_roformersepBS-RoFormer
Mel-Band RoFormermel_band_roformersepMel-Band RoFormer

This page covers voice conversion, codec, audio-to-symbolic, and source-separation families. These models do not share one interface: conversion models consume source speech plus a target voice, audio-to-symbolic models consume audio and write structured artifacts, and separation models consume a mixture and write named stems.

Common CLI shape:

audiocpp_cli --task <task> --family <family> --model <model-dir> --backend cuda ...

MioCodec

MioCodec is a speech codec and voice-conversion path. In the CLI it is exposed as conversion tasks, not as a low-level token encode/decode tool.

FieldValue
Familymiocodec
GGUF modelmodels/MioCodec-25Hz-44.1kHz-v2-GGUF/miocodec-25hz-44khz-v2-q8_0.gguf
Tasksvc, s2s
Modesoffline
InputSource speech WAV through --audio
ConditioningTarget/reference voice WAV through --voice-ref
OutputSingle converted WAV through --out

Voice conversion:

audiocpp_cli --task vc --family miocodec --model models/MioCodec-25Hz-44.1kHz-v2-GGUF/miocodec-25hz-44khz-v2-q8_0.gguf --backend cuda --audio assets/resources/a.wav --voice-ref assets/resources/b.wav --out converted.wav

Speech-to-speech:

audiocpp_cli --task s2s --family miocodec --model models/MioCodec-25Hz-44.1kHz-v2-GGUF/miocodec-25hz-44khz-v2-q8_0.gguf --backend cuda --audio assets/resources/a.wav --voice-ref assets/resources/b.wav --out converted.wav
OptionValuesDefaultMeaning
--audioWAV pathrequiredSource speech audio.
--voice-refWAV pathrequiredTarget speaker/reference audio.
--taskvc, s2srequiredConversion task.
--outWAV pathrequiredOutput audio path.
--session-option miocodec.weight_type=<type>native, f32, f16, bf16, q8_0nativeModel weight type when supported by each component.

RVC

RVC is an offline retrieval-based voice-conversion model. The audio.cpp package uses native HuBERT content features, RMVPE pitch extraction, optional IVF retrieval blending, and packaged v1/v2 voices. The F16 GGUF package is self-contained and embeds the package spec plus packaged retrieval sidecars.

FieldValue
Familyrvc
GGUF modelmodels/RVC-GGUF/rvc-f16.gguf
Taskvc
Modesoffline
InputSource speech WAV through --audio
Packaged voicesdefault, manthos, chocola, fraise
OutputSingle converted WAV through --out

Packaged voice without retrieval:

audiocpp_cli --task vc --family rvc --model models/RVC-GGUF/rvc-f16.gguf --backend cuda --audio source.wav --out converted.wav --request-option voice_id=default

Packaged voice with retrieval blending:

audiocpp_cli --task vc --family rvc --model models/RVC-GGUF/rvc-f16.gguf --backend cuda --audio source.wav --out converted.wav --request-option voice_id=default --request-option retrieval_blend=0.5

User RVC checkpoint with a matching FAISS retrieval index:

audiocpp_cli --task vc --family rvc --model models/RVC-GGUF/rvc-f16.gguf --backend cuda --audio source.wav --out converted.wav --request-option voice_model_path=/path/to/voice.pth --request-option retrieval_index_path=/path/to/voice.index --request-option retrieval_blend=0.5
OptionValuesDefaultMeaning
--request-option voice_id=<id>default, manthos, chocola, fraisedefaultPackaged RVC voice id. Ignored when voice_model_path is set.
--request-option voice_model_path=<path>.pth or .pt pathunsetUser RVC checkpoint path.
--request-option pitch_extractor=rmvpermvpermvpePitch extractor for F0-enabled voices.
--request-option pitch_path=<path>CSV pathunsetOptional F0 override file with time,Hz rows sorted by time.
--request-option retrieval_index_path=<path>FAISS .index pathunsetUser retrieval index used when retrieval_blend is greater than 0 for a user checkpoint.
--request-option retrieval_blend=<rate>0.0 to 1.00.0IVF retrieval feature blend rate. 0 disables retrieval.
--request-option semitone_shift=<n>integer0Semitone pitch shift before synthesis.
--request-option pitch_filter_radius=<n>integer >= 03Median filter radius for F0 smoothing; values greater than 2 enable filtering.
--request-option output_sample_rate=<hz>integer >= 00Output sample rate; 0 keeps the selected voice model sample rate.
--request-option rms_mix_rate=<rate>float0.25RMS envelope mix rate after conversion.
--request-option unvoiced_protection=<rate>0.0 to 1.00.33Unvoiced consonant protection strength.
--request-option speaker_id=<n>integer >= 00Speaker embedding id for multi-speaker checkpoints.
--request-option audio_pad_duration_sec=<sec>integer >= 11Long-audio chunk pad duration.
--request-option split_query_sec=<sec>integer >= 15Quiet-point query window for long-audio splitting.
--request-option split_center_sec=<sec>integer >= 130Long-audio split center stride.
--request-option split_threshold_sec=<sec>integer >= 132Input duration before quiet-point splitting is used.
--session-option rvc.weight_type=<type>native, f32, f16, bf16, q8_0f32Tensor storage type for native RVC, HuBERT, and RMVPE weights.
--session-option rvc.voice_cache_slots=<n>integer >= 04User voice model cache slots. Set 0 to disable caching.

Seed-VC

Seed-VC provides voice conversion and singing voice conversion routes. See Seed-VC for the full route manual.

audiocpp_cli --task vc --family seed_vc --model models/Seed-VC --backend cuda --audio source.wav --voice-ref target.wav --out converted.wav

VeVo2

VeVo2 covers speech, singing, voice conversion, singing conversion, and editing routes. See VeVo2 for the full route manual.

audiocpp_cli --task vc --family vevo2 --model models/VeVo2 --backend cuda --audio source.wav --voice-ref target.wav --out converted.wav

MuScriptor

MuScriptor is an audio-to-symbolic tool that converts music audio into note-event JSON or a MIDI file. See MuScriptor for streaming, sampling, and full option details.

python3 tools/model_manager_v2.py install muscriptor

audiocpp_cli --task midi --family muscriptor \
  --model models/MuScriptor-Small-GGUF/muscriptor-small-f32.gguf \
  --backend cuda \
  --audio song.wav \
  --request-option instruments=drums,electric_bass \
  --out result.mid

Use --request-option output_format=json --out events.json when you want the generated note-event JSON instead of MIDI.

HTDemucs

HTDemucs separates a music mixture into stems. The current integration writes the model stems as named output artifacts under --out-dir; it does not expose the upstream two-stems shortcut as a separate CLI task.

FieldValue
Familyhtdemucs
Model directorymodels/htdemucs
Tasksep
Modesoffline
Input44.1 kHz music mixture WAV through --audio
OutputStem files under --out-dir
StemsVocals, drums, bass, and other when produced by the model package
audiocpp_cli --task sep --family htdemucs --model models/htdemucs --backend cuda --audio song_44k.wav --out-dir stems
OptionValuesDefaultMeaning
--audio44.1 kHz WAV pathrequiredInput music mixture.
--out-dirdirectoryrequiredDirectory for separated stems.
--backendcpu, cuda, vulkan, metal, bestcpuCompute backend.
--session-option htdemucs.weight_type=<type>native, f32, f16, bf16, q8_0backend-dependentWeight storage type. Defaults to f32 for host graph planning, f16 on CUDA, and native otherwise.

Schema-v1 option compatibility:

Legacy/session inputSchema-v1 optionNotes
weight_typehtdemucs.weight_typeAccepted as a compatibility alias for direct session-option callers. Prefer the family-prefixed form.

BS-RoFormer

BS-RoFormer separates vocals from a 44.1 kHz music mixture using explicit, non-overlapping frequency bands. The native implementation accepts either the converted SafeTensors package or a standalone GGUF with the package spec and config.json embedded.

BS-RoFormer is v1-native. model_specs/bs_roformer.json is the single source of truth for metadata, packages, session options, and GGUF/safetensors resources. Its loader uses the generic spec-backed path; the shared Mel-Band RoFormer loader remains unchanged.

FieldValue
Familybs_roformer
Tasksep
Modesoffline
Input44.1 kHz mono or stereo WAV through --audio
Outputvocals.wav and derived instrumental.wav under --out-dir
Weight typesnative, f32, f16, bf16, q8_0

Standalone GGUF:

audiocpp_cli --task sep --model models/BS-RoFormer-ep368_Q8/BS-RoFormer-ep368_Q8.gguf --backend cuda --audio song_44k.wav --out-dir stems

Converted SafeTensors package:

audiocpp_cli --task sep --family bs_roformer --model models/BS-RoFormer-ep368 --backend cuda --audio song_44k.wav --out-dir stems

CUDA uses F32-accumulating Flash Attention while CPU and other backends keep the explicit attention path. The packaged overlap count remains the quality-oriented default. Lower overlap is an opt-in speed/quality tradeoff:

Session optionDefaultNotes
bs_roformer.num_overlappackage num_overlap (4 for ep368)Set to 2 or 1 for fewer model passes. This is faster but changes boundary blending and can reduce separation quality.
bs_roformer.weight_typenative on device backendsOptional storage override such as f16 or f32; measure it on the target backend because converting Q8 weights to F16 is not necessarily faster.

Fast single-pass example:

audiocpp_cli --task sep --model models/BS-RoFormer-ep368_Q8/BS-RoFormer-ep368_Q8.gguf --backend cuda --audio song_44k.wav --out-dir stems-fast --session-option bs_roformer.num_overlap=1

The conversion helper preserves the checkpoint's fused QKV weights, explicit freqs_per_bands layout, global final RMSNorm, and mask-estimator depth:

python tests/bs_roformer/convert_reference_ckpt.py \
  --ckpt model_bs_roformer.ckpt \
  --config-path model_bs_roformer.yaml \
  --output-dir models/BS-RoFormer

Mel-Band RoFormer

Mel-Band RoFormer is wired as a vocal/source-separation model. The CLI uses the framework separation task and writes named artifacts under --out-dir.

FieldValue
Familymel_band_roformer
Model directorymodels/mel-roformer-mlx
Tasksep
Modesoffline
Input44.1 kHz music mixture WAV through --audio
OutputNamed separated artifacts under --out-dir
NotesUses the package overlap count by default; mel_band_roformer.num_overlap can lower the overlap for faster inference with a quality tradeoff
audiocpp_cli --task sep --family mel_band_roformer --model models/mel-roformer-mlx --backend cuda --audio song_44k.wav --out-dir stems
OptionValuesDefaultMeaning
--audio44.1 kHz WAV pathrequiredInput music mixture.
--out-dirdirectoryrequiredDirectory for separated outputs.
--backendcpu, cuda, vulkan, metal, bestcpuCompute backend.
--session-option mel_band_roformer.weight_type=<type>native, f32, f16, bf16, q8_0backend-dependentWeight storage type. Defaults to f32 when the backend requires a host graph plan, otherwise native.
--session-option mel_band_roformer.num_overlap=<n>integer >= 1package configNumber of overlapping inference windows. Lower values improve throughput but can reduce boundary quality.

Schema-v1 option compatibility:

Legacy/session inputSchema-v1 optionNotes
weight_typemel_band_roformer.weight_typeAccepted as a compatibility alias for direct session-option callers. Prefer the family-prefixed form.
num_overlapmel_band_roformer.num_overlapAccepted as a compatibility alias for direct session-option callers. Prefer the family-prefixed form.

For backend weight-type controls, use audiocpp_cli --inspect --model <model-dir> --family <family>.