Giter Club home page Giter Club logo

spleeter-api's Introduction

spleeter-api drawing

Audio separation API using Spleeter (CPU or GPU) from Deezer Research.

Spleeter is A Fast And State-of-the Art Music Source Separation Tool With Pre-trained Models. Authors: Romain Hennequin, Anis Khlif, Felix Voituret and Manuel Moussallam

alt text

This tool allows to split the audio of a youtube video or any .mp3:

  • Enter a YouTube URL and get isolated mp3s for each part (i.e. Bass.mp3, Drums.mp3, Vocals.mp3, etc), or get an .mp4 with the original video plus the audio mix including the subtitles (if any), and more.
  • Upload your .mp3's and split

Install

Local installation on Windows

Install the dependencies and pre-requisites with PowerShell setup script: Setup.ps1

powershell "IEX(New-Object Net.WebClient).downloadString('https://raw.githubusercontent.com/thepirat000/spleeter-api/master/Setup.ps1')"

Tested on Azure VM of size "Standard D2 (2 vcpus, 7 GiB memory)"

UDP Logging port: 2223

spleeter-api's People

Contributors

thepirat000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

spleeter-api's Issues

What is 'include higher freqs'?

Hey! Thank you for the interface to the spleeter. Can you give me some info on the options? I don't know what is the default for the freqs - I've never used it in console version.

Spleeter-api on Windows Machine

Hi,

Thank you for the amazing project.

I'm using Standard D2 Azure VM, and I was not able to make the project run on localhost or public IP.

The installation was a success without errors or warning:

Screen-Shot

Then, I run this command inside "C:\git\spleeter-api\bin\Release\netcoreapp3.0\publish" :

dotnet C:\git\spleeter-api\bin\Release\netcoreapp3.0\publish\SpleeterAPI.dll --https_enabled false

The results seems working, but I'm not sure if it is the right command:

Screen-Shot

I tried opening http://localhost:5000 or https://localhost:5001, and nothing works.

What am I missing here, How can the project run locally?

Requests are not queued up

The requests are not processed in queue. If the program is processing a song when it receives a new request, the on-going process will be abandoned in favor to the new one. How do I get it to queue up requests and process them in the order they are received?

ERROR: Server responded with 0 code.

Hi. I tried this but with no luck. First I downloaded and tried it locally with no luck. Then I tried your online demo with no luck still.

Some files cannot be processed:
Server responded with 0 code.

Unable to split YouTube videos using 4-stems

As of 4 December 2019, 04:00:00 (UTC), attempts to split music through new YouTube links leads to the following error:

image

Split was attempted using 4-stem and 2-stem models; all output options (zip, mp3, mp4) were tested.

Notably, YouTube links used prior to the above date are able to output split files without issue, but this seems to be dependent on the stem chosen. e.g. If a file was previously split using 2-stem model, it cannot be split using 4-stem or 5-stem models.

Entire playlist Instead of individually download files

Great project. Thank you for putting this out together online.

It's only allowing me to download individual songs. However, can we download the entire playlist of YouTube? If not, I'd like to make a feature request.

This localhost page can’t be found

I installed the api locally on my window machine. When I started the application using command: dotnet C:\git\spleeter-api\bin\Release\netcoreapp3.0\publish\SpleeterAPI.dll --https_enabled false
it started correctly:
Spleeter started at 5/15/2020 10:06:23 AM. ENV: Production
Information: Now listening on: http://localhost:5000
Information: Now listening on: https://localhost:5001

However, when I go the the local host urls, I found this error message:
This localhost page can’t be foundNo webpage was found for the web address: https://localhost:5001/
HTTP ERROR 404
I am not sure how to use the api after it is installed locally. Any advice?

Adding the pitch and speed shifter

Hi, I came across your app and found it is a very interesting implementation of Spleeter! Since it is implemented on a windows VM, I thought it might be even more useful to add a pitch and speed shifter to change key and speed of the output. This can be done quite easily using the rubberband command-line utility (https://breakfastquay.com/rubberband/).
Keep up the good work!
Cheers,
DN

Spleeter GPU or CPU

Is there a method to determine/check which Spleeter processing is currently being using?

Can I use the repo to rip/extract audio from MP4 format video?

Hello:
I found the repo., it seems to be interesting. Now I have 2 questions about the repo.

  1. Can I use the repo to rip or extract audio from a MP4 format video. FFMPEG can do this. Let me know if the repo can do this or not.
  2. If I have one big audio (MP3 format) file, for example, if I extract the audio from one MP4 file (Like: C:\Videos\1.mp4), and save it as 1.mp3, let’s say this MP3 file has length of 10 minutes, can I split the MP3 file into many parts at exact time position, for example: from time 1 minute 10 seconds to 3 minute 1 second and from 7.5 minute to 9 minute.
    Let me know if the repo can do the above jobs.
    Thanks,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.