ClearerVoice-Studio
Use this repo skill when a task involves ClearerVoice-Studio, the clearvoice package, ClearVoice pretrained speech processing models, SpeechScore quality metrics, or the repository's training and data-preparation workflows.
Fast route map
| User task |
Read |
| Use pretrained models for speech enhancement, speech separation, speech super-resolution, or audio-visual target speaker extraction |
sub-skills/clearvoice-inference/SKILL.md |
Choose task/model_names, validate file/directory/.scp inputs, handle NumPy/Tensor inference, or debug checkpoint/media issues |
sub-skills/clearvoice-inference/SKILL.md |
| Compute PESQ, STOI, SI-SDR, SNR, DNSMOS, NISQA, DISTILL_MOS, or other SpeechScore metrics |
sub-skills/speechscore-metrics/SKILL.md |
| Score matched directories, decide whether a clean reference is required, or troubleshoot metric dependencies |
sub-skills/speechscore-metrics/SKILL.md |
Train, fine-tune, resume, run training-side inference, prepare .scp/CSV data lists, or generate noisy/reverb training data |
sub-skills/training-and-data-prep/SKILL.md |
| Check whether a local environment is ready without downloading weights or launching training |
scripts/check_clearer_voice_environment.py |
Component overview
Read references/package-and-component-overview.md when you need the repository component map, verified public signatures, package/source layout notes, or high-level prerequisites.
Key facts:
clearvoice is the installable package for ClearVoice inference: from clearvoice import ClearVoice.
- The public ClearVoice constructor is
ClearVoice(task, model_names).
- Calling a
ClearVoice instance with a string path uses file/directory/.scp I/O mode; calling with a NumPy array or Torch tensor uses tensor-to-tensor mode.
- SpeechScore is a source-layout component in this snapshot; use its helper or source-layout notes when importing it outside its component directory.
- Training workflows are script/config based and should be treated as templates that require user-owned datasets, checkpoints, GPUs, and explicit output paths.
Safe first checks
Before running expensive or mutating workflows:
- Run
python scripts/check_clearer_voice_environment.py to check clearvoice, Torch/CUDA visibility, and FFmpeg presence without loading model weights.
- For SpeechScore source-layout checks, pass the user's SpeechScore component directory to
--speechscore-dir.
- Use each sub-skill's dry-run helper before real model inference, metric scoring, or training launch preparation.
- Ask before starting model downloads, distributed training/evaluation, data generation, checkpoint overwrites, or package backend changes in a user-owned environment.
Installation guidance
For pretrained ClearVoice package use:
pip install clearvoice
python - <<'PY'
from clearvoice import ClearVoice
print(ClearVoice)
PY
For full repository workflows such as SpeechScore metrics and training scripts, install the repository's documented runtime requirements in an isolated environment. Do not modify a user's existing working environment without approval.
Troubleshooting
- Read references/troubleshooting.md for cross-cutting install/import, CUDA, FFmpeg, model-download, and component-routing failures.
- Use sub-skill troubleshooting references for workflow-specific symptoms and recovery steps.
- Read references/repo-provenance.md before deciding whether this skill is stale for a different checkout or package version.
Boundaries
Use this skill to operate the package/repository workflows, not to modify the ClearerVoice-Studio source code. If the user asks for generic speech recognition, TTS, diarization, or unrelated PyTorch training, route to a more specific skill. If the user asks to edit this repository's source, treat it as a repository-maintenance task and inspect the current checkout directly.
1---2name: clearer-voice-studio3description: "Route ClearerVoice-Studio tasks for ClearVoice inference,4 SpeechScore metrics, and speech-model training or data-preparation workflows."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/clearer-voice-studio8 disco-role: operating9license: Apache 2.010---1112# ClearerVoice-Studio1314Use this repo skill when a task involves ClearerVoice-Studio, the `clearvoice` package, ClearVoice pretrained speech processing models, SpeechScore quality metrics, or the repository's training and data-preparation workflows.1516## Fast route map1718| User task | Read |19| --- | --- |20| Use pretrained models for speech enhancement, speech separation, speech super-resolution, or audio-visual target speaker extraction | [sub-skills/clearvoice-inference/SKILL.md](sub-skills/clearvoice-inference/SKILL.md) |21| Choose `task`/`model_names`, validate file/directory/`.scp` inputs, handle NumPy/Tensor inference, or debug checkpoint/media issues | [sub-skills/clearvoice-inference/SKILL.md](sub-skills/clearvoice-inference/SKILL.md) |22| Compute PESQ, STOI, SI-SDR, SNR, DNSMOS, NISQA, DISTILL_MOS, or other SpeechScore metrics | [sub-skills/speechscore-metrics/SKILL.md](sub-skills/speechscore-metrics/SKILL.md) |23| Score matched directories, decide whether a clean reference is required, or troubleshoot metric dependencies | [sub-skills/speechscore-metrics/SKILL.md](sub-skills/speechscore-metrics/SKILL.md) |24| Train, fine-tune, resume, run training-side inference, prepare `.scp`/CSV data lists, or generate noisy/reverb training data | [sub-skills/training-and-data-prep/SKILL.md](sub-skills/training-and-data-prep/SKILL.md) |25| Check whether a local environment is ready without downloading weights or launching training | [scripts/check_clearer_voice_environment.py](scripts/check_clearer_voice_environment.py) |2627## Component overview2829Read [references/package-and-component-overview.md](references/package-and-component-overview.md) when you need the repository component map, verified public signatures, package/source layout notes, or high-level prerequisites.3031Key facts:3233- `clearvoice` is the installable package for ClearVoice inference: `from clearvoice import ClearVoice`.34- The public ClearVoice constructor is `ClearVoice(task, model_names)`.35- Calling a `ClearVoice` instance with a string path uses file/directory/`.scp` I/O mode; calling with a NumPy array or Torch tensor uses tensor-to-tensor mode.36- SpeechScore is a source-layout component in this snapshot; use its helper or source-layout notes when importing it outside its component directory.37- Training workflows are script/config based and should be treated as templates that require user-owned datasets, checkpoints, GPUs, and explicit output paths.3839## Safe first checks4041Before running expensive or mutating workflows:42431. Run `python scripts/check_clearer_voice_environment.py` to check `clearvoice`, Torch/CUDA visibility, and FFmpeg presence without loading model weights.442. For SpeechScore source-layout checks, pass the user's SpeechScore component directory to `--speechscore-dir`.453. Use each sub-skill's dry-run helper before real model inference, metric scoring, or training launch preparation.464. Ask before starting model downloads, distributed training/evaluation, data generation, checkpoint overwrites, or package backend changes in a user-owned environment.4748## Installation guidance4950For pretrained ClearVoice package use:5152```bash53pip install clearvoice54python - <<'PY'55from clearvoice import ClearVoice56print(ClearVoice)57PY58```5960For full repository workflows such as SpeechScore metrics and training scripts, install the repository's documented runtime requirements in an isolated environment. Do not modify a user's existing working environment without approval.6162## Troubleshooting6364- Read [references/troubleshooting.md](references/troubleshooting.md) for cross-cutting install/import, CUDA, FFmpeg, model-download, and component-routing failures.65- Use sub-skill troubleshooting references for workflow-specific symptoms and recovery steps.66- Read [references/repo-provenance.md](references/repo-provenance.md) before deciding whether this skill is stale for a different checkout or package version.6768## Boundaries6970Use this skill to operate the package/repository workflows, not to modify the ClearerVoice-Studio source code. If the user asks for generic speech recognition, TTS, diarization, or unrelated PyTorch training, route to a more specific skill. If the user asks to edit this repository's source, treat it as a repository-maintenance task and inspect the current checkout directly.