Skip to content

About

Command-line interface for ClearerVoice-Studio

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clearvoice-cli

Overview

Command-line interface for ClearerVoice-Studio.

Requirements

Installation

# Clone this repository
git clone https://github.com/stygian-violet/clearvoice-cli
cd clearvoice-cli

# Install ClearVoice
git lfs install
git clone https://huggingface.co/spaces/alibabasglab/ClearVoice

# Install additional models if needed
pushd ClearVoice/checkpoints
# Speech enhancement GAN model
git clone https://huggingface.co/alibabasglab/MossFormerGAN_SE_16K
# Speech super resolution model
git clone https://huggingface.co/alibabasglab/MossFormer2_SR_48K
popd

# Create a virtual environment and install dependencies
python -m venv env
source env/bin/activate
pip install -r ClearVoice/requirements.txt

Usage

> ./clearvoice.sh -h
usage: cli.py [-h]
              [-t {speech_enhancement,speech_separation,speech_super_resolution,target_speaker_extraction}]
              [-m {FRCRN_SE_16K,MossFormer2_SE_48K,MossFormerGAN_SE_16K,MossFormer2_SS_16K,MossFormer2_SR_48K,AV_MossFormer2_TSE_16K} [{FRCRN_SE_16K,MossFormer2_SE_48K,MossFormerGAN_SE_16K,MossFormer2_SS_16K,MossFormer2_SR_48K,AV_MossFormer2_TSE_16K} ...]]
              [-c CLEARVOICE_PATH]
              input output

positional arguments:
  input                 input path
  output                output path

options:
  -h, --help            show this help message and exit
  -t, --task {speech_enhancement,speech_separation,speech_super_resolution,target_speaker_extraction}
                        task (default: speech_enhancement)
  -m, --models {FRCRN_SE_16K,MossFormer2_SE_48K,MossFormerGAN_SE_16K,MossFormer2_SS_16K,MossFormer2_SR_48K,AV_MossFormer2_TSE_16K} [{FRCRN_SE_16K,MossFormer2_SE_48K,MossFormerGAN_SE_16K,MossFormer2_SS_16K,MossFormer2_SR_48K,AV_MossFormer2_TSE_16K} ...]
                        models (defaults: {'speech_enhancement':
                        ['MossFormer2_SE_48K'], 'speech_separation':
                        ['MossFormer2_SS_16K'], 'speech_super_resolution':
                        ['MossFormer2_SR_48K'], 'target_speaker_extraction':
                        ['AV_MossFormer2_TSE_16K']})
  -c CLEARVOICE_PATH, --clearvoice-path CLEARVOICE_PATH
                        clearvoice path (default: ./ClearVoice)

Licenses

About

Command-line interface for ClearerVoice-Studio

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages