Giter Club home page Giter Club logo

audio-spleeter's Introduction

Audio Spleeter

A web interface built with laravel & VueJS interacting with Dezzer/Spleeter to split audio files into Vocals (singing voice) / accompaniment separation and some other options

screenshot

Prerequisites

Source Code

The files you need to check in order to have a better understanding of how the project works

- project path
	-- App
		-- Jobs
			-- AudioSplit.php
		-- Events
			-- AudioStatusUpdate.php
			-- AudioUploaded.php
		-- Http
			-- Controllers
				-- AudioController.php
		-- Scripts
			-- Distributor.php
			-- Splitter.php
			-- Merger.php
		-- Shell
			-- ShellOutput.php

Install & Run

it uses docker so it should be easy to have it running quickly

  • $ docker-compose build
  • $ docker-compose up

then in another terminl window

  • $ docker exec -it audio-spletter_app_1 composer install
  • $ cp .env.example .env and setup missing variables
  • $ docker exec -it audio-spletter_app_1 php artisan migrate
  • $ docker exec -it audio-spletter_app_1 npm install
  • $ docker exec -it audio-spletter_app_1 npm run dev to build VueJS
  • $ docker exec -it audio-spletter_app_1 php artisan artisan queue:work --timeout=600 --memory=500 to run workers

Bugs

if you have any issues with it feel free to open an issue or even a PR if you have a fix

Licenses

It's free so feel free to do whatever you want to do with it. also don't forget to check Dezzer/Spleeter's Licences

audio-spleeter's People

Contributors

ahmedash95 avatar dependabot[bot] 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

Watchers

 avatar  avatar  avatar  avatar

audio-spleeter's Issues

SQL connection refused during installation

Hi, thanks for adapting a web interface for spleeter, nice job!!

I keep running into the same issue when I try to run any PHP part of the install commands, starting with

docker exec -it web-spleeter_app_1 php artisan migrate

Error:

   Illuminate\Database\QueryException  : SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `users` limit 1)

  at /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:665
    661|         // If an exception occurs when attempting to run a query, we'll format the error
    662|         // message to include the bindings with SQL, which will make this exception a
    663|         // lot more helpful to the developer instead of just the database's errors.
    664|         catch (Exception $e) {
  > 665|             throw new QueryException(
    666|                 $query, $this->prepareBindings($bindings), $e
    667|             );
    668|         }
    669|

  Exception trace:

  1   Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(App\Providers\AppServiceProvider))
      [internal]:0

  2   PDOException::("SQLSTATE[HY000] [2002] Connection refused")
      /var/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70

  Please use the argument -v to see more details.

What have I missed?

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.