Ian's blog
Mar 8 2020

Isolating vocals from songs using Spleeter

Isolating vocals from a song in the past has had a high barrier to entry. It is now an easy thing to do . In this article, I will go over the various methods.

1. The browser method

This is done entirely online. Open a browser, go to a upload a song and get vocal and instrumental stems. This is a simple method which relies on third party websites to process the music.

Steps

The only requirement is a browser.

  1. Go to moises.ai
  2. Create an account
  3. Upload a song
  4. Wait for the isolation to be done
  5. Enjoy !!

Advantages

Disadvantages

You can use ezstems.com as an alternative for more upload options and it works in a simmilar way.

2. The App Method

This second method is simmilar to the first, but only uses the computer’s resources. Screenshot of image

Steps

This method only works on windows

  1. Download and install the latest version of Python
  2. During the installation make sure add to path checkbox is selected.
  3. Download SpleetGUI
  4. Extract the zip file
  5. Install SpleetGUI

*I have no idea if it is safe to use

3. Command line Method

This last is done entirely from the command line and is great for those familiar with the command line. For this method, you will require git and conda.

After they are both installed, type the following commands to install spleeter.

$ git clone https://github.com/Deezer/spleeter
$ conda install -c conda-forge spleeter

To run spleeter:

$ python3 -m spleeter -i your_song.mp3 -p spleeter:2stems -o output

How Does it Work?

xkcd comic

Machine learning is artificial intelligence that can automatically learn from past data. You give it enough data and it can literally learn like humans, through practice

For more detailed information, check out the spleeter documentation

Conclusion

This is a great tool that can be used to get clean vocals from almost any song. It also works well to de-noise a track.