An open API service indexing awesome lists of open source software.

https://github.com/seanghay/uvr

Ultimate Vocal Remover CLI
https://github.com/seanghay/uvr

uvr vocalremover

Last synced: 2 months ago
JSON representation

Ultimate Vocal Remover CLI

Awesome Lists containing this project

README

        

📦 Check out my new library called [Vocal](https://github.com/seanghay/vocal) for **Vocal/Speech Separation** built with simplicity in mind.

---

# Ultimate Vocal Remover CLI

[[Colab]](https://colab.research.google.com/drive/1VDncdndceKanFrs2LU-LM4Odv8tnPkzD?usp=sharing)

⚠️ Before running this project, make sure you have installed `torch`, `torchaudio`. Please check out the PyTorch documentation.

⚠️ Also make sure you have `libsndfile` and `ffmpeg` installed.

⚠️ This project currently works on CUDA.

## Install dependencies

```shell
pip install -r requirements.txt
```

## Download Model Weights

```shell
./download.sh
```

## Separation

```shell
python separate.py
```

[Modify these lines to fit your needs](https://github.com/seanghay/uvr/blob/fa19a9821d42586883202623936a0c8b895ae047/separate.py#L101-L108)

```python
if __name__ == '__main__':
device = 'cuda'
is_half=True
model_path='uvr5_weights/2_HP-UVR.pth'
pre_fun = _audio_pre_(model_path=model_path,device=device,is_half=True)
audio_path = 'audio.aac'
save_path = 'opt'
pre_fun._path_audio_(audio_path , save_path,save_path)
```