/uvr

GUI for a Vocal Remover that uses Deep Neural Networks.

Primary LanguagePythonMIT LicenseMIT

Ultimate Vocal Remover GUI v5.6

Release Downloads

About

This application uses state-of-the-art source separation models to remove vocals from audio files. UVR's core developers trained all of the models provided in this package (except for the Demucs v3 and v4 4-stem models).

Installation

These bundles contain the UVR interface, Python, PyTorch, and other dependencies needed to run the application effectively. No prerequisites are required.

Windows Installation

  • Please Note:

    • This installer is intended for those running Windows 10 or higher.
    • Application functionality for systems running Windows 7 or lower is not guaranteed.
    • Application functionality for Intel Pentium & Celeron CPUs systems is not guaranteed.
    • You must install UVR to the main C:\ drive. Installing UVR to a secondary drive will cause instability.
  • Download the UVR installer for Windows via the link below:

  • If you use an AMD Radeon or Intel Arc graphics card, you can try the OpenCL version:

  • Update Package instructions for those who have UVR already installed:

    • If you already have UVR installed you can install this package over it or download it straight from the application or click here for the patch.
Windows Manual Installation

Manual Windows Installation

  • Download and extract the repository here
  • Download and install Python here
    • Make sure to check "Add python.exe to PATH" during the install
  • Run the following commands from the extracted repo directory:
python.exe -m pip install -r requirements.txt

If you have a compatible Nvidia GPU, run the following command:

python.exe -m pip install --upgrade torch --extra-index-url https://download.pytorch.org/whl/cu117

If you do not have FFmpeg or Rubber Band installed and want to avoid going through the process of installing them the long way, follow the instructions below.

FFmpeg Installation

  • Download the precompiled build here
  • From the archive, extract the following file to the UVR application directory:
    • ffmpeg-5.1.2-essentials_build/bin/ffmpeg.exe

Rubber Band Installation

In order to use the Time Stretch or Change Pitch tool, you'll need Rubber Band.

  • Download the precompiled build here
  • From the archive, extract the following files to the UVR application directory:
    • rubberband-3.1.2-gpl-executable-windows/rubberband.exe
    • rubberband-3.1.2-gpl-executable-windows/sndfile.dll

MacOS Installation

  • Please Note:

    • The MacOS Sonoma mouse clicking issue has been fixed.
    • MPS (GPU) acceleration for Mac M1 has been expanded to work with Demucs v4 and all MDX-Net models.
    • This bundle is intended for those running macOS Big Sur and above.
    • Application functionality for systems running macOS Catalina or lower is not guaranteed.
    • Application functionality for older or budget Mac systems is not guaranteed.
    • Once everything is installed, the application may take up to 5-10 minutes to start for the first time (depending on your Macbook).
  • Download the UVR dmg for MacOS via one of the links below:

MacOS Users: Having Trouble Opening UVR?

Due to Apples strict application security, you may need to follow these steps to open UVR.

First, run the following command via Terminal.app to allow applications to run from all sources (it's recommended that you re-enable this once UVR opens properly.)

sudo spctl --master-disable

Second, run the following command to bypass Notarization:

sudo xattr -rd com.apple.quarantine /Applications/Ultimate\ Vocal\ Remover.app
Manual MacOS Installation

Manual MacOS Installation

  • Download and save this repository here
  • Download and install Python 3.10 here
  • From the saved directory run the following -
pip3 install -r requirements.txt
  • If your Mac is running with an M1, please run the following command next. If not, skip this step. -
cp /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/_soundfile_data/libsndfile_arm64.dylib /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/_soundfile_data/libsndfile.dylib

FFmpeg Installation

  • Once everything is done installing, download the correct FFmpeg binary for your system here and place it into the main application directory.

Rubber Band Installation

In order to use the Time Stretch or Change Pitch tool, you'll need Rubber Band.

  • Download the precompiled build here
  • From the archive, extract the following files to the UVR/lib_v5 application directory:
    • rubberband-3.1.2-gpl-executable-macos/rubberband

This process has been tested on a MacBook Pro 2021 (using M1) and a MacBook Air 2017 and is confirmed to be working on both.

Linux Installation

See Linux Installation Instructions

These install instructions are for Debian & Arch based Linux systems.

  • Download and save this repository here
  • From the saved directory run the following commands in this order-

For Debian Based (Ubuntu, Mint, etc.):

sudo apt update && sudo apt upgrade
sudo apt-get update
sudo apt install ffmpeg
sudo apt install python3-pip
sudo apt-get -y install python3-tk
pip3 install -r requirements.txt
python3 UVR.py

For Arch Based (EndeavourOS):

sudo pacman -Syu
sudo pacman -Sy
sudo pacman -S python-pip
sudo pacman -S --noconfirm tk
sudo pacman -S ffmpeg

To bypass environment setup and proceed with the installation, use:

  • Take caution; this modifies system files.
sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED

Then proceed with the following in order:

chmod +x install_packages.sh
./install_packages.sh
python UVR.py

Other Application Notes

  • Nvidia RTX 1060 6GB is the minimum requirement for GPU conversions.
  • Nvidia GPUs with at least 8GBs of V-RAM are recommended.
  • AMD Radeon GPU supported is limited at this time.
    • There is currently a working branch for AMD GPU users here
  • This application is only compatible with 64-bit platforms.
  • This application relies on the Rubber Band library for the Time-Stretch and Pitch-Shift options.
  • This application relies on FFmpeg to process non-wav audio files.
  • The application will automatically remember your settings when closed.
  • Conversion times will significantly depend on your hardware.
  • These models are computationally intensive.

Performance:

  • Model load times are faster.
  • Importing/exporting audio files is faster.

Troubleshooting

Common Issues

  • If FFmpeg is not installed, the application will throw an error if the user attempts to convert a non-WAV file.
  • Memory allocation errors can usually be resolved by lowering the "Segment" or "Window" sizes.

MacOS Sonoma Left-click Bug

There's a known issue on MacOS Sonoma where left-clicks aren't registering correctly within the app. This was impacting all applications built with Tkinter on Sonoma and has since been resolved. Please download the latest version via the following link if you are still experiencing issues - link

This issue was being tracked here.

Issue Reporting

Please be as detailed as possible when posting a new issue.

If possible, click the "Settings Button" to the left of the "Start Processing" button and click the "Error Log" button for detailed error information that can be provided to us.

License

The Ultimate Vocal Remover GUI code is MIT-licensed.

  • Please Note: For all third-party application developers who wish to use our models, please honor the MIT license by providing credit to UVR and its developers.

Credits

  • ZFTurbo - Created & trained the weights for the new MDX23C models.
  • DilanBoskan - Your contributions at the start of this project were essential to the success of UVR. Thank you!
  • Bas Curtiz - Designed the official UVR logo, icon, banner, and splash screen.
  • tsurumeso - Developed the original VR Architecture code.
  • Kuielab & Woosung Choi - Developed the original MDX-Net AI code.
  • Adefossez & Demucs - Developed the original Demucs AI code.
  • KimberleyJSN - Advised and aided the implementation of the training scripts for MDX-Net and Demucs. Thank you!
  • Hv - Helped implement chunks into the MDX-Net AI code. Thank you!

Contributing

  • For anyone interested in the ongoing development of Ultimate Vocal Remover GUI, please send us a pull request, and we will review it.
  • This project is 100% open-source and free for anyone to use and modify as they wish.
  • We only maintain the development and support for the Ultimate Vocal Remover GUI and the models provided.

References