Separate vocals and background Music from an audio file using Python | Spleeter | extrovert.dev -->

Separate vocals and background Music from an audio file using Python | Spleeter

Separate vocals and background Music from an audio file using Python | Spleeter
Tuesday, November 12, 2019
Hello folks!  Music streaming apps come with an option that plays only the background of a music file. We can see this mainly in the Karaoke apps. Spleeter is a library developed by Deezer using Tensorflow, that can be used to separate background, vocal from a music file.


Seperate vocals and background Music from an audio file using Python | Spleeter


Let us install spleeter using pip.
pip install spleeter
Now its time to work with an audio file. For now, we will use sample music from the repo.
wget https://github.com/deezer/spleeter/raw/master/audio_example.mp3

Its time to split the audio file
spleeter separate -i audio_example.mp3 -o output/
Now navigate to the output folder
ls output/audio_example
we will have two output music files
Vocals.wav

accompaniment.wav

5 Responses to Separate vocals and background Music from an audio file using Python | Spleeter

  1. Great post. I don't know the tips to separate and convert vocals and background music before. There was a lot of trouble of him. From now , I will do easily converter (wav to mp3) and separate any Music. I hope everyone will benefit.

    ReplyDelete
  2. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. typebeats

    ReplyDelete
  3. Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.
    Music streaming

    ReplyDelete
  4. This is a brilliant blog! I'm very happy with the comments!.. Musica de fondo para videos

    ReplyDelete
  5. Removal of vocals is not 100%. Any improvments suggested?

    ReplyDelete