Skip to content

This is a music splitter ๐Ÿ› ๏ธ application that separates the vocals from any song uploaded to the API and returns the vocals audio file in a .wav format. . .

License

Notifications You must be signed in to change notification settings

pacehutt/Music-Remover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Music Remover ๐Ÿช„

This is a music splitter ๐Ÿ› ๏ธ application that separates the vocals from any song uploaded to the API and returns the vocals audio file in a .wav format. . .

Prerequisites ๐Ÿ“‹

Before running this application, you must have the following prerequisites ๐Ÿ“ installed:

  • Node.js v14 or above
  • ffmpeg
  • Python3 v3.8 or above
  • spleeter library (installed using pip)

Installing ffmpeg

Windows ๐ŸชŸ

  1. Download the latest version of ffmpeg for Windows from the official website: https://ffmpeg.org/download.html#build-windows
  2. Extract the downloaded zip file to a folder on your computer.
  3. Add the folder containing the ffmpeg executable to your system's PATH environment variable.

Linux ;)

  1. Open a terminal window.
  2. Run the following command to install ffmpeg: sudo apt-get install ffmpeg
  3. Once the installation is complete, you should be able to run ffmpeg from the terminal.
  4. Installing Spleeter Library
  5. Open a terminal window.
  6. Run the following command to install the spleeter library: pip install spleeter
  7. Once the installation is complete, you should be able to use the spleeter library in your Python applications. . .

Getting Started โœ…

To run this application, follow these steps: ๐Ÿฅ…

  1. Clone the repository: git clone https://github.com/<your_username>/music-remover.git
  2. Change directory into the project folder: cd music-remover
  3. Install the dependencies: npm install
  4. Start the server: node index.js
  5. Once the server is running, you can upload a song to the API at http://localhost:3000/api/upload and the server will return the vocals audio file in a .wav format.

After the response, the uploaded file and the generated vocals file will be automatically deleted from the server to save space.


How It Works ๐Ÿง 

This application uses the spleeter library to separate the vocals from the rest of the music. When a song is uploaded to the API, the application uses the spleeter library to split the song into its vocal and music components. The vocal component is then saved as a .wav file and returned as the response to the API request.


Troubleshooting ๐Ÿ”จ

If you encounter any issues running this application, please make sure that you have all of the prerequisites installed correctly. If you are still experiencing issues, please check the application logs for more information.


License

This application is licensed under the MIT License. See the LICENSE file for more information


Acknowledgements ๐Ÿ™

This application was built using the spleeter library, which was created by Deezer Research. I am grateful to the Deezer Research team for their work on this library.

About

This is a music splitter ๐Ÿ› ๏ธ application that separates the vocals from any song uploaded to the API and returns the vocals audio file in a .wav format. . .

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published