Extract vocals from any song

Have an urge to learn, or a calling to teach? Want to share some useful Youtube videos? Do it here!
Post Reply
User avatar
pongasoft
RE Developer
Posts: 478
Joined: 21 Apr 2016
Location: Las Vegas
Contact:

18 Oct 2020

Although it is not purely Reason oriented I wanted to share it here since it could be useful in many cases:

I wrote a small python script to make it easier to extract the vocals from any song using the Deezer open source spleeter docker image.



Tested on macOS with Docker (and python 3) installed.

Code: Select all

# Example:
# > cd /tmp
# extract_vocals.py '/Users/ypujante/Music/iTunes/iTunes Music/Music/Janet Jackson/Janet/08 This Time.m4a'
# Generates /tmp/08 This Time/vocals.wav and /tmp/08 This Time/accompaniment.wav
The first time you run the script it will download the image (which is about 1GB compressed as it contains the neural network training data). After the first time, it won't have to download it again.

It takes about 35 seconds (on my mid 2014 macbook laptop) to process one song which is really not bad.

This process is used live in VirtualDJ for example.

Yan

Heater
Posts: 894
Joined: 16 Jan 2015

18 Oct 2020

Interesting stuff. Thanks for posting.

User avatar
Boombastix
Competition Winner
Posts: 1929
Joined: 18 May 2018
Location: Bay Area, CA

18 Oct 2020

Thanks! For noobs, maybe we need:
Step by step to run on Windows?
10% off at Waves with link: https://www.waves.com/r/6gh2b0
Disclaimer - I get 10% as well.

madmacman
Posts: 788
Joined: 18 Jan 2015

19 Oct 2020

Thank you very much for this nice little playground! :)

I can confirm, it also runs out-of-the-box on Linux (Ubuntu 20.04).

However, the results seem to be highly depending on the mix quality of the original song.

1. A-Ha - Take on me: overall good quality, few artifacts and the Karaoke file is also quite clean. Not perfect, but usable.

2. A 15 year old Synthpop file from a Swedish band, self-produced and uploaded to a music sharing platform: no way! Vocals sound worse than a Bell Telephone from the 1880s. And the Karaoke file is plain garbage.

But it is fun to use!

User avatar
adfielding
Posts: 959
Joined: 19 May 2015
Contact:

19 Oct 2020

Boombastix wrote:
18 Oct 2020
Thanks! For noobs, maybe we need:
Step by step to run on Windows?
There's a pre-built version of SpleeterGUI available here that makes the process rather straight-forward.
https://makenweb.com/SpleeterGUI

stuk71
Posts: 127
Joined: 15 Apr 2020
Location: Scotland

19 Oct 2020

I’ve also used virtualDJ (free) to good effect. As the latest version has real-time track separation.

As madmacman said... the results very much depend on the original recording

User avatar
pongasoft
RE Developer
Posts: 478
Joined: 21 Apr 2016
Location: Las Vegas
Contact:

19 Oct 2020

stuk71 wrote:
19 Oct 2020
I’ve also used virtualDJ (free) to good effect. As the latest version has real-time track separation.

As madmacman said... the results very much depend on the original recording
VirtualDJ is using the same product under the cover as listed on the github page. So I assume the result should be identical.

User avatar
Creativemind
Posts: 4876
Joined: 17 Jan 2015
Location: Stoke-On-Trent, England, UK

19 Oct 2020

stuk71 wrote:
19 Oct 2020
I’ve also used virtualDJ (free) to good effect. As the latest version has real-time track separation.

As madmacman said... the results very much depend on the original recording
You can also extract vocals from any song using the recently released version of Izotope RX8:-

:reason:

Reason Studio's 11.3 / Cockos Reaper 6.82 / Cakewalk By Bandlab / Orion 8.6
http://soundcloud.com/creativemind75/iv ... soul-mix-3

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests